Page 1 of 1

varcalc

Posted: Sat Oct 02, 2004 3:18 pm
by SirCheese

Code: Select all

Sub NukeCycle
/if (${TimesNuked}<${NukeAmount}) {
		/call cast "${FireNuke}" gem1 5s
		/delay 2s
		/varcalc TimesNuked + 1 
		/delay 10s
	} else {
		/echo Im Done Nuking %t!

	}


/return
the varcalc adds 1 to the ${timesNuked} ... how do i get it to set ${timesNuked} with the total? so the next time it will set ${timesNuked} as 2 then 3 and so on?

Posted: Sat Oct 02, 2004 3:26 pm
by Cr4zyb4rd

Code: Select all

/varcalc TimesNuked ${TimesNuked} +1
??

Posted: Sun Oct 03, 2004 11:46 am
by Night Hawk
Try useing ${Math.Calc} lol

Posted: Sun Oct 03, 2004 10:00 pm
by Cr4zyb4rd
Why would you use ${Math} for that?