on *:text:!setworld*:#:{ if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) {
writeini pcw.ini $chan world $2
/notice $nick 14 The pcw for $chan is set to $2 $+ .
msg $chan 14PCW Has been updated! Type !world or !pcw.
}
}
on *:text:!setpcw*:#:{ if ($nick isop $chan || $nick ishop $chan || $address($nick,2) == $address($me,2)) {
writeini pcw.ini $chan world $2
/notice $nick 14 The pcw for $chan is set to $2 $+ .
msg $chan 14PCW Has been updated! Type !world or !pcw.
}
}
on *:text:!pcw:#:{
if ($readini(pcw.ini,$chan,world) == $null) {
/notice $nick 14 There is no pcw set for $chan $+ .
halt
}
if ($readini(pcw.ini,$chan,status) == on ) {
/notice $nick 14 The current pcw is6 $readini(pcw.ini,$chan,world) $+ $+ .
halt
}
}
on *:text:!world:#:{
if ($readini(pcw.ini,$chan,world) == $null) {
/notice $nick 14 There is no pcw set for $chan $+ .
halt
}
if ($readini(pcw.ini,$chan,status) == on ) {
/notice $nick 14 The current pcw is6 $readini(pcw.ini,$chan,world) $+ $+ .
halt
}
}