Sign in to follow this  
Followers 0
EricBBB

ah help simple msg box stuff stumping me

7 posts in this topic

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

Share this post


Link to post
Share on other sites



MouseGetPos() Returns an Array, so try this.

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

Share this post


Link to post
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]) ?

Share this post


Link to post
Share on other sites

Yes.


My name is Leilani Swaey! :)

Share this post


Link to post
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])

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

Share this post


Link to post
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])

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

?!?!?

Share this post


Link to post
Share on other sites

You are only giving 2 parameters. MsgBox requires 3 parameters.

Flag

Title

body

Share this post


Link to post
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
Sign in to follow this  
Followers 0