Help - Search - Members - Calendar
Full Version: Knight Limb Counter Help
Achaea's Forums > Off-Topic > Tech Support > Curing Systems and Scripts
Demfrax
Okay, so my whole point of my limb counter is for it to reset the numbers when a variable gets to a certain point (leg break) that way people cannot reset my system by spamming salve. My only problem is, I cannot get the trigger to reset anything. It counts for me and tells me when its broken, but it will not reset it when it is broke.

Trigger:
CODE
You viciously jab (*) into @target's (%w) (%w).


Value:
CODE
#IF {@%2%3hits >= @break} {
  #echo %2 %3 BROKEN!
  #echo %2 %3 BROKEN!
  }
#if {@%2%3hits >= @break} {%2%3hits = 0}



Any help on how to get my counter to reset to 0 after the @break variable gets to 5-7 depending on the needed dsl's, would be awesome cause tried everything I knew, and even had help from friends to try and solve it.
shalishaska
Seems to me you could combine it all into one if statement.

CODE
#IF {@%2%3hits >= @break} {
  #echo %2 %3 BROKEN!
  #echo %2 %3 BROKEN!
  #var %2%3hits  0
  }


I don't have Zmud so I don't know if this will do the trick.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.