|
Maul Newbie
Joined: 31 Jan 2003 Posts: 3
|
Posted: Fri Jan 31, 2003 3:50 am
How do i get a trigger to work on color only |
i play a mudwith rdi's(randomly droped items) and they are color but the monster have a non color form of the same item in there corpses how do i make a trigger that would only loot the color form..i triedthe ANSI trigger but i can get it to work....
|
|
|
|
Castaway GURU
Joined: 10 Oct 2000 Posts: 793 Location: Swindon, England
|
Posted: Fri Jan 31, 2003 9:23 am |
Please give an example text, and the trigger you tried.
Lady C. |
|
|
|
Maul Newbie
Joined: 31 Jan 2003 Posts: 3
|
Posted: Fri Jan 31, 2003 2:52 pm |
Pattern: Cloak of Conquest
Value: Get cloak from corpse
options:
other options:
ANSI trigger
Trigger on:
newline
linecolor:
black backgroud
red lettering
bold text |
|
|
|
Kjata GURU
Joined: 10 Oct 2000 Posts: 4379 Location: USA
|
Posted: Fri Jan 31, 2003 4:20 pm |
Disable the ANSI trigger options and try again. If you have the ANSI trigger option enabled, zMUD expects to also match ANSI codes supplied in the pattern. However, since you are already using the Trigger on Line Color, you don't need ANSI trigger enabled.
Kjata |
|
|
|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: Mon May 19, 2003 10:55 pm |
The corpse could look like one of these two examples:
When you look inside, you see:
Corpse (here) :
2 gold pieces
A Bogtoga
A short sword
A Blue Uuji
A Pearl Earring
A Ruby Bracelet
A Turquoise Ring
A Yellow Silk Sash
A Silver Anklet
A Pearl Necklace
Or like this :
When you look inside, you see:
Corpse (here) :
2 gold pieces
A Bogtoga
A short sword
A Blue Uuji
A Pearl Earring
A Ruby Bracelet
A Turquoise Ring
A Yellow Silk Sash
A Silver Anklet
A Pearl Necklace
When the mob doesn't have a RDI it's just base gray colour, but when it's an rdi it shows with a colour in this example with blue. |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Tue May 20, 2003 12:57 am |
Since Maul hasn't posted any further problem with this since January, it's likely that Kjata's solution worked for him. There's no need to resurrect the post.
LightBulb
Advanced Member |
|
|
|
Drystin Beginner
Joined: 24 Jul 2002 Posts: 18 Location: Denmark
|
Posted: Sat May 24, 2003 10:05 am |
but it didn't work for me.
|
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sat May 24, 2003 3:32 pm |
You will have to change the pattern, Value, and Line Color to match the object you're interested in. Maul's trigger will only work for a Cloak of Conquest in red text, with a black background and bold text.
Pattern: A Blue Uuji
Value: Get uuji from corpse
options:
other options:
ANSI trigger
Trigger on:
newline
linecolor:
black backgroud
blue lettering
bold text
It's not a very good solution, since it requires knowing in advance which items may be RDI's and what colors they might have, with individual triggers for each item/color combo, but it does work.
LightBulb
Advanced Member |
|
|
|
|
|