|
Dravon Beginner
Joined: 05 Jan 2002 Posts: 29 Location: USA
|
Posted: Mon Apr 08, 2002 10:44 pm
help with triggers or colors |
hi there I am trying to get zmud to not show certain items after I kill something and strip it. here is an example of what I see
A dried smoked lizard jerkey, a tattered flowing pennant on a pole, a tarnished silver signet ring, a closed black Setite book of prayers, a flute, a broken glass bottle, a simple gold necklace, and an ice cold platinum ring are here.
ok say I want to see everything but the a flute part. I tried gag and color but it hides everything is there a way to make it show everything but a flute? im useing 6.26a beta
Gary |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Mon Apr 08, 2002 11:30 pm |
quote:
hi there I am trying to get zmud to not show certain items after I kill something and strip it. here is an example of what I see
A dried smoked lizard jerkey, a tattered flowing pennant on a pole, a tarnished silver signet ring, a closed black Setite book of prayers, a flute, a broken glass bottle, a simple gold necklace, and an ice cold platinum ring are here.
ok say I want to see everything but the a flute part. I tried gag and color but it hides everything is there a way to make it show everything but a flute? im useing 6.26a beta
Gary
#trigger {({A|An}) (%*) ({is|are}) here.} {
;I'm doing it this way, though there are probably easier/faster ways
#if (%pos(",",%2)) {
#NOOP there's a comma in the item list
#var Temp %replace(%replace("%2"," and "," "),", ","|")
} {
#NOOP no commas in the list
#var Temp %replace("%2"," and ","|")
}
;the items list is now in stringlist format, loop through the list and nuke all mention of 'a flute'
#var Temp %replace(%replace(%replace("@Temp","|a flute|","|"),"a flute|",""),"|a flute","")
#sub {%1 %if(%numitems(@Temp) > 2,%replace(@temp,"|",", "),%replace(@Temp,"|"," and ") %3 here~.}
}
li'l shmoe of Dragon's Gate MUD |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Mon Apr 08, 2002 11:32 pm |
#SUB {a flute} {%null}
LightBulb
All scripts untested unless otherwise noted |
|
|
|
|
|
|
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
|
|