<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
</head>
<body bgcolor="#ffffff" text="#000000">
I am a player on Medievia (jokotai) who is trying to write a MudWalker
replacement for MudMaster and zMud trade run scripts. Basically, in
this game, you can run from one trade post to another and earn profit
by buying and selling. The MudMaster and zMud scripts allow you to see
what your net profit will be at a trade post by valuing all of the
possible items and multiplying that times the number you can carry in a
certain type of hauling beast. Not being a programmer, I have
difficulty figuring out how to duplicate this in Lua. This gives me
some advantage, however, since I have the opportunity to make the
values display in a separate window (on a spreadsheet, no less), when
all other scripts have to use the same display window as the one I'm
attempting to game in.<br>
<br>
What I want to do is be able to capture values from a string using a
trigger, and put those values into a table I've made using Open
Office. It will even be fine if I have to manually cut and paste the
values from a separate file. I've made aliases in MudWalker in order
to make sure that each item is valued in order.<br>
<br>
When I pass an alias with the following commands to the system:<br>
<blockquote>value weapons<br>
value chains<br>
value pelts<br>
value armor<br>
value mead<br>
</blockquote>
<br>
I get this from the game:<br>
<blockquote>We will pay you 205240 gold for each crate.<br>
<br>
We will pay you 193844 gold for each spool.<br>
<br>
We will pay you 148232 gold for each bundle.<br>
<br>
We will pay you 285068 gold for each trunk.<br>
<br>
We will pay you 148232 gold for each keg.<br>
</blockquote>
In total, there are 80 different traded items in the game. I just need
MudWalker to capture these values (just the numbers) in order and place
them in a table as a separate file (csv or otherwise) on my desktop or
in a folder therein. It would save me tons of time in data entry.<br>
<br>
Any suggestions? <br>
<br>
</body>
</html>