So fix "it" error in your script. Typical your reaction. Instead of pasting your script, you write "it" doesn't work. Nobody can read your mind (and personally I am glad, I can't). Nobody can see your screen. Nobody knows what did you do in your script, where you put it e.t.c. Maybe when you will grow a little, you will find when you need answer, you need to provide enough information.
-- <https://forum.pspad.com/read.php?2,73303,73396> PSPad freeware editor https://www.pspad.com