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 triggers?

Help with triggers?

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


Posted by Neva   USA  (117 posts)  Bio
Date Fri 08 Jun 2001 02:11 AM (UTC)
Message
Meep. I haven't had problems with this in a long time, but since moving to the new version, without the default triggers there, I can't seem to get my channel-trigger... which I've set up to look just like the one from an older world that works, as far as I can see... to evaluate for all the lines of a given channel-pose.

Any idea what I could be doing wrong, and how to fix this?
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Fri 08 Jun 2001 04:22 AM (UTC)
Message
Have you checked the "regular expression" box? That will make a difference.

- Nick Gammon

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

Posted by Neva   USA  (117 posts)  Bio
Date Reply #2 on Sat 09 Jun 2001 08:30 PM (UTC)
Message
Yes, it's checked. Everything looks exactly like it does in the original world. Along a similar thought, it might be nice if you could provide a trigger-file with all the old ones in it, just to make creation of new worlds a little easier.

I also just looked and tried copying down what you had on the release notes for 3.06... that doesn't work, either.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #3 on Tue 12 Jun 2001 03:12 AM (UTC)

Amended on Tue 12 Jun 2001 03:14 AM (UTC) by Nick Gammon

Message

OK, good idea. Click on the link below to get a copy of the triggers that used to be in earlier versions of MUSHclient:

MUSH triggers for MUSHclient (389 bytes).

You will need to go to the world Configuration screen -> triggers tab, and then click on Load, to load these triggers in.


- Nick Gammon

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

Posted by Neva   USA  (117 posts)  Bio
Date Reply #4 on Wed 13 Jun 2001 11:33 PM (UTC)
Message
Okay, I've tried using these, and it's still only highlighting the first line. Strange...
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #5 on Thu 14 Jun 2001 02:29 AM (UTC)
Message
Ah I see. Depending on which MUD you are on this might happen.

MUSH and MUCK's tend to send things down as a paragraph, whereas Diku-style MUDs might have each line as a separate line, and a trigger will only match on a line (paragraph). In other words it will match up to a newline.

You can tell the difference, as MUSHclient indents the second and subsequent lines of paragraphs. Are the ones in question indented or not?

- Nick Gammon

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

Posted by Neva   USA  (117 posts)  Bio
Date Reply #6 on Fri 15 Jun 2001 01:36 AM (UTC)
Message
The problem with this is that one, this is a MOO, and two, it's a MOO that I have another character on, and the other character's world works just fine. This is just bizarre.
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #7 on Fri 15 Jun 2001 02:33 AM (UTC)
Message
Send me an email with the world file in it (blank out your password and character name), so I can try it myself. :)

- Nick Gammon

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

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #8 on Mon 18 Jun 2001 12:54 AM (UTC)
Message
OK, problem solved, I think. :)

Your problem is that the MOO is wrapping lines for you, thus MUSHclient is actually getting two lines, not one big one, and the trigger is only matching the first line. I logged on to the MOO and took a look at this help:


help @linelength
Syntax:  @wrap <on|off>
         @wrap

         @linelength <number>
         @linelength

If the lines you see get cut off at the edge of your screen (you don't have
word-wrap), you can get LambdaMOO to split lines for you.  The @linelength
command tells the MOO how many columns you have on your screen--you probably
want @linelength 79--and "@wrap on" tells the MOO you want it to do word-
wrap.

It's better if you can fix this problem without LambdaMOO's help, though,
because the MOO's solution will be slower than a local solution, and
because not all MUDs are willing to do word-wrap.





I tried typing @wrap, and found wrap was on. When I turned it off (@wrap off) the problem went away.


@wrap
Usage: @wrap on|off
Word wrap is currently on.
@wrap off
Word wrap is now off.


Of course this was for the guest character, but I bet your character is set up the same. :)


- Nick Gammon

www.gammon.com.au, www.mushclient.com
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.


29,534 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.