User Groups - 10/07/06 09:29 AM
This may be intentional but I'm not entirely sure, seems more like an odd bug to me though.
/auser ABC Rand
/auser DEF *!*@*
on DEF:join:#:{ echo -sg Someone who matches DEF has joined # }
This will refuse to work if a user named "Rand" joins, even though DEF is set for all nicks/addresses. >.>
Now, I know there is optional ways to do this, like using $ulist to check to see if there is a match in DEF, or use hash tables to hold the addresses, and then do whatever, but these aren't very optimal ways to do it.
The reason I'm asking is cause I'd prefer if the scripts I write would not interfere with someone elses user groups. While this isn't entirely an issue for me specifically, it may be an issue to those who wish to use my scripts, if they have and use their own named user groups.
/auser ABC Rand
/auser DEF *!*@*
on DEF:join:#:{ echo -sg Someone who matches DEF has joined # }
This will refuse to work if a user named "Rand" joins, even though DEF is set for all nicks/addresses. >.>
Now, I know there is optional ways to do this, like using $ulist to check to see if there is a match in DEF, or use hash tables to hold the addresses, and then do whatever, but these aren't very optimal ways to do it.
The reason I'm asking is cause I'd prefer if the scripts I write would not interfere with someone elses user groups. While this isn't entirely an issue for me specifically, it may be an issue to those who wish to use my scripts, if they have and use their own named user groups.