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 ➜ Spawning to Notepad

Spawning to Notepad

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


Posted by Jkoster   USA  (8 posts)  Bio
Date Wed 28 Jan 2004 10:25 PM (UTC)
Message
For some reason, I can't send certain things to notepad.

In my trigger, it reads:

^\[Centipede\]

And then %0 in the send window. It's selected to send to notepad(Append).

What am I doing wrong?

Oh, the output I get normally is:

[Centipede} (Name)> Blah blah blah
or
[Centipede] * (Name) does something on the channel.

Thanks for your help.

[j]
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #1 on Wed 28 Jan 2004 11:15 PM (UTC)
Message
Your first example output:

[Centipede} (Name)> Blah blah blah

will not match because it has a brace "}" in it instead of "]", or is that a misprint?

Can you paste a few lines that:

* match
* don't match

so we can see what the problem is.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Jkoster   USA  (8 posts)  Bio
Date Reply #2 on Wed 28 Jan 2004 11:48 PM (UTC)
Message
[Centipede] * Karena gahs.
[Centipede] Davin> Eh?

These are examples of how the channel looks. The first is a channel-wide emote, the second is a channel say.

The } was a misprint, by the way.

[j]
Top

Posted by Nick Gammon   Australia  (23,165 posts)  Bio   Forum Administrator
Date Reply #3 on Wed 28 Jan 2004 11:59 PM (UTC)
Message
Do you have "regular expression" checked?

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

Posted by Flannel   USA  (1,230 posts)  Bio
Date Reply #4 on Thu 29 Jan 2004 01:36 AM (UTC)
Message
Also try doing nothing but highlighting the line, to see if the trigger is matching at all.
Assuming you do have Regular Expressions checked, you most likely have some whitespace somewhere which is causing the trigger to not match. You can try highlighting over the line with your cursor to see any spaces you mightve previously overlooked.

~Flannel

Messiah of Rose
Eternity's Trials.

Clones are people two.
Top

Posted by Jkoster   USA  (8 posts)  Bio
Date Reply #5 on Thu 29 Jan 2004 09:44 PM (UTC)

Amended on Thu 29 Jan 2004 09:51 PM (UTC) by Jkoster

Message
Never mind. I found a way to get what I need. Just looked around in the "fun with triggers" section long enough until it clicked.

Thanks for the help!!


[j]
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.


17,415 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.