ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: valad22 on August 24, 2009, 05:52:54 PM

Title: someone can help me??
Post 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?
Title: Re: someone can help me??
Post by: manwinc on August 24, 2009, 07:34:55 PM
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.
Title: Re: someone can help me??
Post by: rana70 on August 24, 2009, 08:03:32 PM
Code: [Select]
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:

Code: [Select]
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
Title: Re: someone can help me??
Post by: valad22 on August 25, 2009, 06:42:21 PM
Title: Re: someone can help me??
Post by: Kashla on September 18, 2009, 08:18:37 AM
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
Title: Re: someone can help me??
Post by: rana70 on September 18, 2009, 10:54:31 AM
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
 

Title: Re: someone can help me??
Post by: Kashla on September 18, 2009, 11:23:04 AM
Oh my! I must be blind  :)
I'll try it right away, thank you!