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.
-
O
OpSiS
Post
by OpSiS »
Greetings!
I'm having some problems making a VERY SIMPLE script to run... it seems to me so simple that i cannot see what's wrong!
Here's the code:
Code: Select all
bind join -|- *!*@* greet:join
proc greet:join { nick uhost handle chan } {
puthelp "NOTICE $nick: Hello World"
}
When i join the channel nothing happens. Also.. i type ".bind" on partyline and the event count is incremented.
I don't know much about TCL as you can see. Can someone help?
Thanks!

-
stdragon
- Owner
- Posts: 959
- Joined: Sun Sep 23, 2001 8:00 pm
-
Contact:
Post
by stdragon »
Well, you're not sending the notice correctly. The : isn't part of the nick, right?
-
Dedan
- Master
- Posts: 260
- Joined: Wed Jul 09, 2003 10:50 pm
- Location: Memphis
Post
by Dedan »
try:
Code: Select all
bind join -|- * greet:join
proc greet:join {nick uhost handle chan} {
puthelp "NOTICE $nick :Welcome to $chan"
return 0
}

I once was an intelligent young man, now i am old and i can not remember who i was.
-
O
OpSiS
Post
by OpSiS »
Oh my
Thank you very much