Page 1 of 1

Scripting after upgrade from Ver 2.9.51 to ver 3.30

Posted: Thu Dec 03, 2009 2:13 pm
by JimHeck
Hi Folks,

I've just taken a new MT box into use with version 3.30. I'd be interested to know if the scripts on the old (ver2.9.51) box should work without modification.

If not, is there a doc anywhere that list the differences in the two scripting languages?

Grateful for any advice/comments.

rgds
Jim Heck

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Posted: Thu Dec 03, 2009 2:26 pm
by mrz
Here is the scripting manual for v3.x
http://wiki.mikrotik.com/wiki/Scripting

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Posted: Thu Dec 03, 2009 4:04 pm
by JimHeck
Hi mrz,

Thanks for the link to the new manual.

I was wondering if I should expect my old (ver 2.9) scripts to work with the new box (ver 3.30). Or will I have to make modifications to the scripts?

rgds
Jim

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Posted: Thu Dec 03, 2009 4:09 pm
by mrz
you will have to modify it, main difference is that you have to define variables before usage in script.

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Posted: Thu Dec 03, 2009 4:18 pm
by JimHeck
Thanks mrz! Looks like I'll have to study the manual!

thanks and rgds, Jim