basically on the right click of an item in a dialog like:
$d(popups.dll) AddItem name end + Remove from list $Cr Remove_Channel $6
so basically when i right click on an item in the list it will popup 'Remove from list' where $6 is the item in the list.
alias Remove_Channel {
echo -a $1
}
That works fine, when i click on 'Remove from list' it echos the item. Now when i turn it into a local alias:
alias -l Remove_Channel {
echo -a $1
}
i get:
REMOVE_CHANNEL Unknown command
-
REMOVE_CHANNEL Unknown command
-
REMOVE_CHANNEL Unknown command