Create Objects Dynamically?

blackey
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
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
Thank you!

This topic is now closed. Topics are closed after 60 days of inactivity.

Support

Forums