Ok this is my 2nd script. Its smithing iron bars into iron knives, heres what im stuck on:
procedure Smithing;
Begin
MouseBox( 568, 216, 589, 237, 1);
FindObjCustom( x, y, ['An'], [2500138, 3026482, 4408136, 3158069], 1);
Writeln(getuptext);
Clickmouse2(mouse_Left);
Wait(1000);
MouseBox( 355, 159, 374, 184, 2);
ChooseOption('10');
FindObjCustom( x, y, ['Clo'], [4810882, 4547193, 3760253], 1);
Writeln(getuptext);
It clicks the bar then clicks the anvil and smiths iron knives. I want the mouse to hover over the door but the mouse goes crazy and moves all over the screen...


Reply With Quote