on *:text:!cw*:#cwraiders:{
if ($nick isop $chan) {
elseif ($nick isvoice $chan) || ($nick ishop $chan) goto two
:one
set %event $2-
msg $chan 12A new castle wars world has been updated by14 ~ $nick ~ 12type14 !cw 12to view it.
halt
:two
notice $nick Sorry you cannot set an event. }
}
on *:text:!event:#cwraiders:{
if ($nick isop $chan) || ($nick isvoice $chan) || ($nick ishop $chan) goto two {
elseif ($nick isreg $chan) goto one {
:one
notice $nick 4Sorry you may not view it the event.
halt
:two
notice $nick 12The current Castle Wars World is:14[ %event ]
halt }
}
}