At the very very very least, the existing script menu should tell you what line a syntax error occurs on just like the import command does. I’m sure there’s a better way, but any time I’m editing a script and it suddenly just stops working, if I can’t find my error by reading my code, then I’m forced to copy-paste it to a rsc file, upload that to the router, and use import just to find out what line number has the error - and even then, the router’s idea of line numbers can be different than my computer’s editor sometimes…
If it could just highlight the line that has a syntax error, that would be a tremendous improvement to the UI.
Perhaps those who mastered RouterOS scripting think about themselves as elite club and don’t want the exclusivity ruined? You go way too far with you request, but imagine if there was only the basic “syntax error at line x, char y”. That alone could make the scripting accessible to almost everyone. But it’s those silent failures that make it so interesting and challenging and only for real professionals!
No, seriously, I don’t think that people don’t want it. It’s something so obvious that one almost feels stupid to need to point it out…
Hi …
I am sure Mikrotik need professional script editor that make us able to write scripts with less suffering.
hope this can be done as soon as possible or it can be optional package which you can download it or not based on user needs and hope that package contains some simple linux commands like:-
cd - change directory
cp - copy files and directories
mkdir - make directories
mv - move (rename) files
rm - remove files or directories
script editor - for file editing in text format with color and error detector.
I hope other users can support this request
regards for all