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.

When host joins script

Old posts that have not been replied to for several years.
Locked
User avatar
Alba
Voice
Posts: 10
Joined: Thu Sep 02, 2004 7:49 pm
Location: On you're PC Screen - and Edinburgh
Contact:

When host joins script

Post by Alba »

hiya,

Im looking for a script that performs an action or comment when a pre defined host join s a channel. EG aol or such like

anyone know of any ?
Regards,

- = /\ L B /\ = -
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Re: When host joins script

Post by user »

Code: Select all

bind join - "% *.aol.com" doStuff
proc doStuff {n u h c} {
	puthelp "PRIVMSG $c :\001ACTION loves aol users :/\001"
}
Have you ever read "The Manual"?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

user:
What is the % infront for? I've seen it in some binds on most occasions, but really never understood the reason for it.

By the could we bind directly to a channel #blabla if we only want the bind to be only activated on that channel right?
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

awyeah wrote:user:
What is the % infront for? I've seen it in some binds on most occasions, but really never understood the reason for it.
*** MATCH CHARACTERS ***

Many of the bindings allow match characters in the arguments. Here are the four special characters:

? matches any single character
* matches 0 or more characters of any type
% matches 0 or more non-space characters (can be used to match a single word)
~ matches 1 or more space characters (can be used for whitespace between words)
The mask in the bind is matched against "#channel nick!user@host" and can contain wildcards.
...in this case, it doesn't really matter if you use * or % though
awyeah wrote:By the could we bind directly to a channel #blabla if we only want the bind to be only activated on that channel right?
yes
Have you ever read "The Manual"?
b
bobale
Voice
Posts: 5
Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro

Post by bobale »

Can you give me tcl script that preforms any action when nick joins or leaves (yes, nickname, not hostname)?
Cobi
b
bobale
Voice
Posts: 5
Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro

Post by bobale »

Can you give me tcl script that preforms any action when nick joins or leaves (yes, nickname, not hostname)?
Cobi
User avatar
user
 
Posts: 1452
Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway

Post by user »

bobale wrote:Can you give me tcl script that preforms any action when nick joins or leaves (yes, nickname, not hostname)?
I already did (just change the mask)
Have you ever read "The Manual"?
User avatar
awyeah
Revered One
Posts: 1580
Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:

Post by awyeah »

Ummm..... thanx again for the info user.
·­awyeah·

==================================
Facebook: jawad@idsia.ch (Jay Dee)
PS: Guys, I don't accept script helps or requests personally anymore.
==================================
b
bobale
Voice
Posts: 5
Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro

Post by bobale »

Ok, thank you! :)
Cobi
User avatar
Alba
Voice
Posts: 10
Joined: Thu Sep 02, 2004 7:49 pm
Location: On you're PC Screen - and Edinburgh
Contact:

Post by Alba »

Thanks for that just what I needed :)

Thank you for you're time.
Regards,

- = /\ L B /\ = -
Locked