I post here links to scripts accumulated over 6 years of my acquaintance with Mikrotik and published primarily on the Russian Mikrotik`s forum https://forummikrotik.ru
Sertik's scripts collection
https://forummikrotik.ru/viewtopic.php?f=14&t=13947
Please note that I am not a professional programmer, although I have been fond of programming since my school years. By education and occupation, I am a doctor, a neuroradiologist, a specialist in MRI diagnostics of diseases and lesions of the nervous system, which I have been doing for more than 20 years.
Scripts, including those written by me, in co-authorship, and other authors, collected here, and some articles published by me on www.habr.com, I hope will be of interest to a wide range of users, and maybe Mikrotik professionals.
I hope some of this work can give you some ideas and scripting techniques.
I also hope that the sanctions against Russia will not interfere with this publication on the Mikrotik forum.
I apologize for the grammatical errors in the machine translation text and my bad English.
Ready-made scripts and functions
function of reading SMS from PDU of LTE modems with forwarding to Telegram chatbot
https://forummikrotik.ru/viewtopic.php?f=14&t=14363
Function to create a function/functions from a script/scripts
https://forummikrotik.ru/viewtopic.php?f=14&t=14334
Functions & Scripts Auto Setup (FaSAS) installer script
https://forummikrotik.ru/viewtopic.php?f=14&t=14320
Telegram active Runner and Notifier (TaRaN)
https://forummikrotik.ru/viewtopic.php?f=14&t=14281
Remote control and data exchange between Mikrotik routers via SSH-exec
https://forummikrotik.ru/viewtopic.php?f=14&t=14216
URRI Receiver System (URS)=URRI Telegram Terminal+Library of script functions for URRI receiver
https://forummikrotik.ru/viewtopic.php?p=87919#p87919
Laurent Telegram Terminal
https://forummikrotik.ru/viewtopic.php?f=14&t=14161
The function of sending messages to WhatsApp through callmeBot and the log parser
https://forummikrotik.ru/viewtopic.php?f=14&t=14087
Remote script launch via Telegram (together with drpioneer)
https://forummikrotik.ru/viewtopic.php?f=14&t=12659
SATELLITE script functions library for TLGRM
https://forummikrotik.ru/viewtopic.php?f=14&t=13648
Library of script-functions for URRI-receiver
https://forummikrotik.ru/viewtopic.php?f=14&t=12840
Array function for sending messages to Telegram, SMS via modem, SMS via sms.ru API, SMS via Laurent-5G device gateways, Netping, messages to email
https://forummikrotik.ru/viewtopic.php?f=14&t=13440
Internet access control functions via /ip kid control
https://forummikrotik.ru/viewtopic.php?f=14&t=13828
Functions for saving/restoring global variables in/ip firewall layer7
https://forummikrotik.ru/viewtopic.php?f=14&t=13768
Sunrise/sunset detection function
https://forummikrotik.ru/viewtopic.php?f=14&t=12263
String converter function for sending messages to Telegram
https://forummikrotik.ru/viewtopic.php?f=14&t=11996
Add/Change Script Comment and Scheduler Job Functions
https://forummikrotik.ru/viewtopic.php?f=14&t=13139
Task scheduling module for Mikrotik Scheduler
https://forummikrotik.ru/viewtopic.php?f=14&t=12618
The function to check if the time of day range is in
https://forummikrotik.ru/viewtopic.php?f=14&t=12289
Script for checking the health of lte channels on the Internet
https://forummikrotik.ru/viewtopic.php?f=14&t=12275
Function for determining the number of connections to the host
https://forummikrotik.ru/viewtopic.php?f=14&t=12226
Function to search for active interfaces in 0.0.0.0/0
https://forummikrotik.ru/viewtopic.php?f=14&t=12179
Function calculator of the day of the week by date
https://forummikrotik.ru/viewtopic.php?f=14&t=12016
User password reset script
https://forummikrotik.ru/viewtopic.php?f=14&t=11711
Script to control the operation of the pptp server
https://forummikrotik.ru/viewtopic.php?f=14&t=9822
Turn on the Internet when the admin came to work, turn off when he left
https://forummikrotik.ru/viewtopic.php?f=14&t=13152
articles and scripts
Remote control and data transfer via SSH-exec
https://habr.com/en/post/711114/
About functions in scripts
https://forummikrotik.ru/viewtopic.php?f=14&t=13440
Integration of Mikrotik routers and Laurent Internet modules from KernelChip
https://forummikrotik.ru/viewtopic.php?f=14&t=8454
Multifunctional network controller for control and monitoring Laurent-5G
https://habr.com/en/post/530512/
Prototype Laurent-5G in case version
https://habr.com/ru/post/531690/
Integration of Mikrotik routers and Rodos internet relay
https://forummikrotik.ru/viewtopic.php?f=14&t=8356
Integration of Mikrotik routers and Netping environment monitoring and power management devices
https://forummikrotik.ru/viewtopic.php?f=14&t=8051
Dynamically adding and removing static routes in VPN
https://forummikrotik.ru/viewtopic.php?f=14&t=9721
Flood exception in the log when trying to connect a pptp client
https://forummikrotik.ru/viewtopic.php?f=14&t=9719
Mikrotik manages broadcasting and voices the Smart Home
https://forummikrotik.ru/viewtopic.php?f=14&t=12347
Telegram bot for Mikrotik with Webhook and JSON parser (Author Chupacabra Alexander)
https://forummikrotik.ru/viewtopic.php?f=14&t=9259
tips & tricks
determine the name of the executable script from the script itself
https://forummikrotik.ru/viewtopic.php?f=14&t=11331
array functions (element insertion/removal)
https://forummikrotik.ru/viewtopic.php?f=14&t=12234
new research on functions, defining functions from the array
https://forummikrotik.ru/viewtopic.php?f=14&t=13335
script for installing functions in the environment of variables
https://forummikrotik.ru/viewtopic.php?f=14&t=13092
password generator for anything (eg wifi) Mikrotik certificate server
https://forummikrotik.ru/viewtopic.php?f=14&t=12162
strange behavior of Ros Mikrotik when calling functions
https://forummikrotik.ru/viewtopic.php?f=14&t=12159
a small addition to the study of variables
https://forummikrotik.ru/viewtopic.php?f=14&t=11991
find out your real external IP
https://forummikrotik.ru/viewtopic.php?f=14&t=10797
regular expression table for traffic types
https://forummikrotik.ru/viewtopic.php?f=14&t=10820
display the value of the variable in the name of another variable
https://forummikrotik.ru/viewtopic.php?f=14&t=6921
checking for function expansion in script
https://forummikrotik.ru/viewtopic.php?f=14&t=10100
useful scripting tricks for Mikrotik
https://forummikrotik.ru/viewtopic.php?f=14&t=10101
print the number of the array element you are looking for
https://forummikrotik.ru/viewtopic.php?f=14&t=8394
get .oid into variable
https://forummikrotik.ru/viewtopic.php?f=14&t=8467
Collections of scripts from other authors
MIKROTIK SCRIPT ROUTEROS DATABASE
https://forummikrotik.ru/viewtopic.php?f=14&t=13639
Rextended Fragments of Snippets
viewtopic.php?t=177551
Functions for ROS by Christian Hesse
https://forummikrotik.ru/viewtopic.php?f=14&t=10732
collection of Christian Hesse scripts <eworm-de>
https://forummikrotik.ru/viewtopic.php?f=14&t=11780
Script for determining the amount of traffic on the specified interface
https://forummikrotik.ru/viewtopic.php?f=14&t=9800
Collection of scripts by Osamahfarhan
https://forummikrotik.ru/viewtopic.php?f=14&t=13944
MTM-RouterOS-Scripting
https://forummikrotik.ru/viewtopic.php?f=14&t=13492
Script for checking the version of Router OS
https://forummikrotik.ru/viewtopic.php?f=14&t=13131
Feature selection by Grzegorz Budny
https://forummikrotik.ru/viewtopic.php?f=14&t=12199
Music for Mikrotik
Ringtones for Mikrotik
https://forummikrotik.ru/viewtopic.php?f=14&t=9260
MikroTik Song Creator V3.0
https://forummikrotik.ru/viewtopic.php?f=14&t=12200
music ping
https://forummikrotik.ru/viewtopic.php?f=14&t=11978
script MIDI player
https://forummikrotik.ru/viewtopic.php?f=14&t=13761