Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alias test_nicks {
- if (!$1) { echo -a Error: Enter nicks! | return }
- var %nicks = $1-
- var %total = $numtok(%nicks,32)
- var %index = 1
- while (%index <= %total) {
- var %nick = $gettok(%nicks,%index,32)
- if (!$chkbadnick(%nick)) { echo -at Nick NOT matching! -> %nick | return }
- inc %index
- }
- echo -at Ok all nick(s) matching.
- }
- alias chkbadnick { return $regex($1,/^(?!debian$)[-a-z_`|{}^\[\]\d]*d+[e3]+b+[1i]+[a]+n+[-a-z|_`^\[\]{}\d]*$/) }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement