Jump to content

Another "Badly formatted func statement"


Recommended Posts

 

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.

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • Moderators

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:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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