Top Mud Sites Forum Return to TopMudSites.com
  Top Mud Sites Forum > Mud Development and Administration > MUD Builders and Areas
Read-only archive
The Top Mud Sites forum is closed.
Posting, registration and logins are disabled.

 
Old 01-03-2003, 11:23 PM   #1
ChronoC
New Member
 
Join Date: Dec 2002
Posts: 6
ChronoC is on a distinguished road
I'm trying to find a way to have a mob restring an item that a player buys. I'm thinking that the player types in the desired string as they buy the item, and then the mob would string by 'echoing' that string.

I'm doing this for a lottery ticket so let's use that:

player: buy ticket 23 34 12 45 32

I need to have the mob string the object to include those numbers. Does anyone have any suggestions on how to do this?
 
Old 01-04-2003, 05:30 AM   #2
Molly
Senior Member
 
Join Date: Apr 2002
Location: Sweden
Home MUD: 4 Dimensions
Posts: 574
Molly will become famous soon enoughMolly will become famous soon enough
Sorry, but I actually don't think there is any way to do that, either with mob_progs or the more advanced DG_scripts, it's just not sustained by the script code..

You can make a mob use lots of imm commands with scripts, but not OLC commands like restring. If you want a mob to load an object, that object has to have been created in advance.

You must figure out a way to work around the restrictions, I'm afraid.
 
Old 01-04-2003, 03:25 PM   #3
Ogma
Member
 
Ogma's Avatar
 
Join Date: Apr 2002
Home MUD: DartMUD
Posts: 86
Ogma is on a distinguished road
I can think of a number of ways to do it off the top of my head in LPMud, but I suppose that doesn't help. You didn't say which codebase you were using.
 
Old 01-04-2003, 06:20 PM   #4
ChronoC
New Member
 
Join Date: Dec 2002
Posts: 6
ChronoC is on a distinguished road
ROM codebase, please let me know what works for yours and perhaps, if it doesn't already work for ROM, I can change it until it does.
Thanks
 




All times are GMT -4.


Powered by vBulletin® Version 3.6.7
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
Style based on a design by Essilor
Copyright Top Mud Sites.com 2022