Page 1 of 1

Gag the skill 'SCAN' output

Posted: Tue Sep 07, 2010 6:58 pm
by timoomit
In IRE mud SCAN command (displaying rooms around the person). I would like to write something that would hide the whole output of the command. So everything from
You carefully observe the exits around you.
until next prompt I believe.

Anyone know a solution a quick solution to this?

Re: Gag the skill 'SCAN' output

Posted: Tue Sep 07, 2010 7:48 pm
by Vadi
Yes. Make trigger 1 with a name of "SCAN output" with the exact match pattern of:

You carefully observe the exits around you.

And change the fire length from 0 to 100. Then make 2 new triggers, and drag them inside the one you just made. The first triggers pattern type should be lua function, pattern should be:

return true

Script should be:
deleteLine()

The second trigger should have a lua function pattern as well, and it should be:

return isPrompt()

Script should be:
setTriggerStayOpen("SCAN output", 0)