alias disks {
var %a = $disk(0)
while (%a) {
if ($1 == %a) { return $left($disk(%a).path,1) : echo -a $iif($disk(%a).type == cdrom,Cd-rom,$bytes($disk(%a).size,g).suf) }
dec %a
}
}
I use $left for the path because if not, mirc parse the ":" (of C:\ for exemple) like a command and said : "\ Unknown command" I've tried a lot of thing to prevent this but without success.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel