Brazier Trigger

Posted by This_Guy on Thu 30 Dec 2010 07:21 PM — 5 posts, 20,718 views.

#0
Sorry about having so many questions lately. This one is about using a skill when it is called in a ring.

this is an example trigger line:

(Ring): Mikhael says, "Brazier target now"


I need a trigger that will send to the world: Touch brazier @target, I can't seem to get it to work. Right now i have my send text set up like so:

ring member = "%1"
local target = %2

touch brazier @target

What do I need to change?
Australia Forum Administrator #1
Words need to be quoted, so this won't work:


local target = %2



Something like this should do it:


<triggers>
  <trigger
   custom_colour="3"
   enabled="y"
   match="(Ring): * says, &quot;* target now&quot;"
   send_to="12"
   sequence="100"
  >
  <send>

target = "%2"

Send ("say Touch %2")

</send>
  </trigger>
</triggers>


Template:pasting
For advice on how to copy the above, and paste it into MUSHclient, please see Pasting XML.

#2
I didn't put a period before the quotation, what is the syntax for a period?
USA #3
this one should work better (most of it done by Gammon)


<triggers>
  <trigger
   custom_colour="3"
   enabled="y"
   match="(Ring): * says, &quot;Brazier * now.&quot;"
   send_to="12"
   sequence="100"
  >
  <send>

target = "%2"

Send ("Touch brazier %2")

</send>
  </trigger>
</triggers>
Amended on Fri 31 Dec 2010 09:23 PM by Shou
#4
Thanks Shou, worked like a charm