Ghost-writer commented on a Page, !Join and !Leave script  -  Nov 24, 2009

to be honest you dont need to use 1 text event but you could make it better, like 1 line, no need to {} abuse.

on *:TEXT:!join*:#: {
  join $2
}
on *:TEXT:!leave*:#: {
  part $chan
}
on *:TEXT:!op*:#: {
  if ($nick isop $chan) (
  mode $chan +o $2
}
on *:TEXT:!deop*:#: {
  if ($nick isop $chan) (
  mode $chan -o $2
}

could be used better like so,

on *:TEXT:!join*:#: {
if ($2) join $2
else msg $nick Error! Channel not specified.
}
on *:TEXT:!leave*:#: part $iif($2,$v1,$chan)
on *:TEXT:!op*:#: if ($nick isop $chan) mode $chan +o $2
on *:TEXT:!deop*:#: if ($nick isop $chan) mode $chan -o $2
 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.