DARK THUNDER on *:Join:#dkthunder:{ inc %joins set %whois #dkthunder whois $nick if (%dtevent !== off) && (%dtwarzor !== off) { timer 1 3 notice $nick $s2(Welcome to) $s1($chan) $+ ! $s4(War alert is) $s2(ON) $s4(- Type) $s3(!war) $s4(for more info!) $s2(DarkThunder's event today is:) $s1(%dtevent) $+ ! } elseif (%dtevent !== off) && (%dtwarzor == off) { timer 1 3 notice $nick $s2(Welcome to) $s1($chan) $+ ! $s2(DarkThunder's event today is:) $s1(%dtevent) $+ ! $s2(Remember to stay active) $s3(I have seen) $s4(> %joins <) $s3(joins!) } elseif (%dtevent == off) && (%dtnews !== off) { timer 1 3 notice $nick $s2(Welcome to) $s1($chan) $+ ! $s2(DarkThunder's current news:) $s1(%dtnews) $+ ! $s1(Remember to stay active) $s3(I have seen) $s4(> %joins <) $s3(joins!) } elseif (%dtwarzor !== off) { timer 1 3 notice $nick $s2(Welcome to) $s1($chan) $+ ! $s4(War alert is) $s2(ON) $s4(- Type) $s3(!war) $s4(for more info!) $s3(I have seen) $s4(> %joins <) $s3(joins!) } elseif (%dtevent == off) { timer 1 3 notice $nick $s2(Welcome to) $s1($chan) $+ ! $s1(Remember to stay active) $s3(I have seen) $s4(> %joins <) $s3(joins!) } } raw 319:*:{ if (%whois) { msg %whois $s2($2) $s1(is on:) $s2($3-) unset %whois } } on $*:TEXT:/^[!@]Warning/Si:#dtchat:{ if ($nick !isvoice $chan) || ($nick !isreg $chan) { msg #dkthunder 8,1Warning: 1,8Remember ALL events are logged of who went to it - If you miss events frequently you will get kicked... } } on $*:TEXT:/^[!@]check/Si:#dtchat:{ if ($nick !isvoice $chan) || ($nick !isreg $chan) { msg #dkthunder $s2(All members please remember to check and turnup to events.) $s1(Please type !event to look at the current event.) $s4(If you forget any commands for DarkThunder please type) $s3(!info) - $s2(Thanks) $+ ! } } on $*:TEXT:/^[!@]waron/Si:#dtchat:{ if ($nick isvoice $chan) || ($nick isreg $chan) { Notice $nick $s2(Sorry you don't have the power to do that) } Elseif ($nick isop $chan) || $nick ishop $chan) || ($nick == %owner) { msg #dkthunder $s2(DarkThunder's War alert has been turned on!) $s4(Please type !war to veiw the details and !wrules for the rules) $+ ! } } on $*:TEXT:/^[!@]setwar/Si:#dtchat,#dkthunder:{ if (%dtwarzor == off) { if ($nick isvoice $chan) || ($nick isreg $chan) { Notice $nick $s2(Sorry you don't have the power to do that) } Elseif ($nick isop $chan) || $nick ishop $chan) || ($nick == %owner) { set %dtwarzor $2- msg #dtchat $s2(Set the war - To set the rules type !setwrules - Type !waron once you have done this) } } elseif (%dtwarzor !== off) { Notice $nick $s2(There is already a war set...) $s1(Type !delwar then try again) } } on $*:TEXT:/^[!@]setwrules/Si:#dtchat,#dkthunder:{ if (%dtwarr == off) { if ($nick isvoice $chan) || ($nick isreg $chan) { Notice $nick $s2(Sorry you don't have the power to do that) } Elseif ($nick isop $chan) || $nick ishop $chan) || ($nick == %owner) { set %dtwarr $2- msg #dtchat $s2(Set the war rules - Type !waron) } } elseif (%dtwarr !== off) { Notice $nick $s2(There is already some war rules set...) $s1(Type !delwar then try again) } } on $*:TEXT:/^[!@]war/Si:#dkthunder,#dtchat:{ inc %totalcuses if ($2 !== $null) && ($nick isop $chan) { Set %msgstyle.war notice $2 } Elseif ($2 == $Null) { Set %msgstyle.war $iif($left($1,1) = @,msg #,notice $nick) } if (%dtwarzor == OFF) { notice $nick $s2(War alert is currently off) $s1(- This will change if we find a war.) } else { %msgstyle.war $s2(DarkThunder's current war details:) $s1(%dtwarzor) $s3(To veiw the rules type !wrules) } } on $*:TEXT:/^[!@]wrules/Si:#dtchat,#dkthunder:{ inc %totalcuses if ($2 !== $null) && ($nick isop $chan) { Set %msgstyle.warer notice $2 } Elseif ($2 == $Null) { Set %msgstyle.warer $iif($left($1,1) = @,msg #,notice $nick) if (%dtwarr == OFF) { notice $nick $s2(War alert is currently off) $s1(- This will change if we find a war.) } else { %msgstyle.warer $s2(DarkThunder's wars rules:) $s1(%dtwarr) $s3(To veiw the details type !War) } } } on *:TEXT:!startwar*:#dkthunder,#dtchat:{ if ($nick isvoice $chan) || ($nick isreg $chan) { Notice $nick $s2(Sorry you don't have the power to do that) } Elseif ($nick isop $chan) || $nick ishop $chan) || ($nick == %owner) { if ($2 < 119) { notice $nick $s1(You must choose a time over every 120 seconds,) $s1(Please try again with a greater time limit) } Elseif ($2 > 119) { inc %totalcuses set %wartime $2 if (%dtwartime == ON) { Notice $nick $s2(Auto Messaging is already activated - Please type !stopwar - then restart it.) } if (%dtwarzor == OFF) { notice $nick $s2(War alert is off...) } if (%dtwartime !== ON) { notice $nick $s2(Auto Msging Activated ~) $s1(I will speak about the war) $s3(> $calc(%wartime /60) <) $s1(Mins) msg #dkthunder $s2(DarkThunder's war alert is ON) $s1(Please type !war and !wrules for more info) $+ ! timerwar 0 %eventtime msg #dkthunder $s2(DarkThunder's war alert is ON) $s1(Please type !war and !wrules for more info) $+ ! set %dtwartime ON } } } } on *:TEXT:!stopwar*:#dkthunder,#dtchat:{ if (%dtwartime == off) { notice $nick $s2(Auto Messaging is currently not activated. - Please type !startwar