TalkingBot v4.0

By UTUCS.com-Admin on Feb 13, 2004

TalkingBot v4.0 ---- A script that just says things -- and it's where you can add stuff! Added something per sailoreagle's request!

;----------
;    |
;    |
;    |
;    |
;
; TalkingBot
;
;The TalkingBot Project is available for free to everyone for use in every channel. It can be used under any nick. We have put all of the cool talkings we can think of.
;
;This bot does not have any advertisements. But you can say the TalkingBot information if you would like, but that's entirely optional.
;
;TalkingBot talks with /msg $chan. It cannot be changed to /say, because you can not use /say in a remote event.
;
;TalkingBot does not just do talking! It does a lot more than just talking.
;
;TalkingBot has been updated a lot now, because of its functions in the early version. Its functions didn't allow some stuff, ;and some stuff is really annoying (i.e. MyNick: You're not channel operator):
;
;[Updated]: TalkingBot now allows anyone, not just level 1s, to say
;things.
;
;[Updated]: TalkingBot now talks with say. /msg $chan is just
;saying stuff. No more /me!
;
;[Updated]: $+ has been added.
;
;[Updated]: The commands have been updated to work, the *s were not
;there, which they are supposed to be there.
;
;[Updated]: Redundant ON TEXTs removed.
;
;[Updated]: The !op command should now work.
;
;[Updated]: Some things have been removed in spelling.
;
;[Updated]: Now !op, !voice, !deop, !devoice, and !moderate now check if you're an OP so you don't get the you're not operator message anymore.
;
;[Updated]: Some sayings have been added.
;
;[Updated]: Some wildcard spaces have been added, per sailoreagle's s
ON *:TEXT:* Hello *:#:/msg $chan Hello $nick $+ , how are you today?
ON *:TEXT:* Hi *:#:/msg $chan Hello $nick $+ , how are you today?
ON *:TEXT:* /s e n d *:#:/msg $chan Hmm... what is that?
ON *:TEXT:* Have fun *:#:/msg $chan You all have fun, too!
ON *:TEXT:* fish *:#:/msg $chan Big fish eat little fish!
ON *:TEXT:* whale *:#:/msg $chan A whale of a time!
ON *:TEXT:* sea *:#:/msg $chan A sea change!
ON *:TEXT:* chips *:#:/msg $chan Chips with everything!!
ON *:TEXT:* catch *:#:/msg $chan I'll catch you later!!
ON *:TEXT:* fishing* :#:/msg $chan I'm fishing out for compliments!
ON *:TEXT:* bait *:#:/msg $chan It's jail bait time now!
ON *:TEXT:* rod *:#:/msg $chan It's time to rule with a rod of some irons now!
ON *:TEXT:* swim *:#:/msg $chan Slink or swim!!
ON *:TEXT:* eel *:#:/msg $chan It's as slippery as an eel! Don't try it!
ON *:TEXT:* swimming *:#:/msg $chan I'm swimmin' 'round the ocean!
ON *:TEXT:* swimmin *:#:/msg $chan I'm swimmin' 'round the ocean!
;{___}                                        {___}
;{___} Now those are some redundant things :P {___}
;{___}                                        {___}
;{___}                                        {___}
ON *:TEXT:*loungin*:#:/msg $chan Am I lounging or what???
ON *:TEXT:* Linux *:#:/msg $chan Linux? I run on Linux!
ON *:TEXT:* ladies *:#:/msg $chan Ladies??? What are you talking about? Isn't IRC just people, not ladies?
ON *:TEXT:* boys *:#:/msg $chan Boys??? What are you talking about? Isn't IRC just people, not boys?
ON *:TEXT:* men *:#:/msg $chan Men??? What are you talking about? Isn't IRC just people, not men?
ON *:TEXT:* food *:#:/msg $chan Wow! I'm hungry now that you're talking about food!
ON *:TEXT:!op *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan +o $2}
ON *:TEXT:!deop *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan -o $2 }
ON *:TEXT:!voice *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan +v $2 }
ON *:TEXT:!devoice *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan -v $2 }
ON *:TEXT:*!moderate*:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan +m }
ON *:TEXT:!hop *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan +h $2 }
ON *:TEXT:!halfop *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan +h $2 }
ON *:TEXT:!dehop *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan -h $2 }
ON *:TEXT:!dehalfop *:#:if ($nick isop $chan) && ($me isop $chan) { mode $chan -h $2 }
;I'd like to say that some networks, like DALnet, do not have +h. It only works on networks that do.

Comments

Sign in to comment.
eduExodus   -  Aug 09, 2004

I found a slight bug in your code. On the \"on :text:!op\" line close to the bottom, there should be a space just before the final bracket. Otherwise, the code hangs :)

 Respond  
SL   -  Jun 27, 2004

sorry bout that I meant on :text:: { [enter] then if (hello isin $1-0 { and so on...it would have been less typing to do

 Respond  
SL   -  Jun 27, 2004

Y dont you use a on *:text:

 Respond  
DeathfireD   -  Feb 14, 2004

Im happy to see your using ON :TEXT:text :#:/msg $chan text now instead of ON :TEXT: Hello :#:/me blabla Hello lol whatever you had before.

 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.