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 » Tue Sep 07, 2010 6:58 pm

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: 4720
Joined: Sat Mar 14, 2009 3:13 pm

Re: Gag the skill 'SCAN' output

Post by Vadi » Tue Sep 07, 2010 7:48 pm

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

Who is online

Users browsing this forum: No registered users and 2 guests