I believe it actively scans your screen for images of rainbows and if it finds one it will double click it. That's why people were complaining about it drinking potions. The author probably had some coordinates set such that it wouldn't drink pots in the inventory however it did not work on other peoples computers with different screen resolutions. This is a common problem with AutoHotKey scripts. I believe the author fixed it but I've never used it. I've not even seen the source code honestly. That's just how I would have made it.