Jump to content

ah help simple msg box stuff stumping me


Recommended Posts

C:\Users\Eric\Desktop\My bot\Wobotfunc.au3(13,51) : ERROR: MsgBox() [built-in] called with wrong number of args.

msgbox (0, "Your mission coords are " & $mission)

$mission is a var that i previously got from getmousepos($mission) so... ?

Link to comment
Share on other sites

MouseGetPos() Returns an Array, so try this.

msgbox (0, "Your mission coords are " & $mission[0] & " " & $mission[1])

so does that mean for everything that i have mouse coordinates on, liike if i wanted to call $mission later id need to do something like

mouseclick( "left" , $mission[0], $mission[1]) ?

Link to comment
Share on other sites

C:\Users\Eric\Desktop\My bot\Wobotfunc.au3(13,74) : ERROR: MsgBox() [built-in] called with wrong number of args.

msgbox (0, "Your mission coords are " & $mission[0] & " " & $mission[1])

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

Link to comment
Share on other sites

C:\Users\Eric\Desktop\My bot\Wobotfunc.au3(13,74) : ERROR: MsgBox() [built-in] called with wrong number of args.

msgbox (0, "Your mission coords are " & $mission[0] & " " & $mission[1])

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^

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