ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: mcscooter on July 05, 2009, 12:29:40 PM
-
Not sure if this should be in Scripting Debug or in this forum, so apologies if this is in the wrong place.
I'm trying to use EUO to name a rune. Right now I have:
set #lObjectID %blankrune
event macro 17
%blankrune is the objectID of the rune I want to rename (properly set elsewhere). This essentially double clicks on that rune, bringing up the prompt to give the rune a name. Can anyone give me some guidance on how to set the name from this point? Or if there's an alternative way to rename the rune?
Thanks!
-
It's just like typing after that so just do:
set #lObjectID %blankrune
event macro 17
msg name goes here$
-
TM: Perfect. I couldn't find any documentation or examples of how to just type something and hit enter. I appreciate the help.
Using your excellent runebook subs, I now have a hard-coded runebook copying script working. The next step is to get it working dynamically and release a public version. Thanks for the help here and the awesome subs.
-
Just rember when scripting you are just emulating what you do in game, that makes it easier to think about and find the correct command