Self destruct bind

Revision as of 20:53, 26 June 2005 by Roguelazer (talk | contribs)

The Self Destruct bind enhances the built-in /explode command by giving it a 5 second delay and arming/disarming functionality.

Code

alias kamikaze "kamikaze_arm"
alias kamikaze_arm "echo 'Self destruct armed!'; alias kamikaze kamikaze_exec"
alias kamikaze_disarm "echo 'Self destruct disarmed.'; alias kamikaze kamikaze_arm"
alias kamikaze_exec "echo 'Self destructing in 5 seconds... Goodbye.'; wait 5 explode; alias kamikaze kamikaze_arm"

Aliases

Bind the following commands to the key of your choice:

Command Description
kamikaze Arm self-destruct sequence.
kamikaze_disarm Disarm self-destruct sequence.

Credit

Created by Soltis.