View Single Post
10-15-10, 02:49 PM   #1
jlrm365
A Flamescale Wyrmkin
AddOn Author - Click to view addons
Join Date: Oct 2007
Posts: 113
Question scripts into addon - HOW?

Hello.

I've got four script lines in a macro (they move a couple of elements on the screen).

Essentially, it's just:

/script [text here]
/script [text here]
/script [text here]
/script [text here]

Being able to move the items as it does - rather than manually doing so each time - is very useful, but I'd rather not have to click the button each time I login, reload or the addons otherwise reset themselves.

Typing /console in a macro can be translated to /CVar in an addon.

Can the word "script" be translated - in the same sort of way - into something that would work in a simple addon?

If possible, could you give an example of how a line would look in script and then "translated"?

Thanks very much!

  Reply With Quote