Sponsored Links


Topic Options
Rate This Topic
#942 - 02/21/08 09:23 AM What is Wrong with this Script?
Josh Offline
n00b

Registered: 02/19/08
Posts: 7
Loc: New York
Could you tell me what is up with this set of scripts.

**Note: This is also posted here: http://pastebin.ca/912604 **

Quote:
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 }
_________________________
Josh Budde
TechCast Host & Producer
#TechCast Channel Admin

Top
Sponsored Links
Sponsored Links
Member
*****

Registered: 27/08/04
Posts: 10136
Loc: Mountain View, CA
Top


Recent Posts
Happy birthday usrbingeek!
by sbushfan11
Today at 03:42 PM
MyNick
by KtecK
Today at 08:50 AM
Automated Ban removal
by iPhone
Yesterday at 11:32 PM
Linkinus Help
by iPhone
Yesterday at 11:29 PM
Who uses Twitter?
by techman224
Yesterday at 11:15 PM
Thank You Moderators
by iPhone
Yesterday at 10:11 PM
Hello, And Welcome To The #SamF Forums
by techman224
Yesterday at 09:01 PM
Trigger Script.
by jwire4
Yesterday at 04:16 PM
How do I identify on Rooms app for iPhone?
by iPhone
Yesterday at 04:09 PM
Topic setter's username is appended to topic
by techman224
Yesterday at 02:59 PM
Away notification script
by evanrocks010
Yesterday at 02:43 PM
Im having trouble with mode commands
by techman224
Yesterday at 02:31 PM
Recent Pics
Old school IRC
How to use Google!
TIX
Who's Online
0 Registered (), 8 Guests and 5 Spiders online.
Key: Admin, Global Mod, Mod
Top Posters
usrbingeek 431
Kat 233
iPhone 94
Phil 87
Freekie 78
CCMike 66
techman224 64
Justin 59
wirelesspacket 52
tengrrl 50
Terms Of Use
Use of this community signifies your agreement to the Terms Of Service and Conditions of Use.