Self destruct bind: Difference between revisions

From Vendetta Online Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 1: Line 1:
The '''Self Destruct''' bind enhances the built-in /explode command by giving it a 5 second delay and arming/disarming functionality.
==Code==
==Code==
  alias kamikaze "kamikaze_arm"
  alias kamikaze "kamikaze_arm"

Revision as of 20:53, 26 June 2005

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.