Validator, imho better make so, cause we are creating only 1st professions, plus better set @builder to 0:
Code:
---anti-DWARF-MAGE-block
--human
IF @race=0 and @class not in (0,10)
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
--elf
IF @race=1 and @class not in (18,25)
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
--delf
IF @race=2 and @class not in (31,38)
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
--orc
IF @race=3 and @class not in (44,49)
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
--dwarf
IF @race=4 and @class not in (53)
BEGIN
RAISERROR ('Character name has space : name = [%s]', 16, 1, @char_name)
RETURN -1
END
SET @builder=0
---eof-DWARF-MAGE