| View previous topic :: View next topic |
| Author |
Message |
Zerg Halfop
Joined: 20 May 2006 Posts: 49
|
Posted: Fri May 02, 2008 10:24 am Post subject: utimer kick with kickinfo |
|
|
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 |
|
 |
speechles Revered One

Joined: 26 Aug 2006 Posts: 1398 Location: emerald triangle, california (coastal redwoods)
|
Posted: Fri May 02, 2008 11:42 am Post subject: |
|
|
| Code: | | set kickAbC "[list putkick $chan $nick "your reason goes here"]" |
Try this
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 |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Fri May 02, 2008 11:43 am Post subject: |
|
|
| Code: | | utimer 10 [list putkick $chan $nick "reason here"] |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|