|
Post by SpookPathfinder on Mar 26, 2005 16:25:04 GMT -5
Hey guys! im new to this whole scripting thing and as all peaople out there on FFXI i have money problems! wouldnt have them if AH wasnt so damn expensive! anway, i have been looking forever for a "Provoke" script/bot and found this one:
FFACTInit(); //Start up ffact interface $MyTarget= " Spook"; //Set target name here While 1=1; //Start infinite main loop; //This loop sleeps until numlock is on.; //This effectively pauses the script if numlock is off.; //Even if numlock is on, the script will still sleep for 10ms per cycle.;
Do Sleep(10); Until NumCheck()=1; //Do this until num lock is on Send("{TAB}"); //Aquire target FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name; //Voke condition If $mob = $MyTarget Then //Check to see if this is the right target. Send("!2"); Fight(); EndIf;//This loop sleeps until the target is killed or untargetted While $mob=$MyTarget; //Do this until target lost FFACTTargetUpdate(); //Check target $mob = FFACTTargetGetName(); //Get mob name Sleep(2000); WEnd; WEnd; //End infinite main loop Func Fight() Sleep(300); Send("!3");//macro for auto attack Sleep(100); Send("{Up}"); End Func;
Im not sure whats wrong with it, and i need someone to help me figure it out! Closest thing ive ever doen to this is C++ at Uni but was never too good at it! when you run it, it displays this error messsage... "You are missing at least on End Statement"! please help ???
|
|
|
Post by TinyTerror on Mar 26, 2005 18:33:48 GMT -5
Use the one that comes with autoterror. This one is messed up.
|
|
|
Post by SpookPathfinder on Mar 27, 2005 12:49:46 GMT -5
ok thanks! ^^
|
|
|
Post by TinyTerror on Mar 27, 2005 13:01:42 GMT -5
No problem
|
|