Hey guys i need a little help from you.
I want every time when this script runs, to click randomly but is something wrong and i cannot figure it out what
ClickRandomly();Call the ClickRandomly Function from within another part of the script
Func ClickRandomly()
Local $RandomNumber = Random(1,2,3,4,5,4,3,2,1)
If $RandomNumber == 1 Then
MouseClick("Left",592,173)
EndIF
If $RandomNumber == 2 Then
MouseClick("Left",309,631)
EndIF
If $RandomNumber == 3 Then
MouseClick("Left",350,691)
EndIF
If $RandomNumber == 4 Then
MouseClick("Left",630,731)
EndIF
If $RandomNumber == 5 Then
MouseClick("Left",1005,31)
EndIF
If $RandomNumber == 6 Then
MouseClick("Left",1005,31)
EndIF
If $RandomNumber == 7 Then
MouseClick("Left",1035,101)
EndIF
If $RandomNumber == 8 Then
MouseClick("Left",1505,91)
EndIF
If $RandomNumber == 9 Then
MouseClick("Left",1995,331)
EndIf
EndFunc
I want to do the same to another script but with comments, for example : hey,hello,ciao,sayonara or another words if i want to add more
Thank you very much for the help