New to TCL, need help.
 
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting
 
DaXoR  -  Wed Sep 21, 2011 7:48 pm Reply with quote
Code
 


When I use the trigger (`on duty) I get [22:46] Tcl error [onduty]: can't read "duty": no such variable

As far as I can tell, the script should set the variable. Am I wrong? If I am, someone please help out...
Malphas  -  Mon Oct 10, 2011 1:34 pm Reply with quote
When I use the trigger (`on duty) I get [22:46] Tcl error [onduty]: can't read "duty": no such variable


The reason for this is quite simple you are sending the wrong trigger you should actually be typing "onduty" as a whole word not "on duty"
Johannes13  -  Mon Feb 27, 2012 6:32 am Reply with quote

Malphas wrote

When I use the trigger (`on duty) I get [22:46] Tcl error [onduty]: can't read "duty": no such variable


The reason for this is quite simple you are sending the wrong trigger you should actually be typing "onduty" as a whole word not "on duty"

shoot. You are wrong.

The trigger is `on (duty can be omitted, script does not check it)

Code
 

at the beginning fixes this.
Display posts from previous:   
Post new topic   Reply to topic    Hawkee.com Forum Index -> TCL Scripting All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.