change login.html by script

Hello,
I want to cahnge my login.html by script
my problem (or the router problem :slight_smile: ) is that I can only use " " 1 time
so when I try to run this command it get stuck here:

 system script print where name=test
Flags: I - invalid 
 0   name="test" owner="admin" policy=ftp,reboot,read,write,policy,test,winbox,password,sniff,sensitive,api last-started=oct/26/2016 11:21:05 
     run-count=2 source=
       :global ip [/ip address get value-name=address [find where dynamic]]
       :global currentIP [:pick $ip 0 [:find $ip "/"]]
       /file set hotspot/login.html contents="
       <!DOCTYPE html>
       <html>
       <head>
       \t<title>Egged WIFI</title>
       \t<meta http-equiv="Content-Type"

any idea how to fix this ? how to be able to change the login in script?


Thanks ,