|
Matthias Newbie
Joined: 09 Nov 2000 Posts: 8 Location: Austria
|
Posted: Sun Jul 27, 2003 10:34 pm
problems getting right variables from trigger |
the status looks like that:
(257/257hp 157/163mn 178/178mv)
this is my trigger:
(&{hpvar}/&{mhpvar}hp &{mvar}/&{mmvar}mn &{mvvar}/&{mmvvar}mv)
if i delete the ) on the end, it works properly, if not i get a 7th var with the value 178mv, but the worst problem is, i always get (257 as %1, not even if i delete the ( from the trigger. How can i get that bracket away? |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Sun Jul 27, 2003 10:48 pm |
Use the appropriate wildcards, as listed in Help under Patterns. For numbers, that would be %d or %n.
&%dhpvar/&%d{mhpvar}hp |
|
|
|
Matthias Newbie
Joined: 09 Nov 2000 Posts: 8 Location: Austria
|
Posted: Mon Jul 28, 2003 1:12 am |
thanks, that worked
|
|
|
|
|
|
|
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
|
|