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.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Ignoring color codes.
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Dace K
Canada (169 posts) Bio
|
Date
| Sat 12 Jun 2004 09:55 PM (UTC) |
Message
| Is there any way to get smaug to ignore color codes, especially in triggers for mud progs?
Only, it would be quite nice not to have to always have to enter in triggers like
act p puts the unicorn medal&w in an old fountain.
..yeah.
|
ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com
Drop by the area archives and find something for your mud. http://areaarchives.servegame.com | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #1 on Sun 13 Jun 2004 05:00 AM (UTC) |
Message
| Yeah, there can be, but not a default one. You would need to make a new trigger type, "actignorecolor" or something, have it an exact duplicate of the normal act trigger check, and just have it strip out the color from the string. If you need a strip_color function, I'm sure there are several different ones available on this forum. Hope that helps. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
Posted by
| Dace K
Canada (169 posts) Bio
|
Date
| Reply #2 on Tue 15 Jun 2004 06:24 AM (UTC) |
Message
| Thanks, that should do it. |
ASJ Games - .Dimension 2, Resident Evil, and snippets - oh my!
http://asj.mudmagic.com
Drop by the area archives and find something for your mud. http://areaarchives.servegame.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.
9,867 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top