Jump to content

Recommended Posts

Posted

ok, Im making a bot for world of warcraft and I need some help with this traytip I found on the net:

TrayTip($name & " " & $version & " Statistics", $message & @LF & @LF & $stats, 10, 1)

Where do I put the messege? And can I get it so that when you press a button, this pops up? Thanks!

Posted

heres somethin else I used too. Doesn't work on this program but works fine with another:

Func Status($message)

If WinExists ( "World of Warcraft") then

$stats = ""

$stats = $stats & "Life: " & LifeValue() & "%" & @LF

$stats = $stats & "Mana: " & ManaValue() & "%" & @LF

$stats = $stats & @LF

$stats = $stats & "Estimated Kills: " & $kills & @LF

$stats = $stats & "Estimated Loots: " & $loots

EndIf

EndFunc

Posted (edited)

u posted 5 times..just edit your first post!!

Edited by B3TA_SCR1PT3R

[right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right]

Posted (edited)

so? Its not like you get an award for being the neatest, jeez, quit bossing me around!! Im so sick of you!

<{POST_SNAPBACK}>

There are just so many people that will help others script for a game. B3TA is one of them and you treat him like that?

In a post long, long ago... No, wait! It was only yesterday when you said,

HAHA! I got the source! I wanna take a poll first, Should I post it here, or should I not?

So now you are going to post it one line/section at a time???

There are several lines of code messed up in the place where I found the source... good luck to ya.

re: http://www.autoitscript.com/forum/index.ph...topic=15457&hl=

Edited by herewasplato

[size="1"][font="Arial"].[u].[/u][/font][/size]

Posted

Okay, so let's get back on topic:

TrayTip($name & " " & $version & " Statistics", $message & @LF & @LF & $stats, 10, 1)

Where do I put the messege? And can I get it so that when you press a button, this pops up? Thanks!

<{POST_SNAPBACK}>

If you have the beta version of AutoIt then the help file very clearly states what parameter has what effect:

TrayTip ( "title", "text", timeout [, option] )

heres somethin else I used too. Doesn't work on this program but works fine with another:

Func Status($message)

If WinExists ( "World of Warcraft") then

$stats = ""

$stats = $stats & "Life: " & LifeValue() & "%" & @LF

$stats = $stats & "Mana: " & ManaValue() & "%" & @LF

$stats = $stats & @LF

$stats = $stats & "Estimated Kills: " & $kills & @LF

$stats = $stats & "Estimated Loots: " & $loots

EndIf

EndFunc

<{POST_SNAPBACK}>

It calls LifeValue() and ManaValue() functions. Do you have them defined in your script?

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
  • Recently Browsing   0 members

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