Self Destruct

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"

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.