<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
hmm, returns this:<br>
<br>
[string "trigger "Trade Value" (U-0x57b870-46e37d22-1-6b8b4567)"]:1:
unexpected symbol near `$'<br>
<br>
Kevin Reid wrote:
<blockquote cite="mid:755E3AD6-0710-4900-A7BC-C1DEF80B9D18@mac.com"
type="cite">
<pre wrap="">On Sep 8, 2007, at 20:18, Trey Holliday wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->...
</pre>
<blockquote type="cite">
<pre wrap="">I get this from the game:
We will pay you 205240 gold for each crate.
</pre>
</blockquote>
<pre wrap=""><!---->...
</pre>
<blockquote type="cite">
<pre wrap="">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.
</pre>
</blockquote>
<pre wrap=""><!---->
MudWalker scripts cannot write to files. This is deliberate;
otherwise, using a connection document you got from someone else
could do harmful things (much like Word macro viruses).
However, here's something that might do the job.
Match patterns:
^We will pay you (\d+) gold for each (.*)\.$
Direct to channel: Trading Data
Substitute text: $(arg[1])$,"$(arg[2])$"
With this trigger enabled, every line in the response format you show
above will appear in a separate window in CSV format. You can select
and copy the text out, and close the window when you're done.
</pre>
</blockquote>
</body>
</html>