All pastes #912604 Raw Edit

Untitled

public text v1 · immutable
#912604 ·published 2008-02-21 14:21 UTC
rendered paste body
on 1:START:{ 
  /server -m irc.wyldryde.org
  /server -m irc.oftc.net
  /server -m chat1.ustream.tv
}

on 1:CONNECT:{
  if ($network == WyldRyde) {
    /join #help
    /join #geekstogo
    /join #ourscripts.net
    /join #opensource
    /join #lockergnome
    /join #bots
    /join #chris
    /join #skype
    /join #techcast
    /join #SamF
  }
  elseif ($network == OFTC) {
    /join #fishforums
  }
  elseif ($network == Ustream) {
    /join #CALL-YOUR-GRANDMA-!
  }
}
on *:TEXT:!seen*:#TechCast:{
  enable #ns
  msg #TechCast Begin !Seen.
  msg NickServ info $2
}
#ns on
on *:notice:*:*:{
  if ($nick == nickserv) {
    if (*isn't registered.* iswm $1-) { msg #TechCast $1- | nsalldone %nschan | return }
    if (*For more verbose information* iswm $1-) { nsalldone #TechCast | return }
    if (*Last quit message:* iswm $1-) { msg %nschan $1- | nsalldone #TechCast | return }
    msg #TechCast $1-
  }
}
on 1:text:!rules:#techcast:{
  if (($calc(($ctime - %lastupdatetime)) >= 15) || (!%lastupdatetime)) {
    set %lastupdatetime $ctime
    /bs say $chan  We have 4 simple rules. No repeating, no CAPS, No explicit language, and no off topic links. If you break any of those rules one of the mods or bots will kick you or ban you.
  }
}
on *:TEXT:!time:#techcast:{
  //bs say #techcast It is $time(hh:nn:ss tt) where the TechCast Team is located.
}
on 1:text:!register:#techcast:{
  if (($calc(($ctime - %lastupdatetime)) >= 15) || (!%lastupdatetime)) {
    set %lastupdatetime $ctime
    /bs say $chan  To register your nick type "/msg nickserv register password email" Replace "password" with a unique password that you can remember and "email" with your email address. Once you have registered you will need to enter you password in the password box when logging in type, "/ns IDENTIFY password" in the status screen and hit enter.
  }
}
on 1:text:!bot:#techcast:{
  if (($calc(($ctime - %lastupdatetime)) >= 15) || (!%lastupdatetime)) {
    set %lastupdatetime $ctime
    /bs say $chan  We currenly only have one bot implemented. Stay tuned, we are working on getting some others in here. Anyone that has the @ symbol is a human other than RoboCop, which is the Bot.
  }
  on 1:text:!commands:#techcast:{
    if (($calc(($ctime - %lastupdatetime)) >= 15) || (!%lastupdatetime)) {
      set %lastupdatetime $ctime
      /bs say $chan  The only commands that are implemented that do something right now are !bot, !time, !commands, and !register. Stay tuned, we will be adding more. 
    }
    on *:JOIN:#TechCast: { /say Hello $nick, and welcome to $chan }