managing the user list with /ruser - 02/10/03 12:54 AM
I'm using version 6.03 and take advantage of the user list to easily identify visitors to my channel according to their roles. For example:
.auser -a 100 $nick 8
then I can discriminate among users by userlevel, either for identification as members of a certain class, or for granting rights to use remote bot commands.
This works well except for two problem area. Address mask form 8 includes nickname, e-mail address, and host name, but(1) users occasionally change their e-mail addresses, and (2) the host name changes if the domain changes, or if the ISP uses IP address instead of DNS name.
After a while, outdated entries clutter the users.ini file. Using /ruser hasn't been as successful as I hoped: the command
/ruser 100 $nick 8
will only remove the entry matching the current user mask, while
/ruser $nick -or- /ruser $nick !
won't match any entry in the users.ini file.
I've specifically chosen address mask form 8 to minimize false matches on visitors who might have the same ISP, especially since the help file entry for /ruser stated that the '$nick !' form would eliminate all entries.
Suggestions will gratefully be accepted on ways to script removal of outdated entries in users.ini.
.auser -a 100 $nick 8
then I can discriminate among users by userlevel, either for identification as members of a certain class, or for granting rights to use remote bot commands.
This works well except for two problem area. Address mask form 8 includes nickname, e-mail address, and host name, but(1) users occasionally change their e-mail addresses, and (2) the host name changes if the domain changes, or if the ISP uses IP address instead of DNS name.
After a while, outdated entries clutter the users.ini file. Using /ruser hasn't been as successful as I hoped: the command
/ruser 100 $nick 8
will only remove the entry matching the current user mask, while
/ruser $nick -or- /ruser $nick !
won't match any entry in the users.ini file.
I've specifically chosen address mask form 8 to minimize false matches on visitors who might have the same ISP, especially since the help file entry for /ruser stated that the '$nick !' form would eliminate all entries.
Suggestions will gratefully be accepted on ways to script removal of outdated entries in users.ini.