Trap Disarming

Scripts and support for your favorite MUD client.
Gormal
Sojourner
Posts: 3917
Joined: Tue Feb 13, 2001 6:01 am
Location: A Whale's Vagina
Contact:

Trap Disarming

Postby Gormal » Mon Nov 01, 2010 5:02 pm

Will cycle through detect/disarm until you either disarm the trap or tell it to stop.

tdisarm <trapname>
disarmstop

Code: Select all

#ALIAS {tdisarm} {#var disarm %1;detecttrap @disarm;#T+ disarm}
#ALIAS {disarmstop} {#T- disarm;#echo Disarming Aborted!}
#CLASS {disarm} {disable}
#TRIGGER {You don't detect anything strange} {#alarm "dontdetect" +14 {detecttrap @disarm}}
#TRIGGER {You detect a trap} {disarmtrap @disarm}
#TRIGGER {You are too weary to concentrate right now...rest a bit.} {#alarm "wearydetect" +15 {detecttrap @disarm}}
#TRIGGER {You cannot concentrate enough at the moment...rest a bit.} {#alarm "wearydisarm" +5 {disarmtrap @disarm}}
#TRIGGER {Nothing seems to happen..} {detecttrap @disarm}
#TRIGGER {You trigger a trap} {detecttrap @disarm}
#TRIGGER {You disarm a trap} {#T- disarm}
#CLASS 0

Return to “MUD Client Help”

Who is online

Users browsing this forum: No registered users and 7 guests