PennMUSH Community

Ticket #7610 (new suggested feature)

Opened 5 months ago

Last modified 4 months ago

Databasenumber assignment on creation.

Reported by: Mercutio Assigned to:
Priority: minor Milestone:
Keywords: @create Database Assignment Cc:
Visibility: Public

Description

I am porting over code from an old MUSH to a newer version of Pennmush, and its coder has relied heavily upon the use of straight DBnumbers. Now, I could try to figure out what all those DBnums used to be, but I had a different idea all together while looking at this.

Is there a way to create a hardcode patch for @create where one could assign an object a certain DB number, if that DBnumber is NOT taken yet?

Syntax would be like: @create/db <DB>=<NAME> And only be able to be run by staff.

Attachments

create-dbref.patch.txt (8.1 kB) - added by Talvo on 06/05/08 18:44:26.
Extends @create syntax to @create <name>[=<cost>[,<dbref>]] and create(<name>[,<cost>[,<dbref>]])

Change History

06/05/08 18:44:26 changed by Talvo

  • attachment create-dbref.patch.txt added.

Extends @create syntax to @create <name>[=<cost>[,<dbref>]] and create(<name>[,<cost>[,<dbref>]])

06/10/08 06:20:04 changed by Mercutio

That worked. Thank you. <3