|
acidburn1979 Newbie
Joined: 25 Jul 2006 Posts: 2
|
Posted: Tue Jul 25, 2006 11:28 pm
Triggers |
I am having a problem with my triggers, what I want to do is set it up like this %1 is blinded by %2 but when the line looks like this
<3115hp 957m 737mv A Diamond Golem: 74% Enemy: [+++++ ]> acidburn is blinded by smoke
the response back looks like this
(6896hp 1033m 925mv You say 'acidburn) HAS BEEN BLINDED BY (smoke')
the boundaries of %1 is in the first set of parantheses and %2 is in the 2nd
it adds the prompt to the response, how do i get rid of the prompt and just have it show: acidburn HAS BEEN BLINDED BY SMOKE |
|
|
|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Wed Jul 26, 2006 12:28 am |
#TRIG {<*~> (%w) is blinded by (%w)} {#SHOW %1 HAS BEEN BLINDED BY %upper(%2)}
Someone correct me if I am wrong. |
|
|
|
acidburn1979 Newbie
Joined: 25 Jul 2006 Posts: 2
|
Posted: Thu Jul 27, 2006 12:17 am |
ok, that sort of fixed the problem, now i need to have to where it will read like this
<3115hp 957m 737mv A Diamond Golem: 74% Enemy: [+++++ ]>
A wolf is blinded by a bat
Where it will both read it on the prompt and on the next line as shown above |
|
|
|
Dumas Enchanter
Joined: 11 Feb 2003 Posts: 511 Location: USA
|
Posted: Thu Jul 27, 2006 2:16 am |
hmm, try something like..
#TRIG {{<*~>(%w) is blinded by (%w)|^(%w) is blinded by (%w)}} {#SHOW %1 HAS BEEN BLINDED BY %upper(%2)}
Now, it seems from your second one that you could potentially get 'a' and 'an' in front of what you want, so if you want to include those in your #SHOW change all the (%w) to (*) |
|
|
|
|
|