View Single Post
  #6505    
Old February 23rd, 2012 (1:38 PM).
Mana's Avatar
Mana Mana is online now
Super ModeratorCS
 
Join Date: Jan 2009
Location: UK
Gender: Male
Posts: 9,216

Can anyone explain why this snippet of my XSE script won't work?

Quote:
...
addvar 0x10AA 0x1
copyvar 0x10AA 0x800D
compare 0x800D 0x3
if 0x1 call @2
...

I'm trying to make [compare] send the script to @2 when the variable 0x10AA reaches 3 (adding 1 in this script and 2 in another beforehand) however nothing happens - I'm not sure if its the adding which isn't working or my method of comparing the value .