Might be a little easier to put them all in an array instead of using multiple removeweapon() functions. It doesn't really make a difference, but it looks nicer.
PHP Code:
function onCreated() {
this.weapons_rem = {
"-System",
"-Other",
"Weapons/Here"
};
}
function onActionPlayerOnline() {
for (weapons : this.weapons_rem) {
player.removeweapon(weapons);
}
}