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.

bind msg simple help

Help for those learning Tcl or writing their own scripts.
Post Reply
r
rtk
Voice
Posts: 7
Joined: Fri Apr 22, 2005 7:46 am

bind msg simple help

Post by rtk »

I need a simple help ...

I've a script with

Code: Select all

bind msg *|* "msg" p:msg
That bind "msg" and consider the rest of message .

Now I want to bind all message .

I've tried with

bind msg *|* "*" p:msg
bind msg *|* "" p:msg
bind msg *|* * p:msg

What is the solution ?

Thanks
User avatar
]Kami[
Owner
Posts: 590
Joined: Thu Jul 24, 2003 2:59 pm
Location: Slovenia
Contact:

Post by ]Kami[ »

Instead of bind msg use bind msgm :)

eg. bind msg -|- "*" proc:msgm

....
User avatar
Sir_Fz
Revered One
Posts: 3794
Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:

Post by Sir_Fz »

]Kami[ wrote:eg. bind msg -|- "*" proc:msgm
]Kami[ meant

Code: Select all

bind msgm -|- "*" proc:msgm
:lol: again ]Kami[ :wink:
Post Reply