02-10-2005, 09:51 AM
|
#1 |
| Junior Member
Join Date: Oct 2004
Posts: 12
| iTCL argument question (filename, not path)
Regarding THIS discussion, I'm using a .itcl script: Code: ##!
catch {putlog "UPDATE: \"$pwd\" \"\002$user\002 uploaded \002 [lindex $args 2] \002\""}
##end and it works, the line it returns to irc is Code: <@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 Code: <@FTP-Bot> Geek uploaded test.exe But how? I'm so newbie in TCL so it's unbelievable
Any ideas?
CP |
| |