Official ScriptUO EasyUO Scripts > Scripting Chat

Journal Scanner

(1/2) > >>

Tholomew:
Hey Trail

Im using your Journal scanner, I am wondering if its possible to ignore things in journal. I will paste basically what im doing, its probably basic i know, but gets job done.

--- Code: ---gosub TM_AdvJournalSync container 100

mainloop:
gosub scan
goto mainloop


sub scan
gosub TM_AdvJournalScan container none tosh toshiyuki you_there you_are_invited powerscrolls power scrolls
IF #RESULT = #TRUE
 {
  sound ringtone.wav
 }
 gosub TM_AdvJournalSync container
 return
--- End code ---

What Im wanting to do, because I want to have a msg saying something every 10minutes, I dont want the alarm to go off when I say something can I somehow ignore "Toshiyuki:"

Thanks for any input!

TrailMyx:
Well the safeguard "VALID" is meant to filter out what other people might say, but there's not a way to kinda reverse that.  You're lookin at a major re-write to do something like that.  You might try and re-think what you are trying to do.  Do you actually have to say those things, or can you say something else in response?

Tholomew:
Hehe, the thing is my name is "Toshiyoki in game, thats the problem I face :P

Tholomew:
Another thing I have noticed with the script, It misses a lot of the time, when it should be hitting the alert, it must not be reading journal precisely every time. I have version 1.0

Cheers

TrailMyx:
Well, you do need to change the "none" to "advance".  It's not really missing, but you are not clearing out the queue, so it just takes longer and longer to process.  "advance" will keep the pointer up to date.

If you use these right, it'll never miss.  However, there's still times when you are clearing the queue and you get a message at the totally wrong time, you might miss that.  Luck I guess.

Navigation

[0] Message Index

[#] Next page

Go to full version