General > Developers Corner
Commands without category?
TheNoobKid:
Hello.
Isn't it possible to make commands in ULX without making them into a category in ULX !menu.
I tried to remove the category code from the code, but it's screwing up.
Bytewave:
Free-floating commands are unsupported, as far as i know. If you specify nil as the category name, they go into the section named "_UncategorizedCmds", if I recall correctly.
TheNoobKid:
Doesn't work.
The problem is that I have a undercover script, but everyone can use it and that is after I restrict it to superadmins only.
--- Quote ---undercover:defaultAccess( ULib.ACCESS_SUPERADMIN )
--- End quote ---
When I remove admins access to it via ULX groups etc, then no one can use it..
Bytewave:
--- Quote from: TheNoobKid on March 09, 2016, 09:43:22 AM ---Doesn't work.
The problem is that I have a undercover script, but everyone can use it and that is after I restrict it to superadmins only.
When I remove admins access to it via ULX groups etc, then no one can use it..
--- End quote ---
Hang on... reword that, I'm confused.
Can you post your code? I'm not sure what exactly your issue is now.
Megiddo:
Categories are completely separate from permissions. Categories are just a way to organize things in the menu and help, they have no other purpose.
Otherwise, I agree with Bytewave in confusion as to what your underlying issue is.
Navigation
[0] Message Index
[#] Next page
Go to full version