You can use wildcards and parse the window name smile
//window $+(@clones.,$network,.,$chan(1))
Code:
menu @clones.* {
  $iif(($gettok($active,2,46)  == $network),stuff with chan $gettok($active,3-,46)) : echo $active works
}


EDIT
In addition, if it's no list window ($sline), you could use a hotlink event to store the right-clicked line ("if ($mouse.key && 16) ... stuff with $hotline") temporarily (e.g. to a hash that will be destroyed if the @window is closed),and use this data in the menu definition. (Quite a hack, but it works well for me)

Last edited by Horstl; 22/11/07 02:15 PM.