I didn't make this.
I just think it's interesting.
Thanks Frenetic for stating that Airliner made this.
Just press alt p on your mIRC script
A dialog will show up.
View>>>2.Channel
Paste
right click the channel and you'll see this image.
$chan
.$iif($server, Stats)
..Ops ( $nick(#,0,o) ): halt
..Voices ( $nick(#,0,v) ): halt
..Regular ( $nick(#,0,r) ): halt
..-
..Total ( $nick(#,0) ): halt
.-
.Topic
..Set:topic # $$input(Topic:,eyq,Topic)
..Show:topic #
..-
..Clear: topic # $chr(10)
.Central:channel
.-
.Modes $+ $chr(58) $+ $chr(9) $+ $chan(#).mode
..$iif(c isincs $gettok($chan(#).mode,1,32),$style(1)) No colors:{ if (c isincs $gettok($chan(#).mode,1,32)) { mode # -c } | else { mode # +c } }
..$iif(i isincs $gettok($chan(#).mode,1,32),$style(1)) Invite only:{ if (i isincs $gettok($chan(#).mode,1,32)) { mode # -i } | else { mode # +i } }
..$iif(M isincs $gettok($chan(#).mode,1,32),$style(1)) Only registered nicks can speak:{ if (M isincs $gettok($chan(#).mode,1,32)) { mode # -M } | else { mode # +M } }
..$iif(m isincs $gettok($chan(#).mode,1,32),$style(1)) Moderated:{ if (m isincs $gettok($chan(#).mode,1,32)) { mode # -m } | else { mode # +m } }
..$iif(n isincs $gettok($chan(#).mode,1,32),$style(1)) No external messages:{ if (n isincs $gettok($chan(#).mode,1,32)) { mode # -n } | else { mode # +n } }
..$iif(p isincs $gettok($chan(#).mode,1,32),$style(1)) Private:{ if (p isincs $gettok($chan(#).mode,1,32)) { mode # -p } | else { mode # +p } }
..$iif(R isincs $gettok($chan(#).mode,1,32),$style(1)) Registered nicks only:{ if (R isincs $gettok($chan(#).mode,1,32)) { mode # -R } | else { mode # +R } }
..$iif(s isincs $gettok($chan(#).mode,1,32),$style(1)) Secret:{ if (s isincs $gettok($chan(#).mode,1,32)) { mode # -s } | else { mode # +s } }
..$iif(t isincs $gettok($chan(#).mode,1,32),$style(1)) Only ops set topic:{ if (t isincs $gettok($chan(#).mode,1,32)) { mode # -t } | else { mode # +t } }
..$iif(l isincs $gettok($chan(#).mode,1,32),$style(1) User limit $+ $chr(58) $chan(#).limit,User Limit):{ if (l isincs $gettok($chan(#).mode,1,32)) { mode # -l } | else { mode # +l $$?"Maximum number of users allowed in # $+ :" } }
..$iif(k isincs $gettok($chan(#).mode,1,32),$style(1) Key $+ $chr(58) $chan(#).key,Key):{ if (k isincs $gettok($chan(#).mode,1,32)) { mode # -k $chan(#).key } | else { mode # +k $$?"Enter key for # $+ :" } } }
.
yelow79, in a popup definition, if the popup label is $null then that menu, as well as its submenu in this case, isn't created. $iif($server, Stats) returns $null if $server doesn't return a positive value, ie. when you're disconnected from a server, and so 'Stats' only appears when you're connected.