All pastes #765445 Raw Edit

Untitled

public text v1 · immutable
·published 2007-11-08 01:04 UTC
rendered paste body
on *:TEXT:@getabot*:#netbots:{
if ($exists(C:\channel\ $+ $2)) {
    msg #Netbots Sorry but $2 is already on the line.
 }
  elseif ($read(C:\misc\suspend, w, $2)) {
    msg #netbots Sorry but your channel is blacklisted. 
else {
    write C:\channel\ $+ $2 $+
    msg #netbots Your channel $2 will be reviewed soon. Please wait, your channel will be reviewed by our staff member.
onotice $chan NEW CHAN: # $+ $2 - OWNER: $nick
  }
}
on *:TEXT:@accept*:#netbots:{
if ( $ulevel >= 200 ) {
if ($exists(C:\channel\ $+ $2)) {
msg $chan Channel $2 accepted by admin $nick ( $ulevel )
msg $chan Netbot- $+ %botlist is sent to $2
msg Netbot $+ %botlist join $2
}
}