From Scriptwiki
Revision as of 04:27, 17 May 2008 by Aca20031 (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This identifier is used for created dynamically generated submenus for mIRC Popup Menus.'


When using this as the name of a sub-menu, $identifier will be called with $1 starting as "begin" and then becoming a series of numbers starting at 1 and increasing until nothing is returned, then it is called with $1 being "end."

See the example below for clarification.


menu nicklist,query { 
alias -l allchannels {
 if ($1 == begin || $1 == end) { return - }
 elseif ($1 isnum 1-) return $comchan($me,$1) $+ :echo -a This is my channel command.