ScriptUO
Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: valad22 on August 24, 2009, 05:52:54 PM
-
Plz, im new in easyuo scripting...
i want to do a simple script, where all it have to do
is open the Quest Log (the button in papperdoll), when some deffined msg appear in journal...
some one can help me?
-
I can help you once I get home. Already have a sub for it. Just can't remember all the details. At a friends house right now.
-
Hi,
basicly you can open the Questlog by using an Event Macro eg
[code]
SUB OpenQuestlog
Event Macro 8 19
Wait 20
Return
2nd thing you have to do is scanning your Journal in an endless loop
you can use an existing SUB from TM to do this for you:
Repeat
{
GoSUB TM_AdvJournalScan SPEECH NONE open_your_questlog
if #Result = #TRUE
{
GoSUB OpenQuestlog
GoSUB TM_AdvJournalSync SPEECH
}
}
Until #CHARGHOST = YES
[/code]
so all together would look like the attached script.
I added a few comments so, if you have a question jut let us know.
When someone or you will say "Open your Questlog"
the script should kick in and open it up.
cu
-
-
Hi everyone,
I'm trying the same thing but it's not working for me. I'm really new at scripting so probably i'm doing something wrong. :P
I just copyed the codes into easyuo and hit play but when I say "open your questlog" nothing happens. Do I have to put the 2 codes in diferent places?
Any help?
Thank you in advance
-
Hi everyone,
I'm trying the same thing but it's not working for me. I'm really new at scripting so probably i'm doing something wrong. :P
I just copyed the codes into easyuo and hit play but when I say "open your questlog" nothing happens. Do I have to put the 2 codes in diferent places?
Any help?
Thank you in advance
Hi,
you are talking about the two code boxed below in my post ?
That isn't the full code ....
you have to download the example file below the lower codebox
to have the full script !
cu
-
Oh my! I must be blind :)
I'll try it right away, thank you!