Create Objects Dynamically?

blackey
15 Nov 2004, 21:25
Is there a way to create objects dynamically? I'd like to allow for certain characters to create things (ie. weapons). This way a room could be used as a shop and allow for players to buy things from another player.

Thanks,
Brandon

I think Im Dead
15 Nov 2004, 23:53
That's a generic command, but shows you basically how to create an object with a user specified name, you can also try reading the documentation, with that to help you, you should be able to work something out.


command <make #new-object[userid]#> {
create object <#new-object[userid]#$rand(1;9999)$; #quest.currentroom[userid]#>
msg <You created a #new-object[userid]#.|n>
}

Anonymous
16 Nov 2004, 03:10
Thank you!