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.

I'm getting mad!

Old posts that have not been replied to for several years.
Locked
O
OpSiS

I'm getting mad!

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! :x

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! ;)
User avatar
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?
User avatar
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
} 

8)
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 :o

Thank you very much
Locked