Gagging

Post Reply
Zenock
Posts: 10
Joined: Thu Feb 03, 2011 11:00 pm

Gagging

Post by Zenock »

Ok I have a question...

From the Mud I get 4 lines...

Line1
Line2
Line3
Line4

Line1 can appear indepedently of the other 3 lines. When it does I want it to be shown. However when it appears with the other 3 lines, I want all 4 lines to be gagged. I have tried many different methods to do this but none of them seem to work quite right. This has to be something other people have run into so I would appreciate ideas on how to make this happen.

Also is there a way to open a profile to work on scripting etc without actually connecting to the mud?

Thanks,
Z

User avatar
Heiko
Site Admin
Posts: 1548
Joined: Wed Mar 11, 2009 6:26 pm

Re: Gagging

Post by Heiko »

This can easily be done with a single multi state trigger. Make a multiline AND trigger, set the line delta appropriately and then put those 4 lines as 4 seperate patterns in the correct order. The trigger will fire and run the script when all 4 conditions are true. Then you simply gag the 4 lines (-> moveCursor() and deleteLine())

User avatar
Omni
Posts: 131
Joined: Fri Feb 12, 2010 10:26 am

Re: Gagging

Post by Omni »

Zenock wrote:Ok I have a question...
Also is there a way to open a profile to work on scripting etc without actually connecting to the mud?

Thanks,
Z
Simply leave the connection info empty for the profile.

Zenock
Posts: 10
Joined: Thu Feb 03, 2011 11:00 pm

Re: Gagging

Post by Zenock »

Thank you Omni

Z.

Zenock
Posts: 10
Joined: Thu Feb 03, 2011 11:00 pm

Re: Gagging

Post by Zenock »

Just notice I forgot to say thank you to Heiko. Thanks!!

Post Reply