I hate Outlook at times :)
Thanks for the response.
Line numbered script, 12 lines, every line begins with a number - no errant
slashes, there are no line breaks in places that break the syntax, I have 200+
v 5.x devices that this works on, V6 it does not.
Can someone help me with where the semicolons need to be below? Of course the
line numbers will be removed, this is to assist since some place it is getting
wrapped/munged I guess
1 - :if ([:len [/file find name=blocks.rsc]] > 0) do={
2 - /import blocks.rsc
3 - :delay 10
4 - /file remove blocks.rsc
5 - }
6
7 - :if ([:len [/file find name=unblocks.rsc]] > 0) do={
8 - /import unblocks.rsc
9 - :delay 10
10 - /file remove unblocks.rsc
11 - }
12 - /ip firewall address-list print without-paging file=list.rsc
Thanks again,
Jerry
-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Grand Avenue
Broadband
Sent: Friday, June 28, 2013 2:40 PM
To: Mikrotik discussions
Subject: Re: [Mikrotik] Version 6.1 Script vs 5.xx
I'm assuming the second do with the bracket, slash, and then a newline Is a
typo on your part. If not, that's your problem. Otherwise, try inserting
semicolons in all the appropriate places – it never hurts.
On Jun 28, 2013, at 11:12 AM, "Jerry Allen" <[email protected]> wrote:
> For some reason email does not have the line breaks in the correct spot?
>
> Edited for proper display<clip>
_______________________________________________
Mikrotik mailing list
[email protected]
http://mail.butchevans.com/mailman/listinfo/mikrotik
Visit http://blog.butchevans.com/ for tutorials related to Mikrotik RouterOS