It seems to me he wants a code to identify the users added with the admin user level upon joining.

My example compares one nick with the user list at a time when he or she joins a channel where the code is run.

Riamus2's example works well for a text event based operation, where it will message multiple nicknames at the same time, depending on how many nicknames your network supports for multiple targets.

Then again, I could have misunderstood his main intent for a desired code.