|
swoops Newbie
Joined: 06 Oct 2006 Posts: 1
|
Posted: Fri Oct 06, 2006 2:54 pm
Need help with equipment sorting script. |
I am currently playing a mud that generates large amounts of items that must be identified quite often, as such reading the stats on each and every item becomes extremely tedious. I was wanting to make a script that when I identified an item, if the total amount of INT, CON, and WIS, was greater than 80, would put the item in a bag called "gear". I honestly have no idea where to start with this as I'm kinda new to zmud, and mudding for that matter. Any help with this would be greatl. Here is a sample of the information I recieve when identifying an item. Thanks in advance.
Object 'unique armor plate gauntlets' is type armor, extra flags rare.
This item needs 150000 gold coins before it can be refined.
Armor class is 139. [+172% Enhanced Defense]
This item is covered with large spikes.
Affects strength by 20.
Affects intelligence by 10.
Affects wisdom by 10.
Affects dexterity by 30.
Affects constitution by 10.
Affects agility by 20. |
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Oct 06, 2006 11:21 pm |
Properly relocated by move to General Discusssion and deleted Vitae's post about that.
I would suggest searching through the forums for a post of mine about databasing and whether something would be a good addition to the help. I used to routinely capture similar outputs and database them; so a large part of the code in that post would be useful to you. It would cover the entire capture and parsing (with a few minor tweaks to look at your specifics), and most of what you would have to do is remove the portions that look to store it in the database. |
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|