Jump to content

TrayTip


Recommended Posts

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!

Link to comment
Share on other sites

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

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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