likeanooobox Posted February 17, 2017 Posted February 17, 2017 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.
ripdad Posted February 17, 2017 Posted February 17, 2017 (edited) Func $ <-- -- edit: Welcome to the forum. Please read forum rules: https://www.autoitscript.com/forum/topic/169097-forum-rules/ Edited February 17, 2017 by ripdad "The mediocre teacher tells. The Good teacher explains. The superior teacher demonstrates. The great teacher inspires." -William Arthur Ward
Moderators Melba23 Posted February 17, 2017 Moderators Posted February 17, 2017 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 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 ArrayMultiColSort ---- Sort arrays on multiple columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area
Recommended Posts