A follow-up to my first DeathNote script. Similar to it, it is a randomized game.
Syntax: `rdeath
It randomly kicks a person from the channel with the optional death scenario, otherwise it just says 'You have suffered and died from a Heart Attack.'
Known Problems:
```mirc on *:text:`rdeath*:#: { var %death $2- var %kira $nick var %HA You have suffered and died from a Heart Attack. var %nick = $nick(#,$r(1,$nick(#,0))) { if (!$2) { .timer 1 3 describe $chan hunches over the Death Note and scribbles a random name and death situation down... .timer 1 6 describe $chan slowly turns the Death Note around and shows the channel... .timer 1 9 msg $chan %nick was chosen! %HA $+ ! .timer 1 12 kick $chan %nick %HA $+ ! ( $+ %kira } else { .timer 1 3 describe $chan hunches over the Death Note and scribbles a random name and death situation down... .timer 1 6 describe $chan slowly turns the Death Note around and shows the channel... .timer 1 9 msg $chan %nick was chosen! S/He died by %death $+ ! .timer 1 12 kick $chan %nick You died by %death $+ ! ( $+ %kira } } } ```I\'m planning to use this in my chan and there\'s a few things you should consider on.
1)Put a timer on it so the same person can only do one \'rdeath at a time since they can actually carry on requesting and making you flood the chan.
2)Make it null if it\'s your nick since the script kicks yourself out and when it does, you can\'t auto-join back in the chan even though you have auto-join turned on.
That would be great if you can implement those into the script and great work.
.timer 1 12 kick $chan %nick You died by %death $+ ! ( $+ %kira
1) it should be ( $+ %kira $+ )
2) you should either make it $$2- at the top or make it
.timer 1 12 kick $chan %nick You died by $iif(%death,$v1,$gettok(SOME|RANDOM|DEATH REASONS|GO|HERE,$r(1,NUMBER OF REASONS),124) $+ ! ( $+ %kira $+ )