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.

!cmd also enables .cmd - why?

Help for those learning Tcl or writing their own scripts.
Post Reply
e
egglink
Voice
Posts: 6
Joined: Wed Jul 26, 2006 3:27 pm
Location: Athens, Greece

!cmd also enables .cmd - why?

Post by egglink »

I have something like this:

bind pub - !cmd procedure

It works but not just for !cmd but also for .cmd
Why is this happening? How can I make it work only for a single command?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

You load another script that uses .cmd?

Did you alter the script from using .cmd to !cmd and forgot to .restart your bot?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
e
egglink
Voice
Posts: 6
Joined: Wed Jul 26, 2006 3:27 pm
Location: Athens, Greece

Post by egglink »

Indeed it needed a .restart. I thought a .rehash was enough.

Thanks Alchera :)
Post Reply