/iban nick
/iunban nick
/invlist
if they are inv listed they cannot invite you to any channel
*turn auto join on invite OFF
**edit chanserv will auto join
alias c1 { return $+(10,$1-) }
alias c2 { return $+(04,$1-) }
on *:invite:#:{
if (*chanserv* iswm $nick) { join $chan }
if (!%iban. [ $+ [ $address($nick,2) ] ]) {
join $chan
}
else notice $nick 10Your blocked from inviting4 $me $+ 10.
}
alias iban {
if (!%iban. [ $+ [ $address($1-,2) ] ]) {
set %iban. [ $+ [ $address($1-,2) ] ] yo
set %invlist $addtok(%invlist,$1-,44)
echo -t 4 $1- 10 $chr(47) 4 $address($1-,2) 10Now listed.
}
else echo -t 4 $1- 10 $chr(47) 4 $address($1-,2) 10is already inv listed.
}
alias iunban {
if (%iban. [ $+ [ $address($1-,2) ] ]) {
unset %iban. [ $+ [ $address($1-,2) ] ]
set %invlist $remtok(%invlist,$1-,44)
echo -t 4 $1- 10 $chr(47) 4 $address($1-,2) 10Now unlisted.
}
else echo -t 4 $1- 10 $chr(47) 4 $address($1-,2) 10is not inv listed.
}
alias invlist {
echo -t 10[LIST] Inv listed nicks:
echo -t $iif(%invlist,$+($c1,$replace(%invlist,$chr(44),$+($c2,$chr(44),$c1))),10No nicks listed.)
}