local Source, Target if(arg(0) == 1) do Source = arg(1) ++ "descript.ion" Target = Source else Source = arg(1) ++ arg(2) ++ "." ++ arg(3) Target = arg(1) ++ arg(2) ++ arg(4) ++ "." ++ arg(3) endif if(not validpath(Source)) do messagebox("ok error", "File " ++ Source ++ " is missing", "No source file") quit endif local Str = file.readall(Source) local v = vec.createfromlines(Str) if(v <= 0) do messagebox("ok error", "Vector not created", "VEC plugin error") quit endif vec.sortstring(v) Str = vec.makelines(v) file.writeall(Target, Str) vec.unload