Need help in how to write this simple script to lua
Hello.
So basically I have this script in a macro that I have to click everytime I logon. I just want help writing it in an .lua file so it automatically activates on logon. I have tried reading a few guides but could not get it to work. The script is
I have made an addon with a .toc and everything but I'm not sure what to write exactly in the .lua file for the code to work properly. I have tried
But none of them seemed to work for me. I have absolutely zero knowledge in coding and I've tried reading a few guides but with no success. If anyone can help I'd be thankful. Cheers |
In your addon file, you would need to create a function that has that script inside of it, and then trigger than function to run on player login.
Something similar to this should work Lua Code:
I have not tested this code and can not guarantee that it works. |
Quote:
|
All times are GMT -6. The time now is 12:20 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI