View Single Post
  #6504    
Old February 23rd, 2012 (01:38 PM).
Magic's Avatar
Magic
Guardian of the Great Rift
 
Join Date: Jan 2009
Location: UK
Age: 23
Gender: Male
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 .