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 

utimer kick with kickinfo

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


Joined: 20 May 2006
Posts: 49

PostPosted: Fri May 02, 2008 10:24 am    Post subject: utimer kick with kickinfo Reply with quote

hello, i have a problem with a timerkick include kickinfo...
without kickinfo this works without problems but i need the kickinfo...

set kickAbC "putkick $chan $nick 'This is not allowed...'"
utimer 10 $kickAbC

<egg> [16:20] Tcl error in script for 'timer350':
<egg> [16:20] wrong # args: should be "putkick channel nick?s? ?comment?"


This works without kickinfo:
set kickAbC "putkick $chan $nick"
utimer 10 $kickAbC

Thank you for help
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: Fri May 02, 2008 11:42 am    Post subject: Reply with quote

Code:
set kickAbC "[list putkick $chan $nick "your reason goes here"]"

Try this Wink

Edit: added the list element as sirfz did to protect utimer events..


Last edited by speechles on Fri May 02, 2008 11:45 am; edited 1 time in total
Back to top
View user's profile Send private message
Sir_Fz
Revered One


Joined: 27 Apr 2003
Posts: 3793
Location: Lebanon

PostPosted: Fri May 02, 2008 11:43 am    Post subject: Reply with quote

Code:
utimer 10 [list putkick $chan $nick "reason here"]

_________________
Follow me on GitHub

- Opposing

Public Tcl scripts
Back to top
View user's profile Send private message Visit poster's website
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