Browse Source

Add comment functionality to text files

master
Matei-Alexandru Gardus 9 months ago
parent
commit
6a7ad6a04c
Signed by: StormFireFox1 <matei@gardus.eu> GPG Key ID: F3D2B830AB9B94AA
1 changed files with 5 additions and 0 deletions
  1. 5
    0
      farmer.py

+ 5
- 0
farmer.py View File

@@ -26,6 +26,11 @@ print('Script running! Press Ctrl-C to cancel.')
gui.moveTo(960, 300, duration=0.1)
gui.click()

# Clean lines in query list that are actually comments
for query in queries:
if query[1] == "#":
del query

# Make sure we add variable for previous index to check code so we do not type same query twice, which won't register with points
previousIndex = rng.randint(0, len(queries) - 1)


Loading…
Cancel
Save