[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 triggers?
Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Help with triggers?
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Nick Gammon   Australia  (19,513 posts)  [Biography] bio   Forum Administrator
Date Mon 18 Jun 2001 12:54 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Nick Gammon   Australia  (19,513 posts)  [Biography] bio   Forum Administrator
Date Fri 15 Jun 2001 02:33 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Neva   USA  (117 posts)  [Biography] bio
Date Fri 15 Jun 2001 01:36 AM (UTC)  quote  ]
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.
[Go to top] top

Posted by Nick Gammon   Australia  (19,513 posts)  [Biography] bio   Forum Administrator
Date Thu 14 Jun 2001 02:29 AM (UTC)  quote  ]
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
[Go to top] top

Posted by Neva   USA  (117 posts)  [Biography] bio
Date Wed 13 Jun 2001 11:33 PM (UTC)  quote  ]
Message
Okay, I've tried using these, and it's still only highlighting the first line. Strange...
[Go to top] top

Posted by Nick Gammon   Australia  (19,513 posts)  [Biography] bio   Forum Administrator
Date Tue 12 Jun 2001 03:12 AM (UTC)  quote  ]

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
[Go to top] top

Posted by Neva   USA  (117 posts)  [Biography] bio
Date Sat 09 Jun 2001 08:30 PM (UTC)  quote  ]
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.
[Go to top] top

Posted by Nick Gammon   Australia  (19,513 posts)  [Biography] bio   Forum Administrator
Date Fri 08 Jun 2001 04:22 AM (UTC)  quote  ]
Message
Have you checked the "regular expression" box? That will make a difference.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Neva   USA  (117 posts)  [Biography] bio
Date Fri 08 Jun 2001 02:11 AM (UTC)  quote  ]
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?
[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.


3,476 views.

It is now over 60 days since the last post. This thread is closed.   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

[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]    [Web site powered by FutureQuest.Net]