mirror of
https://git.eworm.de/cgit/routeros-scripts
synced 2025-07-10 10:04:28 +02:00
global-functions: add function to read user input
This commit is contained in:
parent
b6e2b8c3e4
commit
ecf75697ba
1 changed files with 5 additions and 0 deletions
|
@ -4,6 +4,11 @@
|
||||||
#
|
#
|
||||||
# global functions
|
# global functions
|
||||||
|
|
||||||
|
# read input from user
|
||||||
|
:global Read do={
|
||||||
|
:return;
|
||||||
|
}
|
||||||
|
|
||||||
# url encoding
|
# url encoding
|
||||||
:global UrlEncode do={
|
:global UrlEncode do={
|
||||||
:local input [ :tostr $1 ];
|
:local input [ :tostr $1 ];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue