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 Quote Link to comment Share on other sites More sharing options...
derwert Posted September 5, 2013 Share Posted September 5, 2013 (edited) 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. Edited September 5, 2013 by derwert Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.