Code:
;
Script by originally by Adessis
; Modified by Grzyb
Hotkey, F2, Pause
F1::
loop
{
Send, o ; Open friends
Sleep, 1500
RandSleep(101,431)
Pixelsearch, FoundX, FoundY, 547, 240, 798, 483,0x30B2C7, 3, fast
RandSleep(601,867)
MouseClick, left, FoundX + 180, FoundY + 10 ; Invite
Sleep, 1200
RandSleep(301,431)
MouseClick, left, 1562, 863 ; Accept invite
RandSleep(301,431)
MouseClick, left, 401, 615
Sleep, 4000 ; Wait time before lowlvl joins game
MouseClick, left, -409, 25 ; select window left
Sleep, 1000
RandSleep(201,431)
Send, {ESC} ; close friend panel
RandSleep(101,431)
MouseClick, left, 137, 408 ; resume game
Sleep, 5000 ; Wait time before highlvl joins game - Time this yourself and adjust accordingly!
RandSleep(101,431)
Send, {ESC} ; open menu
Sleep, 500
RandSleep(101,431)
MouseClick, left, 421, 547 ; click leave game
RandSleep(101,231)
MouseClick, left, 352, 602 ; Confirm leave
Sleep, 1500 ; Wait timer to make sure highlvl left game - if not, increase sleeptimer
RandSleep(901,1331)
Pixelsearch, Px, Py,861, 51, 1038, 212,0x1E2438, 3, fast
RandSleep(601,867)
MouseClick, left, %Px%, %Py% ; Click adria
Sleep, 3800 ; Waittime for walking to adria, if pressing esc to fast/slow adjust (Depends on movespeed)
RandSleep(101,431)
Send, {ESC} ; Close conversation
RandSleep(101,431)
Send, {ESC} ; Open menu
Sleep, 500
RandSleep(101,431)
MouseClick, left, 426, 552 ; Click leave game
Sleep, 1000
RandSleep(101,231)
MouseClick, left, -415, 19 ; Select window left
RandSleep(101,231)
}
return ; Restart script
RandSleep(x,y) {
Random, rand, %x%, %y%
Sleep %rand%
}
Pause:
pause
return
For configuration please check the link on top of my post, again, all credit goes to OP.