Register to post in forums, or Log in to your existing account
 

Play RetroMUD
Post new topic  Reply to topic     Home » Forums » zMUD General Discussion
Maul
Newbie


Joined: 31 Jan 2003
Posts: 3

PostPosted: 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....
Reply with quote
Castaway
GURU


Joined: 10 Oct 2000
Posts: 793
Location: Swindon, England

PostPosted: Fri Jan 31, 2003 9:23 am   
 
Please give an example text, and the trigger you tried.

Lady C.
Reply with quote
Maul
Newbie


Joined: 31 Jan 2003
Posts: 3

PostPosted: 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
Reply with quote
Kjata
GURU


Joined: 10 Oct 2000
Posts: 4379
Location: USA

PostPosted: 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
Reply with quote
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: 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.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Drystin
Beginner


Joined: 24 Jul 2002
Posts: 18
Location: Denmark

PostPosted: Sat May 24, 2003 10:05 am   
 
but it didn't work for me.
Reply with quote
LightBulb
MASTER


Joined: 28 Nov 2000
Posts: 4817
Location: USA

PostPosted: 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
Reply with quote
Display posts from previous:   
Post new topic   Reply to topic     Home » Forums » zMUD General Discussion All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

© 2009 Zugg Software. Hosted by Wolfpaw.net