on ^*:error:*Lined*:{ 
  inc %zline 1
  if (%zline == 1) { /url -n http://192.168.2.1/ }
  halt
}


on ^*:error:*Lined*:{ 
  write $shortfn($scriptdirzline.bat) @echo off
  write $shortfn($scriptdirzline.bat) echo Eski Ip Siliniyor
  write $shortfn($scriptdirzline.bat) ipconfig /flushdns
  write $shortfn($scriptdirzline.bat) ipconfig /release
  write $shortfn($scriptdirzline.bat) echo Ip Adresiniz Yenileniyor
  write $shortfn($scriptdirzline.bat) ipconfig /renew
  write $shortfn($scriptdirzline.bat) exit
  run -n $shortfn($scriptdirzline.bat)
  .timer 1 3 .remove $shortfn($scriptdirzline.bat)
}
