I may be reading this incorrectly. You want to click either (592,173) or (309,631) ClickRandomly();Call the ClickRandomly Function from within another part of the script
Func ClickRandomly()
Local $RandomNumber = Random(1,2,1);Randomly generate 1 or 2
If $RandomNumber == 1 Then
MouseClick("Left",592,173)
EndIF
If $RandomNumber == 2 Then
MouseClick("Left",309,631)
EndIF
EndFunc