need to lock a command to roy and wiz

Posted by Vchat20 on Sun 26 Mar 2006 07:58 PM — 3 posts, 16,670 views.

USA #0
So here's the deal. I'm a co-wizard of a MUSH over at www.lyokomush.com . Lets just say weve got a disgruntled ex-player who is coming in and examining every object in site and stealing our code for his own copycat MUSH. What I'd like to do is lock the examine command so only royals and wizard's can use it since it really has no purpose to mortal's. Is there any way to accomplish this? thx :)
Australia Forum Administrator #1
Surely there is a flag that you can easily set to do this? Whatever you do to prevent normal players doing a @shutdown, etc., do that to @examine.
#2
Commands like @shutdown are locked to wizards only from a vanilla version of PennMUSH. No special tweaking is required for that.

To lock a command to royals and wizards only, do '@command/restrict <command>=roy wiz'.

I prefer to lock commands to royal, wizards, AND the builder power, just for safety. For this case, you can use '@command/restrict <command>=roy wiz build'.

Unfortunately, PennMUSH doesn't allow you to restrict a command to people that DON'T have a flag on them, or else that would be the best solution in my opinion.