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