CP-Geek
02-10-2005, 10:51 AM
Regarding THIS (http://www.ioftpd.com/board/showthread.php?s=&threadid=4052) discussion, I'm using a .itcl script: ##!
catch {putlog "UPDATE: \"$pwd\" \"\002$user\002 uploaded \002 [lindex $args 2] \002\""}
##end
and it works, the line it returns to irc is <@FTP-Bot> Geek uploaded /Uploadz/Misc/Test/test.exe
(How can I add "@ 123 KB/s" in the end of that?)
BUT, I'd like to remove the path, so the result would be only <@FTP-Bot> Geek uploaded test.exe
But how? I'm so newbie in TCL so it's unbelievable :rolleyes:
Any ideas?
CP :)
catch {putlog "UPDATE: \"$pwd\" \"\002$user\002 uploaded \002 [lindex $args 2] \002\""}
##end
and it works, the line it returns to irc is <@FTP-Bot> Geek uploaded /Uploadz/Misc/Test/test.exe
(How can I add "@ 123 KB/s" in the end of that?)
BUT, I'd like to remove the path, so the result would be only <@FTP-Bot> Geek uploaded test.exe
But how? I'm so newbie in TCL so it's unbelievable :rolleyes:
Any ideas?
CP :)