well, i want to make a script where, when you right click on my channel a menu will pop up and you'll be open a dialog box by clicking on the menu popup option. Although... i only want the menu for my dialog box, to appear when i right click on my channel, i don't want it to appear on EVERY channel, how do i make it so menus only appear on specified channels?
Use $iif to make a condition:
menu channel {
iif($chan == #yourchannel,my popup) : echo -a my popup!
}
Use $iif to make a condition:
menu channel {
iif($chan == #yourchannel,my popup) : echo -a my popup!
}
didn't work, in the menu it just appeared with the 'iif($chan == #yourchannel,my popup) ' (i changed the # to my channel dw, but still just popped up with it.
Where did you put the line? Not popups ?
I posted my previous message from my phone, somehow i didn't notice it was missing a $ on $iif, use:
menu channel {
$iif($chan == #yourchannel,my popup) : echo -a my popup!
}