This commit is contained in:
furaihan 2020-08-29 00:52:58 +07:00
commit e7b39aed94
3 changed files with 5 additions and 1 deletions

2
README.md Normal file
View file

@ -0,0 +1,2 @@
# simple-mikrotik-script [WORK IN PROGRESS]
simple mikrotik script to maximize the performance of your router

View file

@ -1,3 +1,4 @@
#PLEASE BE ADVISED THAT THIS SCRIPT MAY CAUSE HIGH CPU LOAD ON YOUR ROUTER
#=============================================== DNS Monitor Information ================================================ #=============================================== DNS Monitor Information ================================================
# #
# COPYRIGHT MIKROTIK ROUTEROS SCRIPT PROVIDED BY FURAIHAN # COPYRIGHT MIKROTIK ROUTEROS SCRIPT PROVIDED BY FURAIHAN

View file

@ -13,6 +13,7 @@
return "Error! this probably cause from unknown vendor or a connection problem" return "Error! this probably cause from unknown vendor or a connection problem"
} }
} }
#source: https://s.id/q4f-O
global ConvertLowerCase do={ global ConvertLowerCase do={
local alphabet {"A"="a";"B"="b";"C"="c";"D"="d";"E"="e";"F"="f";"G"="g";"H"="h";"I"="i";"J"="j";"K"="k";"L"="l";"M"="m";"N"="n";"O"="o";"P"="p";"Q"="q";"R"="r";"S"="s";"T"="t";"U"="u";"V"="v";"X"="x";"Z"="z";"Y"="y";"W"="w"}; local alphabet {"A"="a";"B"="b";"C"="c";"D"="d";"E"="e";"F"="f";"G"="g";"H"="h";"I"="i";"J"="j";"K"="k";"L"="l";"M"="m";"N"="n";"O"="o";"P"="p";"Q"="q";"R"="r";"S"="s";"T"="t";"U"="u";"V"="v";"X"="x";"Z"="z";"Y"="y";"W"="w"};
local result local result