Help with Script limiting at usage

Have been trying this
http://wiki.mikrotik.com/wiki/Limiting_a_user_to_a_given_amount_of_traffic_with_user_levels
for some time. In V5 script would start something like this.

/queue simple;
:foreach i in=[find]
do={
:local sqName [get $i name];
:local sqTotalBytes [get $i TotalBytes];
:local sqLevel [:find $sqName “[LevelA]”]; \

However TotalBytes is 0. If i make use of bytes in stead of Totalbytes the results is 12233/3445 which is the upload and download bytes used. This will be perfect if there is a way to replace the / with a + to ad the two and use that amount to compare.

Any suggestions would be appreciated.

total-bytes is not used if queue type is default-small.

You can use :find and :pick commands to parse out / character

Gread, thanks.