on *:TEXT:!dm:#b: {
if (%dmon == true) { notice $nick 2[DM2] There's already a DM running, please wait. | halt }
if (%dmask != true) { .timerunset1 1 30 unset %dmask | .timerunset2 1 30 unset %play1 | .timermsg 1 30 msg # [DM] Dm etc. etc. }
if ($nick == %play1) { notice $nick 2[DM2] You wanted to DM with yourself, $nick $+ ? | halt }
if (%dmask == true) {
set %dmturn %play1
set %play2 $nick
set %specs1 100
set %specs2 100
set %dmon true
set %barrage1 5
set %barrage2 5
set %hp1 99
set %hp2 99
set %sharks1 10
set %sharks2 10
.timerunset1 stop
.timerunset2 stop
.timermsg stop
msg # 2[DM2] Dm is starting!2 %play1 Vs2 %play2 $+ !2 %dmturn Starts. Both start with3 99 Hp and3 10 Sharks.
}
elseif (%dmask != true) {
set %dmask true
set %play1 $nick
msg # 2[DM2]2 $nick initiates a DM, type 3!Dm to challenge him!
}
}