mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jul 2003
Posts: 33
B
Bilge Offline OP
Ameglian cow
OP Offline
Ameglian cow
B
Joined: Jul 2003
Posts: 33
In the following code example:
Code:
menu nicklist {
$iif($somefunction($1-),True,False):somecommand $1-
} 

When multiple nicks are selected from the nick list, $somefunction receives only the first nick selected, while /somecommand receives all the nicks selected. $somefunction must receive all the nicks, but does not.

Joined: Dec 2002
Posts: 774
T
Hoopy frood
Offline
Hoopy frood
T
Joined: Dec 2002
Posts: 774
This has been reported before
use $replace($snicks,$chr(44),$chr(32)) instead


Code:
//if ( khaled isgod ) echo yes | else echo no
Joined: Jun 2003
Posts: 242
R
Fjord artisan
Offline
Fjord artisan
R
Joined: Jun 2003
Posts: 242
heh .. I never realized that but I just tried this:
Code:
alias popup.test {
  echo -a $1- <-- alias
  return $1-
}
menu nicklist {
  $iif($popup.test($1-),True,False) :echo -a $1- <-- popup
}


Nick1 <-- alias
Nick1 Nick2 Nick3 <-- popup


Link Copied to Clipboard