Jump to content
Sign in to follow this  
EricBBB

ah help simple msg box stuff stumping me

Recommended Posts

EricBBB

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
Swift

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
EricBBB

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
PumpkinJuice

Yes.


My name is Leilani Swaey! :)

Share this post


Link to post
Share on other sites
EricBBB

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
Swift

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
NELyon

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.