This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
agathodaimon
Voice
Posts: 29 Joined: Sun Aug 21, 2005 12:33 pm
Post
by agathodaimon » Sat Oct 22, 2005 11:47 am
cheers
A little request i have..i'd like to have a script or find a script very simple ...in witch ..when someone adresses the bot ...the bot to answer with some simple answers.
I found lots of chatter scripts..bot..i dont want an AI bot..all i want is the bot to tell them that his a bot and thats all
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Oct 22, 2005 12:24 pm
Code: Select all
bind msgm - * IAmABot
proc IAmABot {nick args} {
puthelp "PRIVMSG $nick :I'm a bot."
}
agathodaimon
Voice
Posts: 29 Joined: Sun Aug 21, 2005 12:33 pm
Post
by agathodaimon » Sat Oct 22, 2005 1:13 pm
now..it works perfectly
and i tiny script to make it answer on the channels when somebody writes his name ..
thanks alot
agathodaimon
Voice
Posts: 29 Joined: Sun Aug 21, 2005 12:33 pm
Post
by agathodaimon » Sat Oct 22, 2005 3:33 pm
bind pub - "oblio*" pub:oblio
proc pub:oblio { nick host hand chan text } {
putserv "PRIVMSG $chan :I'm bot leaveee the alone" }
putlog "\002Oblio Tcl\002 ."
my first script
dont laugh
but...how do i make it include the nicku too?
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sat Oct 22, 2005 8:47 pm
use bind pubm instead of pub in order to be able to use wildcards in the mask.
fredvil
Voice
Posts: 21 Joined: Thu Dec 01, 2005 9:16 pm
Post
by fredvil » Fri Sep 01, 2006 6:58 pm
Code:
bind msgm - * IAmABot
proc IAmABot {nick args} {
puthelp "PRIVMSG $nick :I'm a bot."
}
Hello sir_fz
from this example, how to make the bot respond only when certain words on the msg. like if the msg is:
<hannah23> hi pls visit
http://www.yahoo.com
the bot only respond when the msg contains *http://*
thanks
fredvil
demond
Revered One
Posts: 3073 Joined: Sat Jun 12, 2004 9:58 am
Location: San Francisco, CA
Contact:
Post
by demond » Fri Sep 01, 2006 8:26 pm
if you need a script that scans for and catches private (and public) spammers, use
xchannel
connection, sharing, dcc problems? click
<here>
before asking for scripting help, read
<this>
use
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Fri Sep 01, 2006 9:57 pm
fredvil wrote:
the bot only respond when the msg contains *http://*
There are several tinyurl scripts in the archives that would probably be a good example/template script to look at.