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 

[Solved] Need some help again :\
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
Red_Rooste5
Voice


Joined: 21 Oct 2006
Posts: 37

PostPosted: Wed Dec 13, 2006 2:27 am    Post subject: Reply with quote

Meh... I figured that out bot now I am given this error:
Quote:

[07:06] Tcl error in script for 'timer1':
[07:06] syntax error in expression "$nickonchan =< $requirement && [string equal -nocase $::botn...": extra tokens at end of expression

On the if:

Code:

 } elseif {$nickonchan =< $requirement && [string equal -nocase $::botnick $nick]} {
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Wed Dec 13, 2006 5:34 am    Post subject: Reply with quote

See http://www.tcl.tk/man/tcl8.4/TclCmd/expr.htm for valid operators to be used with expressions.
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
Red_Rooste5
Voice


Joined: 21 Oct 2006
Posts: 37

PostPosted: Wed Dec 13, 2006 10:51 am    Post subject: Reply with quote

I've changed the if alot now but it still shows the same error...
What's wrong with it?
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
Goto page Previous  1, 2, 3
Page 3 of 3

 
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