Handle your errors properly
I have been troubleshooting this script for weeks and finally found it was trying to divide by zero.
![](https://kbin.life/media/cache/resolve/entry_thumb/5d/db/5ddb79bd5c153a85affd2ee53c64804c1860bdda00ac87e98a481149dbc7a2b4.jpg)
There have been multiple accounts created with the sole purpose of posting advertisement posts or replies containing unsolicited advertising.
Accounts which solely post advertisements, or persistently post them may be terminated.
I have been troubleshooting this script for weeks and finally found it was trying to divide by zero.