Hi guys, got a quick question on journal scanning. Basically I am writing a GM/speech detection sub for use in my script, currently flagged is
if :_bob in #journal
flag
if *_bob in #journal
flag
HOWEVER, I do not want the word "bob" by itself flagged. The reason for this is it comes up whenever the character banks or speaks in the journal, in the format of "Bob: Says this", so that's out.
The scanning (seems) to work ok, and picks up things like "hey bob" and "GM PITA: Bob!!", however... at the VERY beginning of the journal when the character first logs in is the text "Welcome, Bob, to the server! Blah blah yadda yadda!"
I've tried using "deleteJournal" at the beginning of my script and starting/loading the script several seconds after the char is logged in, but it still for some reason picks up this flag.
I'm not sure how to exclude this snippet of text from stopping my script, if anyone might know the proper way to handle this it'd be awesome! Thanks again all.