| View previous topic :: View next topic |
| Author |
Message |
l.kleijn Voice
Joined: 18 May 2014 Posts: 33
|
Posted: Tue Sep 01, 2020 2:40 am Post subject: rehash script |
|
|
| Code: |
proc pub:rehash {nick host hand chan arg} {
global botnick
if {[channel get $chan cmd]} {
if {[matchattr $hand n] == 0} {
putserv "NOTICE $nick :You don't have access."
return 0
}
putserv "NOTICE $nick :Rehash."
rehash
channel set $chan -cmd
timer 1 channel set $chan +cmd
}
} |
I have this error: [08:39:03] Tcl error [pub:rehash]: wrong # args: should be "timer minutes command ?count?"
How can i fix this ? |
|
| Back to top |
|
 |
CrazyCat Revered One

Joined: 13 Jan 2002 Posts: 1032 Location: France
|
|
| Back to top |
|
 |
l.kleijn Voice
Joined: 18 May 2014 Posts: 33
|
Posted: Tue Sep 01, 2020 5:32 am Post subject: |
|
|
| Thanks it's working |
|
| Back to top |
|
 |
|