[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Ignoring color codes.

Ignoring color codes.

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


Posted by Dace K   Canada  (169 posts)  [Biography] 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
[Go to top] top

Posted by Greven   Canada  (835 posts)  [Biography] 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
[Go to top] top

Posted by Dace K   Canada  (169 posts)  [Biography] 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
[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.


9,024 views.

It is now over 60 days since the last post. This thread is closed.     [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.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]