Just so you know, we don't know the file format for every file. If it's just a bunch of random characters, it's probably a .zip or .jar.
command /npc <text> <text> [<text>] [<text>]:
trigger:
if arg-1 is "Create":
if arg-4 is not set:
make player execute command "znpcs create %arg-2% PLAYER %arg-3%"
else:
make player execute command "znpcs Create %arg-2% %arg-4% %arg-3%"
if arg-1 is "delete":
make player execute command "znpcs delete %arg-2%"
if arg-1 is "rename":
make player execute command "znpcs lines %arg-2% set %arg-3%"
if arg-1 is "ChangeSkin":
make player execute command "znpcs skin %arg-2% %arg-3%"
if arg-1 is "Action":
if arg-3 is "add":
make player execute command "znpcs action %arg-2% add CMD %arg-4%"