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 help coding an Aspace dispenser

Need help coding an Aspace dispenser

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


Posted by Logan Orion   (1 post)  Bio
Date Mon 26 Jan 2009 09:17 PM (UTC)
Message
PennMUSH version 1.8.3 patchlevel 6

I'm looking for some help coding a dispenser that locks items so you can only give them back to the dispenser they originated from. Such as a Phaser Dispenser.

The dispenser should create a preloaded item when the command 'Dispense Phaser' is entered. Then only allow the item to be given to the same dispenser that it was created from.

Then when the command 'give phaser to dispenser' it should take the item, @nuke the item, and add to a counter so you know how many items can be created. You must have given the dispenser an item for it to create a new one.

The items created from the dispenser should still be able to be passed to other people as well as dropped and picked up.

If anyone can help me out please let me know.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 28 Jan 2009 07:27 PM (UTC)
Message
It has been a while since I worked on PennMUSH, and it doesn't seem anyone else here is going to answer. We tend to focus on SMAUG-based MUDs here as a general rule.

Probably for a quicker answer, try the PennMUSH forums:

http://community.pennmush.org/


- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


11,731 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.