Community discussions

MikroTik App

Search found 2 matches

by dennis46
Wed Jun 06, 2018 3:04 pm
Forum: Scripting
Topic: Script input from console ... works!
Replies: 9
Views: 6807

Re: Script input from console ... works!

It's not "Undocumented" and it's probably not a "feature" . MikroTik does that if you don't fill a required value.
Ok! Thanks for explanation! :-)
by dennis46
Thu May 31, 2018 3:18 pm
Forum: Scripting
Topic: Script input from console ... works!
Replies: 9
Views: 6807

Script input from console ... works!

I found an instresting undocumented (?) solution to input values from terminal to script. It looks like this. === sample script === :local input do={:put $1;:return} :local login [$input "Enter login"] :local password [$input "Enter password"] :put "Login is [$login] and pas...