Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ MUSHclient ➜ General ➜ Help with a trigger

Help with a trigger

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Kinslayer   (3 posts)  Bio
Date Wed 14 Sep 2005 11:53 PM (UTC)
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
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #1 on Thu 15 Sep 2005 12:31 AM (UTC)
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.
Top

Posted by Kinslayer   (3 posts)  Bio
Date Reply #2 on Fri 16 Sep 2005 12:46 AM (UTC)
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
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.


13,753 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.