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.

Make the preform on join of channel

Old posts that have not been replied to for several years.
Locked
Q
Quinie
Voice
Posts: 27
Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:

Make the preform on join of channel

Post by Quinie »

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 ?
D
Dizzle
Op
Posts: 109
Joined: Thu Apr 28, 2005 11:21 am
Contact:

Post by Dizzle »

you mean how too react your script on joining

bind join -|- * procname thats the bind
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
Q
Quinie
Voice
Posts: 27
Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:

Post by Quinie »

[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) :oops:
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

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.
==================================
Q
Quinie
Voice
Posts: 27
Joined: Fri Jan 09, 2004 5:29 am
Location: NL
Contact:

Post by Quinie »

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.
Locked