omit from output

Posted by Zendu on Tue 11 May 2004 10:30 PM — 4 posts, 21,483 views.

#0
I have a trigger based on "you have slain a young rat"
SetVariable "ratcount", CInt (GetVariable ("ratcount")) + 1
SetVariable "ratcash", CInt (GetVariable ("ratcash")) + 20
world.Note "You have now slain " & GetVariable ("ratcount") & " rats, worth " & GetVariable ("ratcash")

basically its to let me know how much cash ive made so far. However, if i make a trigger with a higher sequence to omit the "you have slain a young rat" it also omits my world.note. I cant figure out how to make it work.
Russia #1
Make 2 triggers for the same line, have trigger with a higher sequence (99) send those commands directly to scripting and set it to keep evaluating, the second trigger with a lower sequence (100) should omit from output.
#2
i had one (110) it also omited my world.sendnote
Australia Forum Administrator #3
Read this post:


http://www.gammon.com.au/forum/?bbsubject_id=4161


It describes how if you omit from output in a trigger it also omits world.notes.

The solution is to call a script in a script file, not "send to script" - then it won't be omitted.