|
Ethemos1 Newbie
Joined: 09 Feb 2006 Posts: 7
|
Posted: Wed Jun 07, 2006 10:52 am
Semish newbie, needs a little help. |
I have two problems the first is not a big one, just an annoying one, the second is a huge problem for me, so here I go.
Problem 1)
I play a mud which has no color, so I trigger words with #CW (color name),
but then let's say if I trigger "up" with the color cyan.. then any word containing the letters "up" will be cyan. I want only that spesific word to be colored how do I do that ?.
(Problem 1.1)
There are so many color name, I could REALLY use a color wheel which shows me the color and color name so I don't have to test out 70 different colors to find something I think is fitting for what I need it for.
Problem 2 (This I REALLY need help with)
I of course like many have trouble remembering the paths of an entire mud so I use the zmud mapper. With that comes a few problems.
1) The rooms changes names if there is fog, light, dark (dark as in dark not totaly black) and hence if I am in the middle of mapping it will start overriding old rooms, and I can no longer speed walk, nor can I map the damned area.
2) In just regular follow mode, the zmud mapper will decide to not bother to follow my steps. so if I walk from any room to any other room it will not follow it on the map, so mapwise I'm still standing in the same room, even if I traveled the entire mapped globe.
Does anyone know how to remedy this, or perhaps have a script which I could use.
I don't care about room names etc. I just want
1) That zmud maps the damned room I got to no matter what it is called
2) That zmud follows where I walk when I am mapping or just plain walking.
Regards
Mikael aka Ethemos
PS: Thank you for any help you can provide.
|
|
_________________ There can be no order without chaos |
|
|
|
shalimar GURU
Joined: 04 Aug 2002 Posts: 4690 Location: Pensacola, FL, USA
|
Posted: Wed Jun 07, 2006 10:56 am |
#TR {%qup%q} {#CW blah}
surrounding the stuff in %q will usually work
you can use hexidecimal colors as well if you want, #123456 |
|
_________________ Discord: Shalimarwildcat |
|
|
|
Ethemos1 Newbie
Joined: 09 Feb 2006 Posts: 7
|
Posted: Wed Jun 07, 2006 10:59 am |
Thank you, I will give it a try
|
|
_________________ There can be no order without chaos |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Wed Jun 07, 2006 11:24 am |
Could you provide some examples of how the room name changes in various situations?
|
|
_________________ Kjata |
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Wed Jun 07, 2006 7:29 pm |
For Problem 1.1
Yes I actually DID this. I had wanted the same thing. To know what each color looked like:
#ALIAS colortest {#echo "~<color aliceblue>aliceblue ~</color>~<color antiquewhite>antiquewhite ~</color>~<color aqua>aqua ~</color>~<color aquamarine>aquamarine ~</color>~<color azure>azure ~</color>~<color beige>beige ~</color>~<color bisque>bisque ~</color>~<color black>black ~</color>~<color blanchedalmond>blanchedalmond ~</color>~<color blue>blue ~</color>~<color blueviolet>blueviolet ~</color>~<color brown>brown ~</color>~<color burlywood>burlywood ~</color>~<color cadetblue>cadetblue ~</color>~<color chartreuse>chartreuse ~</color>~<color chocolate>chocolate ~</color>~<color coral>coral ~</color>~<color cornflowerblue>cornflowerblue ~</color>~<color cornsilk>cornsilk ~</color>~<color crimson>crimson ~</color>~<color cyan>cyan ~</color>~<color darkblue>darkblue ~</color>~<color darkcyan>darkcyan ~</color>~<color darkgoldenrod>darkgoldenrod ~</color>~<color darkgray>darkgray ~</color>~<color darkgreen>darkgreen ~</color>~<color darkkhaki>darkkhaki ~</color>~<color darkmagenta>darkmagenta ~</color>~<color darkolivegreen>darkolivegreen ~</color>~<color darkorange>darkorange ~</color>~<color darkorchid>darkorchid ~</color>~<color darkred>darkred ~</color>~<color darksalmon>darksalmon ~</color>~<color darkseagreen>darkseagreen ~</color>~<color darkslateblue>darkslateblue ~</color>~<color darkslategray>darkslategray ~</color>~<color darkturquoise>darkturquoise ~</color>~<color darkviolet>darkviolet ~</color>~<color deeppink>deeppink ~</color>~<color deepskyblue>deepskyblue ~</color>~<color dimgray>dimgray ~</color>~<color dodgerblue>dodgerblue ~</color>~<color firebrick>firebrick ~</color>~<color floralwhite>floralwhite ~</color>~<color forestgreen>forestgreen ~</color>~<color fuchsia>fuchsia ~</color>~<color gainsboro>gainsboro ~</color>~<color ghostwhite>ghostwhite ~</color>~<color gold>gold ~</color>~<color goldenrod>goldenrod ~</color>~<color gray>gray ~</color>~<color green>green ~</color>~<color greenyellow>greenyellow ~</color>~<color honeydew>honeydew ~</color>~<color hotpink>hotpink ~</color>~<color indianred>indianred ~</color>~<color indigo>indigo ~</color>~<color ivory>ivory ~</color>~<color khaki>khaki ~</color>~<color lavender>lavender ~</color>~<color lavenderblush>lavenderblush ~</color>~<color lawngreen>lawngreen ~</color>~<color lemonchiffon>lemonchiffon ~</color>~<color lightblue>lightblue ~</color>~<color lightcoral>lightcoral ~</color>~<color lightcyan>lightcyan ~</color>~<color lightgoldenrodyellow>lightgoldenrodyellow ~</color>~<color lightgreen>lightgreen ~</color>~<color lightgrey>lightgrey ~</color>~<color lightpink>lightpink ~</color>~<color lightsalmon>lightsalmon ~</color>~<color lightseagreen>lightseagreen ~</color>~<color lightskyblue>lightskyblue ~</color>~<color lightslategray>lightslategray ~</color>~<color lightsteelblue>lightsteelblue ~</color>~<color lightyellow>lightyellow ~</color>~<color lime>lime ~</color>~<color limegreen>limegreen ~</color>~<color linen>linen ~</color>~<color magenta>magenta ~</color>~<color maroon>maroon ~</color>~<color mediumaquamarine>mediumaquamarine ~</color>~<color mediumblue>mediumblue ~</color>~<color mediumorchid>mediumorchid ~</color>~<color mediumpurple>mediumpurple ~</color>~<color mediumseagreen>mediumseagreen ~</color>~<color mediumslateblue>mediumslateblue ~</color>~<color mediumspringgreen>mediumspringgreen ~</color>~<color mediumturquoise>mediumturquoise ~</color>~<color mediumvioletred>mediumvioletred ~</color>~<color midnightblue>midnightblue ~</color>~<color mintcream>mintcream ~</color>~<color mistyrose>mistyrose ~</color>~<color moccasin>moccasin ~</color>~<color navajowhite>navajowhite ~</color>~<color navy>navy ~</color>~<color oldlace>oldlace ~</color>~<color olive>olive ~</color>~<color olivedrab>olivedrab ~</color>~<color orange>orange ~</color>~<color orangered>orangered ~</color>~<color orchid>orchid ~</color>~<color palegoldenrod>palegoldenrod ~</color>~<color palegreen>palegreen ~</color>~<color paleturquoise>paleturquoise ~</color>~<color palevioletred>palevioletred ~</color>~<color papayawhip>papayawhip ~</color>~<color peachpuff>peachpuff ~</color>~<color peru>peru ~</color>~<color pink>pink ~</color>~<color plum>plum ~</color>~<color powderblue>powderblue ~</color>~<color purple>purple ~</color>~<color red>red ~</color>~<color rosybrown>rosybrown ~</color>~<color royalblue>royalblue ~</color>~<color saddlebrown>saddlebrown ~</color>~<color salmon>salmon ~</color>~<color sandybrown>sandybrown ~</color>~<color seagreen>seagreen ~</color>~<color seashell>seashell ~</color>~<color sienna>sienna ~</color>~<color silver>silver ~</color>~<color skyblue>skyblue ~</color>~<color slateblue>slateblue ~</color>~<color slategray>slategray ~</color>~<color snow>snow ~</color>~<color springgreen>springgreen ~</color>~<color steelblue>steelblue ~</color>~<color tan>tan ~</color>~<color teal>teal ~</color>~<color thistle>thistle ~</color>~<color tomato>tomato ~</color>~<color turquoise>turquoise ~</color>~<color violet>violet ~</color>~<color wheat>wheat ~</color>~<color white>white ~</color>~<color whitesmoke>whitesmoke ~</color>~<color yellow>yellow ~</color>~<color yellowgreen>yellowgreen ~</color>"} |
|
|
|
Ceres Wanderer
Joined: 25 May 2006 Posts: 88
|
Posted: Fri Jun 09, 2006 1:25 am |
This should do exactly the same as Vitae's script but is a bit more compact.
Code: |
#CLASS {ColourWheel}
#ALIAS ColourTest {#var Colours {%replace(@Colours," remove me |","")}
#forall @Colours {:1:#sayprompt <color %i>%i</color>%char(32)};%cr}
#VAR Colours {aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown| remove me |burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod| remove me |darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray| remove me |darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite| remove me |gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender| remove me |lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen| remove me |lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid| remove me |mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy| remove me |oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff| remove me |peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen| remove me |seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle| remove me |tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen}
#CLASS 0 |
Ignore the syntax error in the editor as the script still works |
|
|
|
edb6377 Magician
Joined: 29 Nov 2005 Posts: 482
|
Posted: Fri Jun 09, 2006 7:59 pm |
however with the error it doesnt import properly just so you know.
This is basically due to the < symbol being used for one thing or another. Try This
Code: |
#ALIAS ColourTest {
#var Colours {%replace( @Colours, " remove me |", "")}
#forall @Colours {:1:#sayprompt ~<color %i~>%i~</color~>%char( 32)}
%cr
}
#VAR Colours {aliceblue|antiquewhite|aqua|aquamarine|azure|beige|bisque|black|blanchedalmond|blue|blueviolet|brown|burlywood|cadetblue|chartreuse|chocolate|coral|cornflowerblue|cornsilk|crimson|cyan|darkblue|darkcyan|darkgoldenrod|darkgray|darkgreen|darkkhaki|darkmagenta|darkolivegreen|darkorange|darkorchid|darkred|darksalmon|darkseagreen|darkslateblue|darkslategray|darkturquoise|darkviolet|deeppink|deepskyblue|dimgray|dodgerblue|firebrick|floralwhite|forestgreen|fuchsia|gainsboro|ghostwhite|gold|goldenrod|gray|green|greenyellow|honeydew|hotpink|indianred|indigo|ivory|khaki|lavender|lavenderblush|lawngreen|lemonchiffon|lightblue|lightcoral|lightcyan|lightgoldenrodyellow|lightgreen|lightgrey|lightpink|lightsalmon|lightseagreen|lightskyblue|lightslategray|lightsteelblue|lightyellow|lime|limegreen|linen|magenta|maroon|mediumaquamarine|mediumblue|mediumorchid|mediumpurple|mediumseagreen|mediumslateblue|mediumspringgreen|mediumturquoise|mediumvioletred|midnightblue|mintcream|mistyrose|moccasin|navajowhite|navy|oldlace|olive|olivedrab|orange|orangered|orchid|palegoldenrod|palegreen|paleturquoise|palevioletred|papayawhip|peachpuff|peru|pink|plum|powderblue|purple|red|rosybrown|royalblue|saddlebrown|salmon|sandybrown|seagreen|seashell|sienna|silver|skyblue|slateblue|slategray|snow|springgreen|steelblue|tan|teal|thistle|tomato|turquoise|violet|wheat|white|whitesmoke|yellow|yellowgreen}
#CLASS 0 |
|
|
|
|
Ceres Wanderer
Joined: 25 May 2006 Posts: 88
|
Posted: Fri Jun 09, 2006 9:09 pm |
Very well done edb6377 =) now you might see why I added the " remove me " items to the list.. one long list without any spaces really really screws up the display =)
|
|
|
|
Vitae Enchanter
Joined: 17 Jun 2005 Posts: 673 Location: New York
|
Posted: Mon Jun 12, 2006 3:30 pm |
bleh, buncha show offs :-P
Just kidding. The only reason I'd even made that was to help someone else who wanted to set up a color scheme. So i never thought of an easier way.
This new one works faster too :-) |
|
|
|
|
|