All pastes #805236 Raw Edit

1

public text v1 · immutable
·published 2007-12-04 04:10 UTC
rendered paste body
on *:INVITE:#: {   
  if ($me == StupidBot) { 
    notice $nick 12Please Wait As I Search For An Availible StupidBot Bot To Join4 $chan $+ 12. | msg #Stupidbot.staff 12I Have Just Been Invited To4 $chan 12Bye4 $nick $+ .
    var %bot = $rand(1,7)
    if (%bot == 1) join $chan | msg $chan 12Hello, My Name Is4 $me 12I Was Invited By4 $3 12 Please Report All Bugs To4 #StupidBot 12If You Want Me To Part, Type 4!Part StupidBot12. For My Commands, Type4 !Commands.
    if (%bot == 2) msg StupidBot[ZY] Join $chan $nick
    if (%bot == 3) msg StupidBot[WL] Join $chan $nick
    if (%bot == 4) msg StupidBot[NY] Join $chan $nick
    if (%bot == 5) msg StupidBot[LA] Join $chan $nick
    if (%bot == 6) msg StupidBot[PL] Join $chan $nick
    if (%bot == 7) msg StupidBot[TO] Join $chan $nick
  }
  else { 
    msg #Stupidbot.staff 12I Have Just Been Invited To4 $chan 12Bye4 $nick $+ .
    msg #StupidBot.staff 12Goto4 $chan $nick 
  }
}
on *:text:join*:*:{ 
  if ($nick == StupidBot) { 
    timer 1 3 /Join $$2 
    timer 1 3 msg $2 12Hello, My Name Is4 $me 12I Was Invited By4 $3 12 Please Report All Bugs To4 #StupidBot 12If You Want Me To Part, Type 4!Part StupidBot12. For My Commands, Type4 !Commands. 
  }
}
on BOT:text:goto*:*:{ 
  if ($me == StupidBot) { 
    var %bot = $rand(1,6)
    if (%bot == 1) msg StupidBot[ZY] Join $chan $nick
    if (%bot == 2) msg StupidBot[WL] Join $chan $nick
    if (%bot == 3) msg StupidBot[NY] Join $chan $nick
    if (%bot == 4) msg StupidBot[LA] Join $chan $nick
    if (%bot == 5) msg StupidBot[PL] Join $chan $nick
    if (%bot == 6) msg StupidBot[TO] Join $chan $nick
  }
}
on *:TEXT:!Calc*:#: {
  if ($me == stupidbot) noop
  elseif (%dchan [ $+ [ $chan ] ] == yes) { halt }
  notice $nick 12[CALC] $2 4= $calc($replace($2,x,*))
}
on *:TEXT:@Calc*:#: { 
  if ($me == stupidbot) noop
  elseif (%dchan [ $+ [ $chan ] ] == yes) { halt }
  msg $chan 12[CALC] $2 4= $calc($replace($2,x,*))
}
on *:text:!rules*:#:{
  if ($me == stupidbot) noop
  elseif (%dchan [ $+ [ $chan ] ] == yes) { halt }
  msg $nick  7 Channel Rules. 
  msg $nick  4 1. No Asking For Access.
  msg $nick  12 2. No Flaming/Spamming The Channel.
  msg $nick  4 3. No Offensive Langauge Whatsoever Is Aloud.
  msg $nick  12 4. No Advertising Any Channels, Or links.
  msg $nick  4 5. No Account Selling/Trading Is Aloud.
  msg $nick  12 6. There Is No Buying/Selling Rs Items Aloud. 
  msg $nick  4 Want Access? These Are The Only Ways You Can Get Access.
  msg $nick  12 1. Help Advertise The Channel, Tell Your Freinds Or Other People.
  msg $nick  4 2. Report Advertisers In The Channel, Keep A look Out For Rule Breakers.
  msg $nick  12 3. Stay Active In The Channel And Respect EVERYONE Especially The Ops.
  msg $nick  4 4. Idle Here 24/7 Leave Your Nick Here All The Time And You Can Get Access!
  msg $nick  7 Have Any Questions? Get Permission From Any Halfop Or Op TO Pm Them And They'll Help You! 
}
on *:text:!part StupidBot*:#:{
  if (%dchan [ $+ [ $chan ] ] == yes) { halt }
  if (($nick isop $chan) || ($nick ishop $chan)) {
    part $chan 12Bye, I Was Ordered To Leave By4 $nick 12 Be Sure To Invite Me Again Soon!
  } 
}