egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"Variable References Require Preceding $"

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
StarLion
Voice


Joined: 20 Dec 2005
Posts: 16

PostPosted: Sat Jun 30, 2007 8:19 pm    Post subject: "Variable References Require Preceding $" Reply with quote

errorInfo Output:
Currently: syntax error in expression " $valid == 1 && [string index [lindex $text 0] 0] != [string...": variable references require preceding $

Line in question
Code:
if { $valid == 1 && [string index [lindex $text 0] 0] != [string index $curcard 0] && [string index [lindex $text 0] 0] != W && [string range [lindex $text 0] 1 end] != [string range $curcard 1 end] } {


... i dont get it?
Back to top
View user's profile Send private message
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Sat Jun 30, 2007 8:52 pm    Post subject: Reply with quote

W -> "W" give that a try Smile
Back to top
View user's profile Send private message
StarLion
Voice


Joined: 20 Dec 2005
Posts: 16

PostPosted: Sun Jul 01, 2007 8:53 am    Post subject: Reply with quote

*sigh* always the very small stuff that trips me up -_-

thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 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


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber