View Single Post
Old 11-05-2003, 01:13 PM  
Bitboy_2
Junior Member
 
Join Date: Jul 2003
Posts: 27
Default

Già che ci sono vi sottopongo un problema.....

Code:
bind pub -|- !kill kill_idlers

proc kill_idlers {nick uhost hand chan args} {
if {[isop $nick $chan]} { 
  [exec -- "d:\\ioftpd\\scripts\\sitekill" "idle>120" "service=ftp"]
  putserv "PRIVMSG $chan : -%bold%sitename%bold- + ... so all idlers got kikked !"
} else {
  putserv "PRIVMSG $chan : Only OPERATORS can kill idlers."
 }
}

ecco l'errore che mi dà al caricamento dell'eggdrop
[18:30] wrong # args: should be "proc name args body"
while executing
"proc killidlers {nick uhost hand chan args}"
(file "scripts/sitekill.tcl" line 3)
invoked from within
"source scripts/sitekill.tcl"
(file "eggdrop.conf" line 1211)
[18:30] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR)

Secondo voi dove sta l'errore??
Bitboy_2 is offline   Reply With Quote