Voiced Death Note

By Viper01 on Apr 28, 2008

This is the alternative to my other Death note, The Op Version. Pretty much the same thing, except this time I've experimented a bit with INI files in an effort to clean up the coding. I think it's worked out pretty well.

Syntax: `vdn

The default death is a heart attack, but this version doesn't kick, it devoices as the death. I was receiving complaints about the Op Version about how everyone could use it, so I did a little re-scripting and came up with this.

Notes: Timing might be a bit off, havent really messed around with that alot besides getting it to work.

on $*:Text:/^[`!](vdn)/Si:#: {
  if ($2 isop $chan) || ($2 ishop $chan) {
    .msg $chan The target is an untargetable person. | halt
  }
  if ($readini(VDN.ini,$chan,Status) = Full) {
    .msg $chan A Death is happening currently, please wait.
  }
  if ($2 !ison $chan) {
    .msg $chan Untargetable. Please select a new target. | halt
  }
  if (!$3) {
    writeini VDN.ini $chan Status Full
    .describe $chan writes $2 in the Death Note.
    .timer 1 3 msg $chan You have suffered and died from a Heart Attack, $2 $+ .
    .timer 1 5 mode $chan -v $2
    .timer 1 6 msg $chan 20 seconds until you live again, $2 $+ .
    .timer 1 20 mode $chan +v $2
    .timer 1 21 writeini VDN.ini $chan Status Clear
  }
  else {
    writeini VDN.ini $chan Status Full
    .describe $chan writes $2 in the Death Note.
    .timer 1 3 msg $chan $2 was $3- $+ !
    .timer 1 5 mode $chan -v $2
    .timer 1 6 msg $chan 20 seconds until you live again, $2 $+ .
    .timer 1 20 mode $chan +v $2
    .timer 1 21 writeini VDN.ini $chan Status Clear
  }
}

Comments

Sign in to comment.
napa182   -  May 06, 2008

instead of useing

if ($2 isop $chan) || ($2 ishop $chan) {

you can also use

if ($nick(#,$2,oh)) {

it should do the same thing

 Respond  
Viper01   -  May 06, 2008

Bump & Update

Currently working on a Dialog for all 3 sets of these I\'ve posted. Once it\'s done, i\'ll post it. idk how long itll take though since i suck at dialogs :p

 Respond  
Viper01   -  Apr 28, 2008

I know having the ($2 !ison $chan) line seperate is a bit redundant, but if i included it on the isop/ishop line, it would\'ve read it as untargetable, even if the target was on the channel. Anyways, feedback and suggestions appreciated ^-^

 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.