script help

hi every body
i need ur help to write script that distribute the total bandwidth to the online user equally

as example

the total band is 512/256 Kbps

the no of the active user is 5
so each user take 102.4/51.2 Kbps

is that posible and how ?

Hi,

You don’t have to use scripts to do this. Look at:
http://www.mikrotik.com/testdocs/ros/2.9/root/queue.php

example: Equal bandwidth sharing among users

regards