Jump to content

nick and the lives of the players


RARI

Recommended Posts

  • Moderators

Another way would be manually modify the ACL:

<right name="command.theCommand" access="false" />

<right name="command.theCommand" access="true" />

And set restricted to true (this is the syntax for addCommandHandler):

bool addCommandHandler ( string commandName, function handlerFunction [, bool restricted = false, bool caseSensitive = true ] )

This will restrict specific commands based on the ACL.

 

The choice depends where you want the restriction/validation being placed. During executing the command or in the function of the script.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...