Simply use GetSpellCount() wow API
people I gave you the solution above, why do you keep debating
@BapnB did you refer to https://www.minibot.top/topic/29/usage-troubleshooting-support?_=1602825450471 ?
make sure you run the minibot exe as admin and no antiviruses blocking it
BadRotations is a Retail combat rotation addon. For classic you would need to use DMW, but I am not sure if it's updated and supports addon name randomization. Remember, to minimize the ban risk, you must rename the addon and the .toc file if you're using a public one.