Daktyl198 Posted September 4, 2013 Share Posted September 4, 2013 Is this even possible, short of using a command to view and parse the access list? I wanted to make a few of the PHP Bot commands available to only ops and above, so that means access level >= 5. Thanks in advance for any and all help you can give me Link to comment https://forums.phpfreaks.com/topic/281839-read-user-access-level-in-irc/ Share on other sites More sharing options...
derwert Posted September 5, 2013 Share Posted September 5, 2013 Like you said the best way would be to parse the access list. You could also just check the users current mode i.e. see if they have +h +o etc but you'll want to keep in mind in that case that a user can be given temporary access by another op which if the user were to leave the room and come back in they would no longer have the access. So it really boils down to what criteria you want to go by. Edit: You'll also want to keep in mind that you'll want to ensure the user is authenticated to the IRC services before allowing them any access. Link to comment https://forums.phpfreaks.com/topic/281839-read-user-access-level-in-irc/#findComment-1448202 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.