This script comes from the final slide of my recent MUM presentation on RouterOS scripting
It allows you to assign a data limit to trial hotspot users and:
a) have them kicked offline upon reaching this limit
b) create a temporary user to stop them from being able to log back in again
This is a feature which is not available via the current hotspot settings, so I decided to script it into existence. Enjoy!