;WHILE LOOPS ;First we set a variable at 1 var %a 1 ;Then we start our while loop, whenever the condition in the while loop is true, ;The command(s) inside the while loop will execute, similar to an if statement. while (%a <= $lines(-->>ENTER THE .ini FILE HERE<<--)) { ;We then check if line %a has information we need (%a will be increased by 1... ;...Every time the commands in the loop are executed thus scanning every line). ;In this case we want to look for an .ini entry, so we search for *=* in the line. if (*=* iswm $read(-->>ENTER THE .ini FILE HERE<<--,%a)) { ;Add a line to the control with the banmask information. did -a -->>DIALOG NAME<<-- -->>CONTROL ID<<-- $gettok($v2,1,61) } ;Increase %a by 1 and go back to the beggining of the while loop! inc %a 1 }