Jump to content

Join our Slack

Talk to other users and have a great time
Slack Server

Welcome to our Community

Click here to get your Exiled Bot license
Donation Store
Sign in to follow this  
oRonPaul

Need help with a destroy item on cursor script

Recommended Posts

based off of quicksilver script

 

idk why it doesnt work

; User Config
_name_poe_win = Path of Exile						; Name of the window when you run game exe


; introduction
TrayTip, Destroy script loaded!, Options:`n> F9: Start the Script (if already configured correctly)! , 2, 2
Pause Off

; Main loop for activating the Destroy Loop
loop
{

	IfWinActive, %_name_poe_win%
	{
		PixelSearch, Px, Py, 461, 332, 496, 342, 0xC7813D
		If Errorlevel = 0
Click 485, 337

		
}
}

; Simple Pause/Unpause Function
F9::
	if A_IsPaused
	{
		Pause off
		TrayTip, Destroy-Script unpaused!, 1, 2
	}
	else
	{
		TrayTip, Destroy-Script paused!, Press F9 to resume... , 1, 2
		Pause On
	}
return

; Exitfunction
F10::
	TrayTip, , terminating Destroy-Script! , 2.5
	sleep 3000
	ExitApp
return 

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...