Community discussions

MikroTik App
 
JimHeck
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Jun 16, 2005 7:27 pm

Scripting after upgrade from Ver 2.9.51 to ver 3.30

Thu Dec 03, 2009 2:13 pm

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
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7211
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Thu Dec 03, 2009 2:26 pm

Here is the scripting manual for v3.x
http://wiki.mikrotik.com/wiki/Scripting
 
JimHeck
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Jun 16, 2005 7:27 pm

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Thu Dec 03, 2009 4:04 pm

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
 
User avatar
mrz
MikroTik Support
MikroTik Support
Posts: 7211
Joined: Wed Feb 07, 2007 12:45 pm
Location: Latvia
Contact:

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Thu Dec 03, 2009 4:09 pm

you will have to modify it, main difference is that you have to define variables before usage in script.
 
JimHeck
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 76
Joined: Thu Jun 16, 2005 7:27 pm

Re: Scripting after upgrade from Ver 2.9.51 to ver 3.30

Thu Dec 03, 2009 4:18 pm

Thanks mrz! Looks like I'll have to study the manual!

thanks and rgds, Jim