Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ PennMUSH ➜ Running the server ➜ need to lock a command to roy and wiz

need to lock a command to roy and wiz

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Vchat20   USA  (7 posts)  Bio
Date Sun 26 Mar 2006 07:58 PM (UTC)
Message
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 :)
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Tue 28 Mar 2006 05:53 AM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Aelita   (1 post)  Bio
Date Reply #2 on Sun 02 Apr 2006 08:47 AM (UTC)
Message
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.

Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


14,841 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.