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.
Old posts that have not been replied to for several years.
Recoilmaster
Voice
Posts: 12 Joined: Tue Mar 11, 2003 1:22 pm
Post
by Recoilmaster » Wed Jun 11, 2003 3:03 pm
Hi !
Iam searching a Script which response a Message if someone Query the Bot. Did someone know one ?
Thx for Help
Bye Keule
ReaLz
Op
Posts: 121 Joined: Sat Oct 19, 2002 5:33 am
Location: Athens, Greece
Post
by ReaLz » Thu Jun 12, 2003 3:18 am
uhmm..
Code: Select all
set responce "Hi, how are you?"
bing msgm - "*" msgm_res
proc msgm_res {nick host hand args} {
putserv "PRIVMSG $nick :$responce"
return 1
}
«A fantastic spaghetti is a spaghetti that does not exist»
Papillon
Owner
Posts: 724 Joined: Fri Feb 15, 2002 8:00 pm
Location: *.no
Post
by Papillon » Thu Jun 12, 2003 4:46 am
you forgot to make it global...
Code: Select all
proc msgm_res {nick host hand args} {
putserv "PRIVMSG $nick :$::responce"
return 1
}
Elen sila lúmenn' omentielvo
detonated
Voice
Posts: 16 Joined: Sat Mar 13, 2004 3:10 am
Post
by detonated » Mon Mar 15, 2004 2:42 am
hmm but that will make the bot reply continuosly. how to make the bot just stop after 1 line. cos i just want the bot to reply "I'm a bot. Don't msg me."
thanks.