hmm, i need some help figuring this out.
at the begining of my script, i have a const, and i want it to do a certain thing if =true, and also a certain thing if false. i think this is a boolean function, and this is what i have so far..
Code:function LeatherTypes: Boolean; begin if (SoftLeather = True) then begin MMouse(93, 105,5,5); Mouse(93, 105,5,5,false); Wait(500+random(300)); ClickOption('All', 1); Wait(4000+random(250)); if (SoftLeather = False) then begin MMouse(208, 104,5,5); Mouse(208, 104,5,5,false); Wait(500+random(300)); ClickOption('All', 1); Wait(4000+random(250)); end; end; end;
any ideas anyone? everytime the const is set to false, it just ignores it as if it's not there...



Reply With Quote


i appreciate the helpz.
