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.
Alba
Voice
Posts: 10 Joined: Thu Sep 02, 2004 7:49 pm
Location: On you're PC Screen - and Edinburgh
Contact:
Post
by Alba » Wed Oct 13, 2004 6:34 pm
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
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Wed Oct 13, 2004 6:51 pm
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"?
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Wed Oct 13, 2004 9:22 pm
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
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Thu Oct 14, 2004 2:42 am
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"?
bobale
Voice
Posts: 5 Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro
Post
by bobale » Thu Oct 14, 2004 6:04 am
Can you give me tcl script that preforms any action when nick joins or leaves (yes, nickname, not hostname)?
Cobi
bobale
Voice
Posts: 5 Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro
Post
by bobale » Thu Oct 14, 2004 6:05 am
Can you give me tcl script that preforms any action when nick joins or leaves (yes, nickname, not hostname)?
Cobi
user
Posts: 1452 Joined: Tue Mar 18, 2003 9:58 pm
Location: Norway
Post
by user » Thu Oct 14, 2004 6:40 am
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"?
awyeah
Revered One
Posts: 1580 Joined: Mon Apr 26, 2004 2:37 am
Location: Switzerland
Contact:
Post
by awyeah » Thu Oct 14, 2004 7:01 am
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.
==================================
bobale
Voice
Posts: 5 Joined: Thu Oct 14, 2004 5:58 am
Location: Serbia and Montenegro
Post
by bobale » Fri Oct 15, 2004 3:44 am
Ok, thank you!
Cobi
Alba
Voice
Posts: 10 Joined: Thu Sep 02, 2004 7:49 pm
Location: On you're PC Screen - and Edinburgh
Contact:
Post
by Alba » Sat Oct 16, 2004 7:12 am
Thanks for that just what I needed
Thank you for you're time.
Regards,
- = /\ L B /\ = -