Jump to content

Join our Discord

Talk to other users and have a great time
Discord Server

Welcome to our Community

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

[AHK] PoE Trade Script (need help with delay)

Recommended Posts

This is not my work. I got it from this forum, but I couldn't find that topic so I am making a new one. This is an AHK script.

 

So this works well, but can someone help me figure out how to make the script wait 3 seconds before posting in a new channel? Thank you in advance.

 

; Version 1.2

_ran(min, max)
 {
   random, ran, %min%, %max%
   return ran
 }

`::
_roomnumber = 1
Loop, 20 {     ;Replace the number 20 with the max trade room to go to.
    if (_roomnumber = 1) {
        Send {Enter}/trade %_roomnumber%{Enter}
        Sleep, % _ran(488, 888)
        Send {Enter}$ Selling shit, pst me {Enter}     ;replace my message with YOUR message.
        Sleep, % _ran(488, 888)
        _roomnumber ++
    } else if (_roomnumber <= 9)  {
        Send {Enter}{Up 2}{Backspace}%_roomnumber%{Enter}
        Sleep, % _ran(488, 888)
        Send {Enter}{Up 2}{Enter}
        Sleep, % _ran(488, 888)
        _roomnumber ++
    } else if (_roomnumber = 10) {
        Send {Enter}{Up 2}{Backspace}%_roomnumber%{Enter}
        Sleep, % _ran(488, 888)
        Send {Enter}{Up 2}{Enter}
        Sleep, % _ran(488, 888)
        _roomnumber ++
    } else if (_roomnumber > 10) {
        Send {Enter}{Up 2}{Backspace}{Backspace}%_roomnumber%{Enter}
        Sleep, % _ran(488, 888)
        Send {Enter}{Up 2}{Enter}
        Sleep, % _ran(488, 888)
        _roomnumber ++
    }
}
return

 

 

Share this post


Link to post
Share on other sites

Hey, my script does that.

 

http://exiled-bot.net/community/index.php/topic/1889-release-poe-multiscript-105-autoflask-autoquit/

 

Hotkey [F10] Will sent to channel 1-10.

Or put to spam every minute.

Should not conflict with the game also, unless you press NumpadEnter

So you can still farm while spamming chat.

 

Just look at the source how i did it.

Share this post


Link to post
Share on other sites

i use this one in AHK:

 

F6::
{
    BlockInput On
    SendMode Input
    loop
    {
        Send {ENTER}
        Send /trade %A_Index%
        Send {ENTER}
        Send {ENTER}    
        Send {Up 2}
        Sleep, 1200
        Send {ENTER}
        If A_Index = 8
        Break
        else
        Sleep, 1200
    }
    BlockInput Off
}
return
 
guruds one also works nicely :)
Edited by pronoooob

Share this post


Link to post
Share on other sites

 

i use this one in AHK:

 

F6::
{
    BlockInput On
    SendMode Input
    loop
    {
        Send {ENTER}
        Send /trade %A_Index%
        Send {ENTER}
        Send {ENTER}    
        Send {Up 2}
        Sleep, 1200
        Send {ENTER}
        If A_Index = 8
        Break
        else
        Sleep, 1200
    }
    BlockInput Off
}
return
 
guruds one also works nicely :)

 

 

I'm the one who wrote this script also xD

 

I changed my script so it would also work without block input, and while you are farming etc...

Edited by Gurud

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...