How to change lot off rules i one script ?

And wont to change profiles for my users … and and dont know how

i use
:for i from=0 to=301 do={/ip hotspot user set (profile=TOPNET352) . $1 . }


but this dont work … any ideas how to do this

You can try this:

/ip hotspot user
pr

set [find] profile=TOPNET352