ScriptUO

Official ScriptUO EasyUO Scripts => Scripting Chat => Topic started by: Coragin on June 05, 2009, 11:31:00 AM

Title: Check journal sub, example sub.
Post by: Coragin on June 05, 2009, 11:31:00 AM
I am putting the moonglow on hold for a bit, right now Im working on something and Im stuck.  I need to have a sub that checks the journal for a specific phrase. Can anyone help me with an example?

Code: [Select]
sub JournalCheck
  ;check for phrase in journal
  ;if found ignore this target
  ;if not return

This is to check if discord was successful or not, if it was, ignore current target, if not, return.
Title: Re: Check journal sub, example sub.
Post by: TrailMyx on June 05, 2009, 11:37:39 AM
Check out my journal handling subs:

http://www.scriptuo.com/index.php?topic=33.0

I use these in just about every script I write.  :)
Title: Re: Check journal sub, example sub.
Post by: Coragin on June 05, 2009, 11:41:34 AM
PERFECT!

Is there any sub you dont have written?  lol

TYVM
Title: Re: Check journal sub, example sub.
Post by: TrailMyx on June 05, 2009, 11:42:53 AM
ROFL!  Well, I think it's easier to ask how many I haven't written vs. how many I have.  ehhe
Title: Re: Check journal sub, example sub.
Post by: TrailMyx on June 05, 2009, 11:44:02 AM
You'll notice that you can monitor multiple conversations with this handler.  It's pretty powerful once you understand how it works.