Community discussions

MikroTik App
 
jeroenp
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

[SOLVED] Any repository with standard functions?

Thu May 12, 2016 3:33 pm

Is there any repository with standard functions for Mikrotik RouterOS?

I'm missing really basic stuff and writing them myself takes quite a bit of time.

I've just put these as a gist (please shoot at them) Mikrotik RouterOS padLeftString and padRightString functions

--jeroen
Last edited by jeroenp on Mon May 16, 2016 12:43 am, edited 2 times in total.
 
User avatar
boen_robot
Forum Guru
Forum Guru
Posts: 2411
Joined: Thu Aug 31, 2006 4:43 pm
Location: europe://Bulgaria/Plovdiv

Re: Any repository with standard functions?

Fri May 13, 2016 6:58 pm

Other than the stuff you see with a tab or "?", there's nothing, which you're right, is a bummer.

There is however the API protocol. For anything REALLY advanced, you can connect over from a remote device, via a program written in whatever programming language you're comfortable with.

But yeah, not having built in basics like string replacements, var dumps, and the like is a big PITA.
PEAR2_Net_RouterOS(1.0.0b6) - My API client in PHP
(Rate my posts? If you want... no pressure...)
 
jeroenp
Member Candidate
Member Candidate
Topic Author
Posts: 159
Joined: Mon Mar 17, 2014 11:30 am
Location: Amsterdam
Contact:

Re: Any repository with standard functions?

Mon May 16, 2016 12:42 am

I'd rather not rely too much on other devices and stick to what RouterOS itself can do.

But thanks for the confirmation.

I will see what I can do to get a repository up. First I need to find a way to sync the script contents on the Mikrotik with local files on my Mac or Windows machine so I can put it into a git repo.

--jeroen

Who is online

Users browsing this forum: No registered users and 33 guests