Ive now made this code, but i still get a error at the first IF.
BEGIN
IF NEW.vocation == 1 THEN
INSERT INTO "player_skills" ("player_id", "skillid", "value") VALUES (NEW."id", 0, 10);
INSERT INTO "player_skills" ("player_id", "skillid", "value") VALUES (NEW."id", 1, 10);
INSERT...