My (Andrew Cox) presentation from the MikroTik User Meeting in Sydney is now available online via TikTube.com
You can watch it over there or view it embedded here.
My (Andrew Cox) presentation from the MikroTik User Meeting in Sydney is now available online via TikTube.com
You can watch it over there or view it embedded here.
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!
1. Download Notepad++: http://www.notepadplusplus.org
2. Install Notepad++
3. Download file RouterOS Syntax-Highlighter and extract the notepad++ xml file within.
4. Open Notepad++
5. Click Language > User-Defined > click Import button.
Import the xml file you unzipped.
6. Close and reopen Notepad++
7a. Open an .rsc script, and syntax highlighting will be visible.
7b. Alternatively open any file and select the “RouterOS” language option
Thanks to dtoffo on the MikroTik forums for the original release of this highlighter.
I don’t know if the followup is intended to be to the submitter via email or a reply in the forum thread however it seems a good idea to allow quick submission of confirmed issues.
Can’t see any official post on the forum noting when it came about, but if you have any experience using this already; feel free to comment below.
I found this to be a very interesting read/listen (depending on your language you may want to enable the subtitles) to some of the history of MikroTik
Also if you follow the video you’ll find the official MikroTik YouTube channel.