on *:text:!*:#luckypc:{
if ($1 == !pcw) {
notice $nick 10,15Please type 8,15!world10,15 =D
}
else if ($1 == !world) {
set %ctime4 $ctime
set %times $calc( %ctime4 - %ctime3 )
notice $nick 3,15Is this world 4,15crap??3,15 Scout a world for us and support our channel! =D
notice $nick 3,15\ Current World:12,15 $readini(test.ini, n, World, $chan) 3,15/\ Last Set:12,15 $duration( $+ %times ,2) 3,15/\ Scouted By:12,15 $readini(test.ini, n, Scouter, $chan) 3,15/\ Suggested New World:12,15 %sworld 3,15/\ Suggest By:12,15 %snick 3,15/
}
else if ($1 == !setworld) {
if ($2 !isnum) {
notice $nick The world must be a number xD !
}
if (!$3) {
notice $nick please put in a scouter!
}
else if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
set %ctime3 $ctime
/writeini -n test.ini World $chan $2
/writeini -n test.ini Scouter $chan $3
set %www $2
msg $chan 3,15 The world has been said! %www ! %www ! %www !
/scouts $nick $3
}
}
else if ($1 == !suggest) {
if ($2 !isnum) {
notice $nick Hey! This must be a world xD
}
if (!$3) {
notice $nick Please include a suggestion for this!
}
else {
set %sworld $2
set %snick $nick
set %sreason $3-
notice $nick Are you sure you want to suggest this world? If you are positive it is a good world, then type !yes.
notice $nick If this is an abuse of this command, you may get banned.
}
}
else if ($1 == !yes) {
notice $nick Thank you, your world suggestion has been recieved =]
msg #luckypc 3,15 World Suggestion From:10 %snick 3<.> World:10 %sworld 3<.> Reason:10 %sreason 3
}
else if ($1 == !abuse) {
if ($nick isop) || ($nick ishop) || ($nick isvoice) {
.ban -ku180 $2 $chan 2 You have been caught abusing the !suggest command! Please take the next 3 minutes to review your actions!
}
else /onotice #luckypc $nick has reported $2 for abusing the !suggest command, please check into this.
}
}
on *:text:relay !on:#luckypc:{ if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) {
set %contworld msg #luckypc 5,8_8,5-5,8_The Current World Is: $readini(test.ini, n, World, $chan) 5,8_8,5-5,8_
/timerpcw 0 90 %contworld
msg #Luckypc The Continuous World Script has been enabled.
}
}
on *:text:relay !off:#luckypc:{
if ($nick isop | isvoice | ishop) {
/timerpcw off
unset %contworld
msg #Luckypc Continuous Relay of World has been Halted
}
}