Yes you're right lol, after some test and some /echo, it seems that $submenu already doing a while itself so the alias can be simplified :

alias dinfos1 {
if ($1 == 1) return -
else { return $left($disk($1).path,1) : echo -a $iif($disk($1).type == cdrom,Cd-rom,$bytes($disk($1).size,g).suf) }
}

Edit : I did not see Bekar's answer

Last edited by Wims; 06/09/07 10:10 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel