/rnicks {
var %i = 0
while (%i < $nick($1,0)) {
inc %i
var %nick = $nick($1,%i)
if $($+(%,varcheck,.,%nick,$1),2) {
echo -a $nick($1,%i) yes
}
else echo -a $nick($1,%i) no
}
}
thats in my aliases section and it does not work, i have the right variables set and used echo to try and debug but i dont know what my mistake is
this sets the variable
Code:
ON @!*:JOIN:#: {
set -u30 $+(%,varcheck,.,$nick,$chan),2)
}