=sinister= Posted September 7, 2005 Share Posted September 7, 2005 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 More sharing options...
=sinister= Posted September 7, 2005 Author Share Posted September 7, 2005 Theres an error when I use it and it says "variable used without being declared". Link to comment Share on other sites More sharing options...
=sinister= Posted September 7, 2005 Author Share Posted September 7, 2005 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 More sharing options...
=sinister= Posted September 7, 2005 Author Share Posted September 7, 2005 I deleted some stuff, now it won't pop up at all.... Link to comment Share on other sites More sharing options...
=sinister= Posted September 7, 2005 Author Share Posted September 7, 2005 well, it never actually poped up... Link to comment Share on other sites More sharing options...
B3TA_SCR1PT3R Posted September 7, 2005 Share Posted September 7, 2005 (edited) u posted 5 times..just edit your first post!! Edited September 7, 2005 by B3TA_SCR1PT3R [right][font="Courier New"]...Run these streets all day, I can sleep when I die.[/font] [/right] Link to comment Share on other sites More sharing options...
=sinister= Posted September 7, 2005 Author Share Posted September 7, 2005 so? Its not like you get an award for being the neatest, jeez, quit bossing me around!! Im so sick of you! Link to comment Share on other sites More sharing options...
herewasplato Posted September 7, 2005 Share Posted September 7, 2005 (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 September 7, 2005 by herewasplato [size="1"][font="Arial"].[u].[/u][/font][/size] Link to comment Share on other sites More sharing options...
LxP Posted September 7, 2005 Share Posted September 7, 2005 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 EndIfEndFunc<{POST_SNAPBACK}>It calls LifeValue() and ManaValue() functions. Do you have them defined in your script? Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now