menu nicklist - 26/03/09 01:37 PM
I made all my popups in the remote section, and now i got a problem with it, i try to explain so you understand
I don't know why, but if i try to use -psyBNC i get a error, so i need to use $chr(45) for the - sign. How can i get the popup to show like i want it to? been testing a while, but all i get is a error:
* Invalid format: $iif
Someone that know how i can solve this?
Code:
menu nicklist { Test:{ echo -a Test } For:{ echo -a For } Fun:{ echo -a Fun } } ; This one working ok, but now i want to hide the the menu nick list (all but some popups that are for the bnc) menu nicklist { $iif($1 == $+($chr(45),psyBNC)):{ This should show when $1 is $+($chr(45),psyBNC):{ echo -a Query with +psyBNC } $iif($1 != $+($chr(45),psyBNC)):{ ;This should only show if ($1 != $+($chr(45),psyBNC)) Test:{ echo -a Test } For:{ echo -a For } Fun:{ echo -a Fun } }
I don't know why, but if i try to use -psyBNC i get a error, so i need to use $chr(45) for the - sign. How can i get the popup to show like i want it to? been testing a while, but all i get is a error:
* Invalid format: $iif
Someone that know how i can solve this?