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 ➜ Trigger not colouring...

Trigger not colouring...

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


Posted by NeoFryBoy   USA  (42 posts)  Bio
Date Wed 07 Jun 2006 09:32 AM (UTC)
Message
I have this trigger to make any line that starts with an asterisk stand out bright yellow. For some reason I can't figure out, it won't colour the lines, but it does match on them properly, and if I put stuff in the send field it send it.

<triggers>
<trigger
custom_colour="17"
colour_change_type="2"
enabled="y"
match="^\*(.*?)$"
regexp="y"
sequence="100"
other_text_colour="yellow"
>
</trigger>
</triggers>
Top

Posted by Ked   Russia  (524 posts)  Bio
Date Reply #1 on Wed 07 Jun 2006 09:44 AM (UTC)
Message
You had it set to change the background colour only, and the new colour for background was set to black. So it was colouring properly, only on a black background the colour change couldn't be seen. The problem is fixed by setting the trigger to colour "Both":


<triggers>
  <trigger
   custom_colour="17"
   enabled="y"
   match="^\*(.*?)$"
   regexp="y"
   sequence="100"
   other_text_colour="yellow"
  >
  </trigger>
</triggers>
Top

Posted by NeoFryBoy   USA  (42 posts)  Bio
Date Reply #2 on Thu 08 Jun 2006 03:00 AM (UTC)
Message
Bah. Thanks.
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.


12,371 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.