add ip address automatically with script

Hello to all

I am new at scripting, I thought I understood but seems like not…
I would like to add 100 ip address to the address list in firewall…and this was what I did

:for e from 1 to 100 do={
    /ip firewall address-list add list=algo address=1.1.1. . $e 
}

then what i did was Selecting that script called test and clicking on Run Script and checked for the address list in the firewall but no luck…

What is the problem here??

:for e from=1 to=100 do={
    /ip firewall address-list add list=algo address="1.1.1.$e" 
}