How do I change @sex into a wizard only command?

javelin's picture

How do I change @sex into a wizard only command?

I don't want players to be able to change their sex once they get out of character generation. I figure the best way to do this is make it a wizard only command, create a wizard object in character generation and create commands on it that set gender (i.e. &command_male gender=@male:@sex *%#=Male). But how do I turn @sex into a wizard only command?

@sex isn't actually a command, it's an attribute. See help @attribute for how to make it a 'wizard' attribute, which will prevent mortals from setting or changing it.

2012-02-13 javelin