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.
Quinie
Voice
Posts: 27 Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:
Post
by Quinie » Thu Jul 07, 2005 5:35 am
If feel realy stupid for asking but can't seem to find it.
How do i run a script when the bot enters the channel ?
Dizzle
Op
Posts: 109 Joined: Thu Apr 28, 2005 11:21 am
Contact:
Post
by Dizzle » Thu Jul 07, 2005 7:08 am
you mean how too react your script on joining
bind join -|- * procname thats the bind
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu Jul 07, 2005 7:44 am
I think he needs more than a bind. If the BOT joins a channel.
Code: Select all
bind join - "*" your:proc
proc your:proc {nick uhost hand chan} {
if {[isbotnick $nick]} {
#your stuff here!
}
}
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Quinie
Voice
Posts: 27 Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:
Post
by Quinie » Thu Jul 07, 2005 9:25 am
[censored] is it really that simple just a join bind
and then check if it is the bot himself that joined..
i thought this would never work couse it is the bot that joins and needs to run the script..
(now i feel realy stupid)
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Fri Jul 08, 2005 3:32 am
Always try to give your logic a go before asking on the forum. Chances are it might work and even if it doesn't its no big deal. It just saves time.
·awyeah·
==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
Quinie
Voice
Posts: 27 Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:
Post
by Quinie » Fri Jul 08, 2005 9:22 am
Yeah your right...
it just isn't my week..
i lost about 8 websites (mysql crash) and everything looks likes it's running and i stand still.. just have to get my mind back in order. Sorry for bothering you guys with these silly questions and thx again.