Jump to content

Splashtxton HELP


fataly
 Share

Recommended Posts

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?

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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?

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...