But custom identifiers don't work either, be it to return the filepath and indexNr, or the indexNr only (At least I don't get it work). Custom identifiers work well to return an iconpath - it's all about the index number parsing.
Assume you have:
alias myicon { return $mircexe }
alias myicon2 { return $mircexe , 10 }
alias iconnr { return 10 }
work:
icon $mircexe , 10
icon $myicon
icon $myicon , 10
don't work:
icon $myicon2
icon $myicon , $iconnr
icon $mircexe , $iconnr