scripting

i have this file that i want to read ill be updating it dayly
ill have zw0001 x
zw0002
zw0003x

now the list will grow ZW0001-ZW???
so what i need is for it to read all vales and change to my pppoe clients connections according to the test file


so if there is a x it leaves i as it is no change

but if there is no x it must change the upload and download speed
for example 512/512 to 0/0

can this be done?
if anyone can help me to get somthing like this working

i added a txt example of the text file
YES.txt (28.8 KB)

Your text file can only support a maximum of 4096 characters…after this it apparantly cannot be written to or read from, I am running something similar and am waiting for it to hit the limit before I can see what happeness.

You can try v4.0beta3 and LUA. You can write, read, crate files without any limitations
http://wiki.mikrotik.com/wiki/Scripting-examples#Read_and_write_large_files

Awesome! I have been looking forward to this, thanks! :smiley:

so can you maybe help me to get somthing like this going?

as im still learning the scripting of mikrotik