Firstmate commented on a Page, Quote System  -  Aug 02, 2008

hmm, quick question, how would you make it so that it adds to the banlist by hostname/address or something.
That way they can\'t just change their name.
Would it be:

menu nicklist {
  .Add/Del user\'s
  ..$iif($1 isin %Quote.list,$style(2)) Add $+($chr(40),$1,$chr(41)): { set %Quote.list $addtok(%Quote.list,$address($1,1),32) | echo -a User $+($chr(40),$1,$chr(41)) has been added. }
  ..$iif($1 !isin %Quote.list,$style(2)) Del $+($chr(40),$1,$chr(41)): { set %Quote.list $remtok(%Quote.list,$address($1,1),1,32) | echo -a User $+($chr(40),$1,$chr(41)) has been removed. }
  ..$iif(!%Quote.list,$style(2)) $+($chr(91),$numtok(%Quote.list,32),$chr(93)) $+(User\'s,$chr(58)) List them: { echo -a $gettok(%Quote.list,1-,32) }
}

Ty for the snippet too.

Lol No one rated it :(

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.