[EVO Shift 4G General] linuxman008:
A updater-script is different for each rom because of each rom has to be whats called symlinked (basically, as I understand it, when an app requests a file, let's say /system/app/youtube.apk it will load that, but the app doesn't actually need to exist there. So you could put the app in /data/app and when its requested at /system/app, it loads it as if it were there, kinda like a shortcut on windows)

and in this specific script, there is a couple of executables that change the certain files, and those need to run. I managed to make a new script with rom kitchen, and it loaded fine but didn't boot.

This is the code for the default script

ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("================================================");
ui_print("****************** Fortified *****************");
ui_print("================================================");
ui_print("");
ui_print("================================================");
ui_print("******* Team Nocturnal *********");
ui_print("*********** gtalk:acurax@gmail.com *********");
ui_print("*********** Need moar work! *********");
ui_print("================================================");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");

show_progress(0,0);

ui_print("Formatting System...");
format("ext3", "EMMC", "/dev/block/mmcblk0p26");
mount("ext3", "EMMC", "/dev/block/mmcblk0p26", "/system");
ui_print("Formatting Data...");
format("ext3", "EMMC", "/dev/block/mmcblk0p27");
mount("ext3", "EMMC", "/dev/block/mmcblk0p27", "/data");

show_progress(0.700000, 50);
ui_print("Writing Data...");

package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");

ui_print("Writing System...");
package_extract_dir("system", "/system");

symlink("/data/sysapp", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/sysapp");

symlink("dumpstate", "/system/bin/bugreport");
symlink("dumpstate", "/system/bin/dumpcrash");

symlink("toolbox", "/system/bin/cat", "/system/bin/chmod", "/system/bin/chown",
"/system/bin/chownto", "/system/bin/ionice", "/system/bin/nandread",
"/system/bin/cmp", "/system/bin/date", "/system/bin/dd",
"/system/bin/df", "/system/bin/dmesg", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",
"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",
"/system/bin/ioctl", "/system/bin/kill", "/system/bin/ln",
"/system/bin/log", "/system/bin/ls", "/system/bin/lsmod",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify",
"/system/bin/printenv", "/system/bin/ps", "/system/bin/renice",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/umount",
"/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe");

set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 2000, 0755, "/system/xbin/sqlite3");
set_perm(0, 0, 0777, "/system/bin/nano");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/sysro");

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");

delete("/system/bin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0755, "/system/virtuous/scripts");

symlink("/system/bin/bash", "/system/xbin/bash");
set_perm(0, 0, 04755, "/system/bin/bash");

set_perm (0, 0, 0777, "/system/bin/a2sd");
set_perm (0, 0, 0777, "/system/etc/init.d/99complete");
set_perm (0, 0, 0777, "/system/bin/launcha2sd");
set_perm (0, 0, 0777, "/system/bin/starta2sd");
set_perm (0, 0, 0777, "/system/bin/chka2sd");
set_perm (0, 0, 0777, "/system/bin/zipalign");
set_perm (0, 0, 0777, "/system/bin/sysinit");
set_perm (0, 0, 0777, "/system/bin/bash");
set_perm (0, 0, 0777, "/system/bin/busybox.a2sd");
set_perm (0, 0, 0644, "/system/bin/apps2sd.hlp");
set_perm (0, 0, 0777, "/system/bin/dtinstall");
set_perm (0, 0, 0777, "/data/dtinstall.launch");
set_perm (0, 0, 0777, "/system/bin/e2fsck");
set_perm (0, 0, 0777, "/system/bin/tune2fs");
set_perm (0, 0, 0777, "/system/etc/init.d/dtapp");
set_perm (0, 0, 0777, "/system/bin/fix_permissions");

ui_print("Pushin Kinged!!!...");
run_program("/data/dtinstall.launch");
delete("/system/bin/dtinstall");
delete("/data/dtinstall.launch");

ui_print("Running ROM configuration scripts ...");
package_extract_file("virtuous-setup_rom", "/tmp/virtuous-setup_rom");
set_perm(0, 0, 0777, "/tmp/virtuous-setup_rom");
run_program("/tmp/virtuous-setup_rom");

ui_print("Preparing ROM sdcard directory ...");
delete_recursive("/sdcard/Kings Goodies/Changelog");
package_extract_dir("sdcard", "/sdcard");

show_progress(0.200000, 0);
show_progress(0.200000, 10);
ui_print("Flashing kernel...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(10.000000, 1);

ui_print("Done done diddy...");
ui_print(" ");
unmount("/system");
unmount("/data");

and this is my modified one

ui_print("================================================");
ui_print("****************** Fortified *****************");
ui_print("================================================");
ui_print("");
ui_print("================================================");
ui_print("******* Team Nocturnal *********");
ui_print("*********** gtalk:acurax@gmail.com *********");
ui_print("*********** Need moar work! *********");
ui_print("================================================");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
ui_print("");
show_progress(0,0);
format("ext3", "EMMC", "/dev/block/mmcblk0p26");
mount("ext3", "EMMC", "/dev/block/mmcblk0p26", "/system");
format("ext3", "EMMC", "/dev/block/mmcblk0p27");
mount("ext3", "EMMC", "/dev/block/mmcblk0p27", "/data");
package_extract_dir("data", "/data");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/local");
set_perm_recursive(1000, 1000, 0771, 0644, "/data/app");
package_extract_dir("system", "/system");
symlink("/data/sysapp", "/system/app");
set_perm_recursive(0, 0, 0755, 0644, "/data/sysapp");

symlink("dumpstate", "/system/bin/bugreport");
symlink("dumpstate", "/system/bin/dumpcrash");

symlink("toolbox", "/system/bin/cat", "/system/bin/chmod", "/system/bin/chown",
"/system/bin/chownto", "/system/bin/ionice", "/system/bin/nandread",
"/system/bin/cmp", "/system/bin/date", "/system/bin/dd",
"/system/bin/df", "/system/bin/dmesg", "/system/bin/getevent",
"/system/bin/getprop", "/system/bin/hd", "/system/bin/id",
"/system/bin/ifconfig", "/system/bin/iftop", "/system/bin/insmod",
"/system/bin/ioctl", "/system/bin/kill", "/system/bin/ln",
"/system/bin/log", "/system/bin/ls", "/system/bin/lsmod",
"/system/bin/mkdir", "/system/bin/mount", "/system/bin/mv",
"/system/bin/netstat", "/system/bin/newfs_msdos", "/system/bin/notify",
"/system/bin/printenv", "/system/bin/ps", "/system/bin/renice",
"/system/bin/rm", "/system/bin/rmdir", "/system/bin/rmmod",
"/system/bin/route", "/system/bin/schedtop", "/system/bin/sendevent",
"/system/bin/setconsole", "/system/bin/setprop", "/system/bin/sleep",
"/system/bin/smd", "/system/bin/start", "/system/bin/stop",
"/system/bin/sync", "/system/bin/top", "/system/bin/umount",
"/system/bin/vmstat", "/system/bin/watchprops", "/system/bin/wipe");

set_perm_recursive(0, 0, 0755, 0644, "/system");
set_perm_recursive(0, 2000, 0755, 0755, "/system/bin");

set_perm(0, 3003, 06755, "/system/bin/ip");
set_perm(0, 3003, 02750, "/system/bin/netcfg");
set_perm(0, 3004, 02755, "/system/bin/ping");
set_perm(0, 2000, 06750, "/system/bin/run-as");
set_perm_recursive(1002, 1002, 0755, 0440, "/system/etc/bluetooth");
set_perm(0, 0, 0755, "/system/etc/bluetooth");
set_perm(1000, 1000, 0640, "/system/etc/bluetooth/auto_pairing.conf");
set_perm(3002, 3002, 0444, "/system/etc/bluetooth/blacklist.conf");
set_perm(1002, 1002, 0440, "/system/etc/dbus.conf");
set_perm(1014, 2000, 0550, "/system/etc/dhcpcd/dhcpcd-run-hooks");
set_perm(0, 0, 04755, "/system/etc/ppp/ip-up-vpn");
set_perm(0, 2000, 0550, "/system/etc/init.goldfish.sh");
set_perm(0, 2000, 0755, "/system/xbin/sqlite3");
set_perm(0, 0, 0777, "/system/bin/nano");
set_perm(0, 0, 0777, "/system/bin/sysrw");
set_perm(0, 0, 0777, "/system/bin/sysro");

set_perm_recursive(0, 2000, 0755, 0755, "/system/etc/init.d");
set_perm(0, 0, 0755, "/system/etc/init.d");

delete("/system/bin/su");
symlink("/system/xbin/su", "/system/bin/su");
set_perm(0, 0, 06755, "/system/xbin/su");
set_perm(0, 0, 04755, "/system/xbin/busybox");
set_perm_recursive(0, 0, 0755, 0755, "/system/virtuous/scripts");

symlink("/system/bin/bash", "/system/xbin/bash");
set_perm(0, 0, 04755, "/system/bin/bash");

set_perm (0, 0, 0777, "/system/bin/a2sd");
set_perm (0, 0, 0777, "/system/etc/init.d/99complete");
set_perm (0, 0, 0777, "/system/bin/launcha2sd");
set_perm (0, 0, 0777, "/system/bin/starta2sd");
set_perm (0, 0, 0777, "/system/bin/chka2sd");
set_perm (0, 0, 0777, "/system/bin/zipalign");
set_perm (0, 0, 0777, "/system/bin/sysinit");
set_perm (0, 0, 0777, "/system/bin/bash");
set_perm (0, 0, 0777, "/system/bin/busybox.a2sd");
set_perm (0, 0, 0644, "/system/bin/apps2sd.hlp");
set_perm (0, 0, 0777, "/system/bin/dtinstall");
set_perm (0, 0, 0777, "/data/dtinstall.launch");
set_perm (0, 0, 0777, "/system/bin/e2fsck");
set_perm (0, 0, 0777, "/system/bin/tune2fs");
set_perm (0, 0, 0777, "/system/etc/init.d/dtapp");
set_perm (0, 0, 0777, "/system/bin/fix_permissions");

ui_print("Pushin Kinged!!!...");
run_program("/data/dtinstall.launch");
delete("/system/bin/dtinstall");
delete("/data/dtinstall.launch");

ui_print("Running ROM configuration scripts ...");
package_extract_file("virtuous-setup_rom", "/tmp/virtuous-setup_rom");
set_perm(0, 0, 0777, "/tmp/virtuous-setup_rom");
run_program("/tmp/virtuous-setup_rom");

ui_print("Preparing ROM sdcard directory ...");
delete_recursive("/sdcard/Kings Goodies/Changelog");
package_extract_dir("sdcard", "/sdcard");

show_progress(0.200000, 0);
show_progress(0.200000, 10);
ui_print("Flashing kernel...");
assert(package_extract_file("boot.img", "/tmp/boot.img"),
write_raw_image("/tmp/boot.img", "boot"),
delete("/tmp/boot.img"));
show_progress(10.000000, 1);

ui_print("Done done diddy...");
ui_print(" ");
unmount("/system");
unmount("/data");

Now both of these give the error 7,

For those that don't remember the error is

format() error, expect 2 args, got 3
E: Error in /sdcard/Fortified_beta2.zip
(Status 7)

I'm guessing arg stand for arguments, and as seen in the above scripts, there are 4 arguments "(format("ext3", "EMMC", "/dev/block/mmcblk0p26")", and clockwork is saying 2 is the maximum allowed (?) but all of those are needed to make this load. If anyone wants to help solve this, I'm going to the IRC