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.

newbie help for a "msg script"

Old posts that have not been replied to for several years.
Locked
d
duke_bot

newbie help for a "msg script"

Post by duke_bot »

I need a script to respond to any text in a msg
bind msg - * proc

* doesn't work :( , hyphen doesn't work :(
anyhelp ??
Last edited by duke_bot on Sun Dec 22, 2002 5:39 am, edited 1 time in total.
t
tainted
Master
Posts: 239
Joined: Sun May 12, 2002 8:00 pm
Location: chicago
Contact:

Post by tainted »

Code: Select all

bind msg - * proc_name
That is perfectly correct. (I hope!) How about pasting the rest of your script?
T
TeDDyBeeR

Post by TeDDyBeeR »

use this :

Code: Select all


bind msgm - * procname

proc procname {nick host hand text} {
    ....
}


Have funn :)
p
ppslim
Revered One
Posts: 3914
Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England

Post by ppslim »

Please read tcl-command.doc.

The msg bind does not accept wildcards.
Locked