Random Death Note

By Viper01 on Feb 17, 2008

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 } } } ```

Comments

Sign in to comment.
Viper01   -  Mar 17, 2009

1) it should be ( $+ %kira $+ )

Not really, because it's setup to look like this when it kicks:

You were kicked from #Testchan
You have suffered and died from a Heart Attack.(Kicker) instead of (Kicker)), see? ;)

 Respond  
Pimpomatic   -  Feb 20, 2008

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.

 Respond  
Viper01   -  Feb 20, 2008

any other tips to make it better i\'ll gladly edit in. for both this script and my original death note script :)

 Respond  
guest598594   -  Feb 19, 2008
      .timer 1 12 kick $chan %nick You died by %death $+ ! ( $+ %kira

1) it should be ( $+ %kira $+ ) Image
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 $+ )
 Respond  
bourneident   -  Feb 18, 2008

very nice but you might want to add exempts for ops

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.