So this is my first project using SRL, and i've got to say, so far i'm doing pretty well. The only problem is i'm familiar with C++ so when i don't know what i'm doing, I do it like it is in C++. So i'm writing an alching script, and i'm trying to get the script to terminate after a predetermined number of alchs. so i have Const
NUMBER_OF_ALCHs =X;
then i have
Var
Alch_Count :extended;
So i'm trying to add one to Alch_Count after each Alch, and then when NUMBER_OF_ALCHS = Alch_Count i want it to terminate. But, when i try to add to Alch_Count with this
but it gives me an error and doesn't add to the variable...Code:wait(randomrange(1000, 1200)); Mouse(571, 375, 2, 2, true); wait(randomrange(1000, 1200)); Mouse(611, 226, 2, 2, true); Alch_Count :+1; wait(randomrange(1000, 1200)); Mouse(565, 377, 2, 2, true);
Any help is appreciated, Thanks.


Reply With Quote






