Inspired by V-Man's [bind MOUSE1 say "YAIYAIYAI"], I have created a working "suicide yell" script. It lets you say something just before you die, when holding down a grenade. Just put this in your autoexec and hold down a nade until you suicide :)
Change "BOOOOOM!" to whatever you want.
Many thanks to Bukz and GeneralDisarray for debug. Of course it's still buggy and says it when you don't want it to sometimes.
Edit: There's also a version where you need to press a key to "arm the bomb" but I always forgot to press it so I made this.
[SELECT ALL] Code:
bind MOUSE2 [ if $editing [ showmenu editing ] [boomable = 1]; altaction; (sleep 2100 [if (= (boomable) 1) [if (= (curweapon) 6) [say "BOOOOOM!"; boomable = 2]]]); onrelease [boomable = 2]]
Many thanks to Bukz and GeneralDisarray for debug. Of course it's still buggy and says it when you don't want it to sometimes.
Edit: There's also a version where you need to press a key to "arm the bomb" but I always forgot to press it so I made this.