it is easy writing this with autoit using:
"mousemove", "mouseclick" and "mouseclickdrag" and if needed some "sleep"
cause its everytime the same he has to do.. putting it into a "While True" will never end this, until you say he has to
PHP Code:
Global $Paused
HotKeySet("{PAUSE}", "TogglePause")
HotKeySet("{ESC}", "myExit")
While True
;; <YOUR CODE HERE> ;;
WEnd
Func TogglePause()
$Paused = NOT $Paused
While $Paused
sleep(100)
ToolTip('Script is "Paused"',0,0)
WEnd
ToolTip("")
EndFunc
Func MyExit()
Exit
EndFunc
only thing you have to do getting in position where you can click the npc and you are able to craft and making a screenshot with the crafting window and the npc window opened .. now look in paint for the coordinates and write it using the commands i wrote ..
now you only need to now the ingredient, buy it and start botting