Jump to content

Recommended Posts

Posted

 

Global $card1x=808
Global $card1y=415
Global $card2x=1108
Global $card2y=415
Global $card3x=708
Global $card3y=595
Global $card4x=808
Global $card4y=595
Global $card5x=1108
Global $card5y=595
Global $card6x=1208
Global $card6y=595
Global $card7x=808
Global $card7y=775
Global $card8x=1108
Global $card8y=775

Func $sidecheck1()
   Local $card8side1
   $card8side1=PixelGetColor($card8x,$card8y,$League) ;Determining what side card 8 is
   If $card8side1=13016364 Then ;If card 8 is equal to back color then click else click card 7
   MouseClick("left",$card8x,$card8y) ;Click Card 8 to reset
   Else
   MouseClick("left",$card7x,$card7y) ;Click card 7 to reset
   EndIf
EndFunc

 

I just don't see how it's badly formatted.

Posted (edited)

Func $ <--

--

edit:
Welcome to the forum.

Please read forum rules:
https://www.autoitscript.com/forum/topic/169097-forum-rules/

Edited by ripdad

"The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward

  • Moderators
Posted

likeanooobox,

ripdad is quite right - please read the Forum rules - particularly the bit about not discussing game automation - before you post again.  Thread locked.

But welcome to the AutoIt forum - and see you soon with a legitimate question I hope.

M23

 

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

  Reveal hidden contents

 

Guest
This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...