No, you can not allow certain profiles to use commands which you have written or created. Instead, you'd have to handle this from your own scripts. For example, let's say you have profile levels from 0 (Master) to 6 (regular user) along with the profile -1 for unregistered users.
If you want your command to be accessible by only certain profiles, create a hash table:
No, you can not allow certain profiles to use commands which you have written or created. Instead, you'd have to handle this from your own scripts. For example, let's say you have profile levels from
0
(Master) to6
(regular user) along with the profile-1
for unregistered users.If you want your command to be accessible by only certain profiles, create a hash table:
and then, in your
ChatArrival
orToArrival
functions, you can match the user's profile against the has table created above:This is true for the GUI client for Windows as well. You can look over a few of my own scripts for reference.