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?
Gag the skill 'SCAN' output
Re: Gag the skill 'SCAN' output
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)
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)