[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  General
. . -> [Subject]  Help with a trigger

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

Help with a trigger

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Kinslayer   (3 posts)  [Biography] bio
Date Wed 14 Sep 2005 11:53 PM (UTC)  quote  ]
Message
Hello,
I play on aardwolf and need a bit of help.
Not alot of people on our tech channel use mush...yet lol
We have an auction where we can buy and sell stuff.
I want to make a trigger that will write what i buy and for how much into a notepad each time i buy something.
Here is a little of the auction text

selling
Goldenwolf is auctioning a delicious Oreo (Level 62, Num 606). Current bid is 100.

Sold to someone else not you
An ethereal blade SOLD to Auri for 5,000 gold.

Something sold to me
A Crystal ball SOLD to Kinslayer for 1,000 gold.

How can i make a trigger that will put the entire sentance of what was sold to me by using the trigger , say , ummm
sold to kinslayer. into a notepad file and save it as well as append each time it fires.

any help would be greatly appreciated : )

Thanks
-kin
[Go to top] top

Posted by Flannel   USA  (1,230 posts)  [Biography] bio
Date Reply #1 on Thu 15 Sep 2005 12:31 AM (UTC)  quote  ]
Message
Is this more of a log type thing? or just a regular MC notepad window (that gets saved).

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
[Go to top] top

Posted by Kinslayer   (3 posts)  [Biography] bio
Date Reply #2 on Fri 16 Sep 2005 12:46 AM (UTC)  quote  ]
Message
I would like it to save to a file i designate.
Haun in aardwolf showd me how to do the scripting part

huan ok, work for me: match text (.* SOLD to Kinslayer for .* gold\.$), send say %1'

Ok now the problem i have is .. i have reg express checked and notepad append.

how can i make it send to a notepad file and save after each append and be able to designate the file it does it to?

Thanks in advance
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


2,360 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]