int32 book = atoul(sep->arg[0]); // 0 - spells, 1 - combat, 2 - abilities, 3 - tradeskill
int32 sort_by = atoul(sep->arg[1]); // 0 - alpha, 1 - level, 2 - category
int32 order = atoul(sep->arg[2]); // 0 - ascending, 1 - descending
int32 pattern = atoul(sep->arg[3]); // 0 - zigzag, 1 - down, 2 - across
int32 maxlvlonly = atoul(sep->arg[4]); // 0 - zigzag, 1 - down, 2 - across