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
➜ Triggers matching on multiple colours. Possible?
|
Triggers matching on multiple colours. Possible?
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
| Posted by
| Daved
(12 posts) Bio
|
| Date
| Wed 01 Dec 2010 10:33 PM (UTC) |
| Message
| You have cured right_arm_broken.
You are afflicted with right_arm_broken.
In aetolia, these two lines have multiple colours in them.
'You are afflicted with' is one colour, and the period at the end of the line is also that colour, however 'right_arm_broken' is a different colour. Having the triggers match on the colours will prevent illusions from working on me. Advice please? | | Top |
|
| Posted by
| Nick Gammon
Australia (23,173 posts) Bio
Forum Administrator |
| Date
| Reply #1 on Wed 01 Dec 2010 10:43 PM (UTC) |
| Message
|
In particular, the thread linked to there:
You can use the ideas there to find what column a particular word is (eg. right_arm_broken) and then use the GetStyle function described there to find the style (including the colour) of the word at that column |
- Nick Gammon
www.gammon.com.au, www.mushclient.com | | Top |
|
| Posted by
| Daved
(12 posts) Bio
|
| Date
| Reply #2 on Wed 01 Dec 2010 11:24 PM (UTC) |
| Message
| |
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.
14,507 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top