Jump to content
Sign in to follow this  
fataly

Splashtxton HELP

Recommended Posts

fataly

i have this script:

While 1

AdlibEnable("puf1", 440000)

Sleep(1000)

Send("z")

Sleep(500)

send("r")

Sleep(10000)

Send("{space}")

Sleep(500)

Send("{space}")

Sleep(500)

Send("{space}")

Sleep(500)

Send("{space}")

wend

Func puf1()

Send("6")

sleep(1000)

send("7")

EndFunc

So, i want splashtxt to show how many times this is looped. i really dont now how to do it.. can some one tell how?

Share this post


Link to post
Share on other sites
Thatsgreat2345

Using splashtxt may mess things up with your script so i think tool tip would be best

Global $var = 0
While 1
AdlibEnable("puf1", 440000)
Sleep(1000)
Send("z")
Sleep(500)
send("r")
Sleep(10000)
Send("{space}")
Sleep(500)
Send("{space}")
Sleep(500)
Send("{space}")
Sleep(500)
Send("{space}")
$var += 1
    ToolTip("Script has looped: " & $var & " times",0,0)
wend

Func puf1()
Send("6")
sleep(1000)
send("7")
EndFunc

Share this post


Link to post
Share on other sites
Thatsgreat2345

The problem is that it would take focus away from whatever your scripting is doing, and it would not continually show like the tooltip does.

Share this post


Link to post
Share on other sites
fataly

Global $var = 0

global $var1 = 0

global $var2 = 0

WinActivate("Archlord")

Sleep(3000)

While 1

AdlibEnable("puf1", 440000)

Sleep(1000)

Send("{z down}")

Sleep(500)

Send("{z up}")

Sleep(1000)

If PixelSearch(414,24,587,26,0xE74542,1,1) then

Sleep(500)

Send("{r down}")

Sleep(500)

Send("{r up}")

Sleep(10000)

EndIf

If not PixelSearch(414,24,587,26,0xE74542,1,1) Then

Sleep(1000)

Send("{space}")

Sleep(500)

Send("{space}")

Sleep(500)

Send("{space}")

Sleep(500)

Send("{space}")

EndIf

$var += 1

$var1 += 14

$var2 += 32

SplashTextOn("Monsters Killed: " ," Killed " & $var & @LF & "Up time - "& $var1 &" seconds" & @LF & "Looted - "&$var2&" Gold",100,100,815,500)

wend

Func puf1()

Send("6")

sleep(1000)

send("7")

EndFunc

I maked this. Can this work?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.