on *:TEXT:!setcw*:*:{
/illegalcheck $1- ;;;;;ignore this this is for an alias security fearure;;;;;
/chancheck1 ;;;;;;ignore this this is an alias to limit the channels that can use this command;;;;;
if ($nick isop $chan) || ($nick ishop $chan) || ($address($nick,2) == $address($me,2)) {
if ($2- isnum 2-144)
if ($3 == Zammy) set $+(%,cw.,$chan,.team) Zamorak ;;;;;the problem lies here;;;;
if ($3 == Sara) set $+(%,cw.,$chan,.team) Saradomin ;;;;;the problem lies here;;;;
if ($3 == guth) set $+(%,cw.,$chan,.team) Guthix { ;;;;;the problem lies here;;;;
set $+(%,cw.,$chan) $2- | set $+(%,cw.,$chan,.nick) $nick | set $+(%,cw.,$chan,.time) $ctime |
.msg $chan CW world Updated!!! New CW world was Set by $eval($+(%,cw.,$chan,.nick),2) $+ ! Type !cw or !world to see the world. (requires +v)
}
}
}
on *:text:!cww:*:{
/chancheck1
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) || ($address($nick,2) == $address($me,2)) {
.notice $nick The CW world For $chan is Currently: $eval($+(%,cw.,$chan),2) $+ . And Was Last Set $duration($calc($ctime - $($+(%,cw.,$chan,.time),2))) ago by $($+(%,cw.,$chan,.nick),2) $+ . Team: $eval($+(%,cw.,$chan,.team) $+ . ;;;;;the problem lies here;;;;
}
}
on *:text:!Cwworld:*:{
/chancheck1
if ($nick isop $chan) || ($nick ishop $chan) || ($nick isvoice $chan) || ($address($nick,2) == $address($me,2)) {
.notice $nick The CW For $chan is Currently: $eval($+(%,cw.,$chan),2) $+ . And Was Last Set $duration($calc($ctime - $($+(%,cw.,$chan,.time),2))) ago by $($+(%,cw.,$chan,.nick),2) $+ . Team: $eval($+(%,cw.,$chan,.team) $+ . ;;;;;the problem lies here;;;;
}
}