So I recently got into Cookie Clicker and wanted to write a script that autoclicks for me when certain effects in game are active.
Now I have two bits of Code, one that d