Gag the skill 'SCAN' output

Post Reply
timoomit
Posts: 4
Joined: Tue Jun 15, 2010 8:53 pm

Gag the skill 'SCAN' output

Post 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?

User avatar
Vadi
Posts: 5042
Joined: Sat Mar 14, 2009 3:13 pm

Re: Gag the skill 'SCAN' output

Post 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)

Post Reply