ON *:TEXT:!DM:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2) {
notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Sorry there is already a game for 4 $chan 0,1 please wait for it to finish or expire.
halt
}
if ($readini(dm.ini,$chan,Status) == ON && $nick == $readini(dm.ini,$chan,Player1)) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You cant fight yourself.
halt
}
if ($readini(dm.ini,$chan,Status) == ON) {
writeini dm.ini $chan HP2 99
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan Player2 $nick
writeini dm.ini $chan Shark2 10
writeini dm.ini $chan Status ON2
writeini dm.ini $chan Spec2 100
writeini dm.ini $chan b2 5
writeini dm.ini $chan a2 1
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 The battle -4,1 $readini(dm.ini,$chan,Player1) 0,1 Vs. 4,1 $readini(dm.ini,$chan,Player2)
.notice $nick 0,1You have4,1 10 0,1 shark. Use 4,1!Eat0,1 to eat the sharks. Your hitpoint level will be noticed to you momentarily.
.notice $readini(dm.ini,$chan,Player1) 0,1You have4,1 10 0,1 shark. Use 4,1!Eat0,1 to eat the sharks. Your hitpoint level will be noticed to you momentarily.
set %dm.turn. $+ $chan $rand(1,2)
if (%dm.turn. [ $+ [ $chan ] ] == 2) {
writeini dm.ini $chan Turn P2
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick it is your turn to go. Use 4 !DmCommands0 to see all the weapons you can use.
halt
}
if (%dm.turn. [ $+ [ $chan ] ] == 1) {
writeini dm.ini $chan Turn P1
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) it is your turn to go. Use4 !DmCommands0 to see all the weapons you can use.
halt
}
}
if ($readini(dm.ini,$chan,Status) == $null) {
writeini dm.ini $chan HP1 99
writeini dm.ini $chan Status ON
writeini dm.ini $chan Player1 $nick
writeini dm.ini $chan Shark1 10
writeini dm.ini $chan Spec1 100
writeini dm.ini $chan b1 5
writeini dm.ini $chan a1 1
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have04 600 seconds to death match $nick $+ . Type04 !DM 0,1if you have the balls!
.timer $+ $chan $+ 1 1 60 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 The time for this4 DM0has been halted.
.timer $+ $chan $+ 2 1 60 remini dm.ini $chan
halt
}
}
ON *:TEXT:!Whip:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,26)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,26)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!Dscimmy:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,22)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,22)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!dds:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,25)
writeini dm.ini $chan Hit2 $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,25)
writeini dm.ini $chan Hit2 $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!Dbow:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,45)
writeini dm.ini $chan Hit2 $rand(0,45)
if ($calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 75)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,45)
writeini dm.ini $chan Hit2 $rand(0,45)
if ($calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 75)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!GMaul:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,10)
writeini dm.ini $chan Hit2 $rand(0,36)
writeini dm.ini $chan Hit3 $rand(0,20)
if ($calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2) + $readini(dm.ini,$chan,Hit3))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) & 0 & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2) + $readini(dm.ini,$chan,Hit3)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) & $readini(dm.ini,$chan,Hit3) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 50)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,30)
writeini dm.ini $chan Hit2 $rand(0,20)
writeini dm.ini $chan Hit3 $rand(0,15)
if ($calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) & 0 & 0 $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit2)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) & $readini(dm.ini,$chan,Hit2) & $readini(dm.ini,$chan,Hit3) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 50)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!DScimmySpec:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,30)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick slashes at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick slashes at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,30)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick slashes at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick slashes at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!DLong:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,27)
if ($calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + 0 )) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,27)
if ($calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + 0 )) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!DMace:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!. You cant Special!
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!. You cant Special!
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,30)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,30)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!DBAxe:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Spec2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Spec1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have 4,100,1% special left!.
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,37)
if ($calc($readini(dm.ini,$chan,HP2) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
writeini dm.ini $chan Spec1 $calc($readini(dm.ini,$chan,Spec1) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec1) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,37)
if ($calc($readini(dm.ini,$chan,HP1) - $calc($readini(dm.ini,$chan,Hit) + $readini(dm.ini,$chan,Hit))) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick specials at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
writeini dm.ini $chan Spec2 $calc($readini(dm.ini,$chan,Spec2) - 25)
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You now have4,1 $readini(dm.ini,$chan,Spec2) $+ % 0,1of special left.
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!Anchor:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
writeini dm.ini $chan Hit $rand(0,42)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
writeini dm.ini $chan Hit $rand(0,42)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
ON *:TEXT:!Eat:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Shark1) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have no shark left!
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Shark2) <= 0) {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 You have no shark left!
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick && $readini(dm.ini,$chan,Shark1) >= 0) {
writeini dm.ini $chan Shark1 $calc($readini(dm.ini,$chan,Shark1) - 1 )
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) + 18)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick eats a shark $HPLevel($readini(dm.ini,$chan,HP1))
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Shark1) shark left.
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick && $readini(dm.ini,$chan,Shark2) >= 0) {
writeini dm.ini $chan Shark2 $calc($readini(dm.ini,$chan,Shark2) - 1 )
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) + 18)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick eats a shark $HPLevel($readini(dm.ini,$chan,HP2))
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Shark2) shark left.
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
else {
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Its not your turn 4,1or0,1 your not in this game.
}
}
on *:TEXT:!admin:#: { if ($address($nick,2) == $address($me,2)) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
remini dm.ini $chan
.msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 As You Wish sir ([S]wodBot DM shutdown)
}
}
ON *:TEXT:!GreatAxe:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P1 && $readini(dm.ini,$chan,Player1) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP2 $readini(dm.ini,$chan,HP2)
if ($readini(dm.ini,$chan,HP1) <= 10) {
writeini dm.ini $chan Hit $rand(0,100)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,HP1) <= 20) {
writeini dm.ini $chan Hit $rand(0,60)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,HP1) <= 50) {
writeini dm.ini $chan Hit $rand(0,45)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,HP1) <= 70) {
writeini dm.ini $chan Hit $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,HP1) <= 70) {
writeini dm.ini $chan Hit $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
if ($readini(dm.ini,$chan,HP1) <= 99) {
writeini dm.ini $chan Hit $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP2) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player2) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP2))
var %HP2 = $readini(dm.ini, $chan, HP2 ) {
if ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP2 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP2 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP2 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP2 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP2 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP2 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP2 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP2 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP2 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP2 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP2 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP2 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP2 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP2 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP2 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP2 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP2 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP2 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP2 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP2 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP2 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP2 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP2 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP2 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP2 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP2 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP2 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP2 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP2 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP2 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP2 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP2 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP2 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP2 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP2 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP2 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP2 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP2 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP2 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP2 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP2 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP2 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP2 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP2 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP2 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP2 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP2 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP2 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP2 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP2 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP2 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP2 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP2 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP2 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP2 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP2 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP2 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP2 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP2 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP2 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP2 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP2 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP2 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP2 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP2 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP2 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP2 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP2 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP2 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP2 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP2 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP2 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP2 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP2 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP2 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP2 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP2 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP2 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP2 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 94,4||| }
elseif ( %HP2 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 84,4||| }
elseif ( %HP2 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 74,4||| }
elseif ( %HP2 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 64,4||| }
elseif ( %HP2 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 54,4||| }
elseif ( %HP2 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 44,4||| }
elseif ( %HP2 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 34,4||| }
elseif ( %HP2 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 24,4||| }
elseif ( %HP2 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 14,4||| }
elseif ( %HP2 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 1,4 |14,4|12,41,4 04,4||| }
elseif ( %HP2 == 9 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 94,4||| }
elseif ( %HP2 == 8 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 84,4||| }
elseif ( %HP2 == 7 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 74,4||| }
elseif ( %HP2 == 6 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 64,4||| }
elseif ( %HP2 == 5 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 54,4||| }
elseif ( %HP2 == 4 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 44,4||| }
elseif ( %HP2 == 3 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 34,4||| }
elseif ( %HP2 == 2 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 24,4||| }
elseif ( %HP2 == 1 ) { msg $chan Current HP lvl of your opponent is 1,4|||04,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P2
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player2) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P1
halt
}
}
}
if ($readini(dm.ini,$chan,Status) == ON2 && $readini(dm.ini,$chan,Turn) == P2 && $readini(dm.ini,$chan,Player2) == $nick) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
writeini dm.ini $chan OLDHP1 $readini(dm.ini,$chan,HP1)
if ($readini(dm.ini,$chan,HP2) <= 10) {
writeini dm.ini $chan Hit $rand(0,100)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
if ($readini(dm.ini,$chan,HP2) <= 20) {
writeini dm.ini $chan Hit $rand(0,60)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
if ($readini(dm.ini,$chan,HP2) <= 50) {
writeini dm.ini $chan Hit $rand(0,45)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP1 $calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
if ($readini(dm.ini,$chan,HP2) <= 70) {
writeini dm.ini $chan Hit $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
if ($readini(dm.ini,$chan,HP2) <= 99) {
writeini dm.ini $chan Hit $rand(0,25)
if ($calc($readini(dm.ini,$chan,HP1) - $readini(dm.ini,$chan,Hit)) <= 0) {
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,OLDHP1) $+ 0,1] $HPLevel(0)
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick is the winner!
remini dm.ini $chan
halt
}
else {
writeini dm.ini $chan HP2 $calc($readini(dm.ini,$chan,HP2) - $readini(dm.ini,$chan,Hit))
msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $nick swings at4,1 $readini(dm.ini,$chan,Player1) 0,1 hitting a 0,1[4,1 $+ $readini(dm.ini,$chan,Hit) $+ 0,1] $HPLevel($readini(dm.ini,$chan,HP1))
var %HP1 = $readini(dm.ini, $chan, HP1 ) {
if ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,999,9||| }
elseif ( %HP1 == 99 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,989,9||| }
elseif ( %HP1 == 97 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,979,9||| }
elseif ( %HP1 == 96 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,969,9||| }
elseif ( %HP1 == 95 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,959,9||4,4| }
elseif ( %HP1 == 94 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,949,9||4,4| }
elseif ( %HP1 == 93 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,939,9||4,4| }
elseif ( %HP1 == 92 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,929,9||4,4| }
elseif ( %HP1 == 91 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,919,9||4,4| }
elseif ( %HP1 == 90 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,999,9||1,909,9||4,4| }
elseif ( %HP1 == 89 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,999,9||4,4| }
elseif ( %HP1 == 88 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,989,9||4,4| }
elseif ( %HP1 == 87 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,979,9||4,4| }
elseif ( %HP1 == 86 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,969,9||4,4| }
elseif ( %HP1 == 85 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,959,9|4,4|| }
elseif ( %HP1 == 84 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,949,9|4,4|| }
elseif ( %HP1 == 83 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,939,9|4,4|| }
elseif ( %HP1 == 82 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,929,9|4,4|| }
elseif ( %HP1 == 81 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,919,9|4,4|| }
elseif ( %HP1 == 80 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,989,9||1,909,9|4,4|| }
elseif ( %HP1 == 79 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,999,9|4,4|| }
elseif ( %HP1 == 78 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,989,9|4,4|| }
elseif ( %HP1 == 77 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,979,9|4,4|| }
elseif ( %HP1 == 76 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,969,9|4,4|| }
elseif ( %HP1 == 75 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,954,4||| }
elseif ( %HP1 == 74 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 73 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,934,4||| }
elseif ( %HP1 == 72 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,924,4||| }
elseif ( %HP1 == 71 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,914,4||| }
elseif ( %HP1 == 70 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,979,9||1,904,4||| }
elseif ( %HP1 == 69 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,994,4||| }
elseif ( %HP1 == 68 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,984,4||| }
elseif ( %HP1 == 67 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,974,4||| }
elseif ( %HP1 == 66 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,964,4||| }
elseif ( %HP1 == 65 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,454,4||| }
elseif ( %HP1 == 64 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,444,4||| }
elseif ( %HP1 == 63 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,434,4||| }
elseif ( %HP1 == 62 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,424,4||| }
elseif ( %HP1 == 61 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,414,4||| }
elseif ( %HP1 == 60 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,969,9||1,404,4||| }
elseif ( %HP1 == 59 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,494,4||| }
elseif ( %HP1 == 58 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,484,4||| }
elseif ( %HP1 == 57 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,474,4||| }
elseif ( %HP1 == 56 ) { msg $chan Current HP lvl of your opponent is 9,9|||1,959,9||1,464,4||| }
elseif ( %HP1 == 55 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 54,4||| }
elseif ( %HP1 == 54 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 44,4||| }
elseif ( %HP1 == 53 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 34,4||| }
elseif ( %HP1 == 52 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 24,4||| }
elseif ( %HP1 == 51 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 14,4||| }
elseif ( %HP1 == 50 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 59,9|12,41,4 04,4||| }
elseif ( %HP1 == 49 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 94,4||| }
elseif ( %HP1 == 48 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 84,4||| }
elseif ( %HP1 == 47 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 74,4||| }
elseif ( %HP1 == 46 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 64,4||| }
elseif ( %HP1 == 45 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 54,4||| }
elseif ( %HP1 == 44 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 44,4||| }
elseif ( %HP1 == 43 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 34,4||| }
elseif ( %HP1 == 42 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 24,4||| }
elseif ( %HP1 == 41 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 14,4||| }
elseif ( %HP1 == 40 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 44,4|12,41,4 04,4||| }
elseif ( %HP1 == 39 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 94,4||| }
elseif ( %HP1 == 38 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 84,4||| }
elseif ( %HP1 == 37 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 74,4||| }
elseif ( %HP1 == 36 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 64,4||| }
elseif ( %HP1 == 35 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 54,4||| }
elseif ( %HP1 == 34 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 44,4||| }
elseif ( %HP1 == 33 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 34,4||| }
elseif ( %HP1 == 32 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 24,4||| }
elseif ( %HP1 == 31 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 14,4||| }
elseif ( %HP1 == 30 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,434,4|12,41,4 04,4||| }
elseif ( %HP1 == 29 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 94,4||| }
elseif ( %HP1 == 28 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 84,4||| }
elseif ( %HP1 == 27 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 74,4||| }
elseif ( %HP1 == 26 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 64,4||| }
elseif ( %HP1 == 25 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 54,4||| }
elseif ( %HP1 == 24 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 44,4||| }
elseif ( %HP1 == 23 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 34,4||| }
elseif ( %HP1 == 22 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 24,4||| }
elseif ( %HP1 == 21 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 14,4||| }
elseif ( %HP1 == 20 ) { msg $chan Current HP lvl of your opponent is 9,9 |1,9 1,424,4|12,41,4 04,4||| }
elseif ( %HP1 == 19 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 94,4||| }
elseif ( %HP1 == 18 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 84,4||| }
elseif ( %HP1 == 17 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 74,4||| }
elseif ( %HP1 == 16 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 64,4||| }
elseif ( %HP1 == 15 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 54,4||| }
elseif ( %HP1 == 14 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 44,4||| }
elseif ( %HP1 == 13 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 34,4||| }
elseif ( %HP1 == 12 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 24,4||| }
elseif ( %HP1 == 11 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 14,4||| }
elseif ( %HP1 == 10 ) { msg $chan Current HP lvl of your opponent is 9,9 4,4 |1,414,4|12,41,4 04,4||| }
elseif ( %HP1 == 9 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 94,4||| }
elseif ( %HP1 == 8 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 84,4||| }
elseif ( %HP1 == 7 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 74,4||| }
elseif ( %HP1 == 6 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 64,4||| }
elseif ( %HP1 == 5 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 54,4||| }
elseif ( %HP1 == 4 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 44,4||| }
elseif ( %HP1 == 3 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 34,4||| }
elseif ( %HP1 == 2 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 24,4||| }
elseif ( %HP1 == 1 ) { msg $chan Current HP lvl of your opponent is 4,4|||1,404,4|12,41,4 14,4||| }
}
writeini dm.ini $chan Turn P1
.timer $+ $chan $+ 1 1 20 msg $chan 3,0\0,3\9,3\3,9\1,9\9,1\0,1 $readini(dm.ini,$chan,Player1) has missed his turn.
.timer $+ $chan $+ 2 1 20 writeini dm.ini $chan Turn P2
halt
}
}
}
else {
.notice $nick 0,8D7,8M8,7|4,7D7,4M5,4|4,5#1,58,15,1%8,115,0Its not your turn 0,1or1,0 your not in this game.
}
}
ON *:TEXT:!DMCommands:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
msg $nick 0,1!GreatAxe 4,1-0,1 !Whip 4,1-0,1 !DBAxe 4,1-0,1 !DDS 4,1-0,1 !DLong 4,1-0,1 !DMace 4,1-0,1 !DScimmy 4,1-0,1 !GMaul4,1-0,1 !Dbow 4,1-0,1 !Z-Godsword4,1-0,1 !S-Godsword 4,1-0,1 !B-Godsword4,1-0,1 !A-Godsword 4,1-0,1 !Dscimmyspec 4,1-0,1 !Anchor 4,1-
}
ON *:TEXT:!StopDM:#:{
if ($readini(Status.ini,$me,$chan) == DChan) { halt }
if ($nick isop $chan || $nick ishop $chan) { if ($address($nick,2) == $address($me,2)) {
.timer $+ $chan $+ 1 off
.timer $+ $chan $+ 2 off
remini dm.ini $chan
.notice $nick 3,0\0,3\9,3\3,9\1,9\9,1\0,1 Surrendering? Weakling!
}
}
}
ON *:START:{
remove dm.ini
}
//Supernovah was here