ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: mcscooter on July 05, 2009, 12:29:40 PM

Title: How to name a rune?
Post 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:

Code: [Select]
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!

Title: Re: How to name a rune?
Post by: TrailMyx on July 05, 2009, 12:37:19 PM
It's just like typing after that so just do:

Code: [Select]
set #lObjectID %blankrune
event macro 17
msg name goes here$
Title: Re: How to name a rune?
Post by: mcscooter on July 05, 2009, 02:58:37 PM
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.
Title: Re: How to name a rune?
Post by: Endless Night on July 13, 2009, 06:50:19 AM
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