I'm trying to remove users based on a certain word in their info instead of purging the entire userlevel.
I have this, but it doesn't do anything.
alias rem.some.users {
var %u = 1
while $ulist([color:red]My.user.level[/color],%u) {
if ([color:red]one.word.of.the.info[/color] isin $ulist($address($nick,3),[color:red]My.user.level[/color],%u).info)
ruser [color:red]My.user.level[/color] $nick 3
else {
inc %u
}
}
}
Any suggestions would be appreciated.