Community discussions

MikroTik App
 
FuTik
just joined
Topic Author
Posts: 3
Joined: Wed Feb 20, 2008 11:50 am

FUP script

Fri Mar 07, 2008 8:39 pm

:local traf;
/queue simple
:for i from=10 to=55 do ={
:local ip "192.168.33.$i/32"
:if ([/queue simple find dst-address=($ip)] != "") do={
:set traf [get [find dst-address=($ip)] total-bytes]
:if ($traf > 360000000) do ={
set [find dst-address=($ip)] max-limit= 256000/246000
}
}
}
This script don`t work on MK 3.4
Can somebody help ? thanks
 
User avatar
Letni
Member
Member
Posts: 376
Joined: Tue Dec 05, 2006 5:16 am
Location: South Carolina

Re: FUP script

Sun Mar 09, 2008 9:41 am

V3.4 introduced a scripting bug.
http://forum.mikrotik.com/viewtopic.php?f=9&t=22362

-Louis
 
balw
just joined
Posts: 3
Joined: Sat Apr 26, 2008 12:48 am
Location: Czech Republic

Re: FUP script

Sat Apr 26, 2008 12:54 am

Could anybody send me whole script? I´m a begginer so I´don´t know much about scripting in MT. Thanks
 
balw
just joined
Posts: 3
Joined: Sat Apr 26, 2008 12:48 am
Location: Czech Republic

Re: FUP script

Tue Apr 29, 2008 10:04 pm

Do you have modified version of FUP script which is working on versions 3.x? Can you help me with this? Thank you for reply

Who is online

Users browsing this forum: ansh, FurfangosFrigyes, soltanpour and 12 guests