how can i take away .additem for a GM Rights
how can i take away .additem for a GM Rights
i didn't compile the server
Apply this to your world DB.
Makes it so only admins can use .additem. Also once youve applyed it, in-game type .reload command_overridesCode:insert into `command_overrides` (`command_name`, `access_level`) values ('additem', 'z'); insert into `command_overrides` (`command_name`, `access_level`) values ('additemset', 'z');
This was edited, first post was wrong sorry.
Last edited by comcal; 05-17-2008 at 10:28 PM.
Then you have to make a custom GM rank.
lilvic he wants to take away it... you need to edit Chat.cpp or Gast. couldn't you just comment up /* */ that command?
If you didn't compile the server then your doomed.
This question has been answered with those 2 SQL statements
LOL no it hasn't its funny how you think that.
According to
Command overrides - Ascent Wiki
He is right.
how can i take away .additem for a GM RightsThis is a good idea but just assigns it to Admins which is already present. It would NOT remove it from its current group for GMs. He wants to remove them for GMs. So he would have to edit Chat.cpp or comment up the command and add it to the Level3.cpp file.
insert into `command_overrides` (`command_name`, `access_level`) values ('additem', 'z');
insert into `command_overrides` (`command_name`, `access_level`) values ('additemset', 'z');
No, your wrong. Did you even read the ascent wiki?
Here you can modify the default access flag requirement for GM commands.
Command_name - This is the place to put in the desired command
Access_level - Here goes the new flag this command should use now.
E.g: Want to make the command ".mod gold" only usable by "a" flag users?
command_name | access_level
-----------------------------------------------
mod gold | a