ON *:load:{ .echo -a [ZNC] HELP - Simple ZNC system v0.2 by D[]cToRFuNk .echo -a  .echo -a Before All, configure IPZNC, ZNC PORT, MYNETWORKS and MYUSER with a simple right click! .echo -a So.. One click to set and another one to unset the options =D .echo -a  .echo -a The system ask the password when you going to connect to.. } menu status,channel,query { ZNC .IPZNC ..$iif(%znc.ip,%znc.ip,IPZNC) :$iif(%znc.ip,unset %znc.ip,set %znc.ip $$?"What's your ZNC IP?") .ZNCPORT ..$iif(%znc.port,%znc.port,PORT) :$iif(%znc.port,unset %znc.port,set %znc.port $$?"What's your ZNC PORT?") .MYNETWORKS ..$iif(%znc.rede1,%znc.rede1,SET NETWORK1) :$iif(%znc.rede1,unset %znc.rede1,set %znc.rede1 $$?"What's the NETWORK?") | inc %znc.redes ..- ..$iif(%znc.rede2,%znc.rede2,SET NETWORK2) :$iif(%znc.rede2,unset %znc.rede2,set %znc.rede2 $$?"What's the NETWORK?") | inc %znc.redes ..- ..$iif(%znc.rede3,%znc.rede3,SET NETWORK3) :$iif(%znc.rede3,unset %znc.rede3,set %znc.rede3 $$?"What's the NETWORK?") | inc %znc.redes ..- ..$iif(%znc.rede4,%znc.rede4,SET NETWORK4) :$iif(%znc.rede4,unset %znc.rede4,set %znc.rede4 $$?"What's the NETWORK?") | inc %znc.redes ..- ..$iif(%znc.rede5,%znc.rede5,SET NETWORK5) :$iif(%znc.rede5,unset %znc.rede5,set %znc.rede5 $$?"What's the NETWORK?") | inc %znc.redes ..- ..$iif(%znc.rede6,%znc.rede6,SET NETWORK6) :$iif(%znc.rede6,unset %znc.rede6,set %znc.rede6 $$?"What's the NETWORK") | inc %znc.redes ..- ..$iif(%znc.rede7,%znc.rede7,SET NETWORK7) :$iif(%znc.rede7,unset %znc.rede7,set %znc.rede7 $$?"What's the NETWORK") | inc %znc.redes ..- ..$iif(%znc.rede8,%znc.rede8,SET NETWORK8) :$iif(%znc.rede8,unset %znc.rede8,set %znc.rede8 $$?"What's the NETWORK") | inc %znc.redes ..- ..$iif(%znc.redes,%znc.redes NETWORKS!,FIX NÂș NETWORKS) :$iif(%znc.redes,unset %znc.redes,set %znc.redes $$?"What's the number of networks set?") .MYUSER ..$iif(%znc.user,%znc.user,USER) :$iif(%znc.user,unset %znc.user,set %znc.user $$?"What's your username?") .- .ZNC GLOBAL ..ADDUSER:.msg *controlpanel adduser $$?"What's the username?" $$?"What's your password?" ..DELUSER:.msg *controlpanel deluser $$?"What's the username?" ..- ..ADDNETWORK:.msg *controlpanel addnetwork $$?"What's the username?" $$?"What's the network name?" ..DELNETWORK:.msg *controlpanel delnetwork $$?"What's the username?" $$?"What's the netowrk name?" ..ADDSERVER:.msg *controlpanel addserver $$?"What's the username?" $$?"What's the network name?" $$?"What's the address of the server?" ..DELSERVER:.msg *controlpanel delserver $$?"What's the username?" $$?"What's the network name?" $$?"What's the adress of the server?" ..ADDCHAN:.msg *controlpanel addchan $$?"What's the username?" $$?"What's the network name?" $$?"What's the #chan name?" ..DELCHAN:.msg *controlpanel delchan $$?"What's the username?" $$?"What's the network name?" $$?"What's the #chan name?" ..- ..LISTUSERS:.msg *controlpanel listusers ..LISTNETWORKS:.msg *controlpanel listnetworks $$?"What's the username?" ..LISTSERVERS:.znc listservers ..- ..AUTOREPLY:.msg *autoreply set $$?"What's the away message?" .CONNECT:.z.nc .JUMPNETWORK:.znc jumpnetwork $$?"What's network name?" .- .HELP ..HELP ZNC:.znc help ..CONTROL PANEL:.msg *controlpanel help .- .LASTSEEN:.msg *lastseen show } alias z.nc { set -l %z.ncpass $$?*"What's your ZNC password?" set -l %znc.nredes 1 while (%znc.nredes <= %znc.redes) { if ($null == %znc.rede [ $+ [ %znc.nredes ] ]) { inc %znc.nredes } else { .server -m %znc.ip %znc.port %znc.user $+ / $+ %znc.rede [ $+ [ %znc.nredes ] ] $+ : $+ %z.ncpass } inc %znc.nredes } }