mirror of
https://github.com/eworm-de/routeros-scripts
synced 2024-05-14 08:04:19 +00:00
global-functions: $SymbolByUnicodeName: name the parameter
This commit is contained in:
parent
21cf6d49bb
commit
86a0700efd
1 changed files with 3 additions and 1 deletions
|
@ -1293,6 +1293,8 @@
|
|||
|
||||
# return UTF-8 symbol for unicode name
|
||||
:set SymbolByUnicodeName do={
|
||||
:local Name [ :tostr $1 ];
|
||||
|
||||
:local Symbols {
|
||||
"abacus"="\F0\9F\A7\AE";
|
||||
"alarm-clock"="\E2\8F\B0";
|
||||
|
@ -1326,7 +1328,7 @@
|
|||
"white-heavy-check-mark"="\E2\9C\85"
|
||||
}
|
||||
|
||||
:return (($Symbols->$1) . "\EF\B8\8F");
|
||||
:return (($Symbols->$Name) . "\EF\B8\8F");
|
||||
}
|
||||
|
||||
# return symbol for notification
|
||||
|
|
Loading…
Reference in a new issue