Code:
INSERT INTO `npc_text` VALUES ('4040', '100', 'What Helmet Enchant would you like to have applied to your currently equipped Helm?', 'What Helmet Enchant would you like to have applied to your currently equipped Helm?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4041', '100', 'What Shoulder Enchant would you like to have applied to your currently equipped Shoulders?', 'What Shoulder Enchant would you like to have applied to your currently equipped Shoulders?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4042', '100', 'What Cloak Enchant would you like to have applied to your currently equipped Cloak?', 'What Cloak Enchant would you like to have applied to your currently equipped Cloak?', '0', '0', '0', '1', '0', '18', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4043', '100', 'What Chest Enchant would you like to have applied to your currently equipped Chest?', 'What Chest Enchant would you like to have applied to your currently equipped Chest?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4044', '100', 'What Bracer Enchant would you like to have applied to your currently equipped Bracers?', 'What Bracer Enchant would you like to have applied to your currently equipped Bracers?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4045', '100', 'What Glove Enchant would you like to have applied to your currently equipped Gloves?', 'What Glove Enchant would you like to have applied to your currently equipped Gloves?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4046', '100', 'What Leg Enchant would you like to have applied to your currently equipped Legguards?', 'What Leg Enchant would you like to have applied to your currently equipped Legguards?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4047', '100', 'What Boot Enchant would you like to have applied to your currently equipped Boots?', 'What Boot Enchant would you like to have applied to your currently equipped Boots?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4048', '100', 'What Shield Enchant would you like to have applied to your currently equipped Shield?', 'What Shield Enchant would you like to have applied to your currently equipped Shield?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4049', '100', 'What One Hand Weapon Enchant would you like to have applied to your currently equipped...?', 'What One Hand Weapon Enchant would you like to have applied to your currently equipped...?', '0', '0', '0', '1', '0', '1', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4050', '100', 'What One Handed Weapon Enchant would you like to have applied to your currently equipped Offhand?', 'What One Handed Weapon Enchant would you like to have applied to your currently equipped Offhand?', '0', '0', '0', '1', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4051', '100', 'What One Handed Weapon Enchant would you like to have applied to your currently equipped Main Hand?', 'What One Handed Weapon Enchant would you like to have applied to your currently equipped Main Hand?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4052', '100', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped Two handed weapon?', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped Two handed weapon?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4053', '100', 'What Two handed Enchant would you like to have applied to your currently equipped...?', 'What Two handed Enchant would you like to have applied to your currently equipped...?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4054', '100', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped 2h Offhand?', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped 2h Offhand?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4055', '100', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped 2h Mainhand?', 'What Two handed Weapon Enchant would you like to have applied to your currently equipped 2h Mainhand?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4056', '100', 'Hello $n, I can enchant any item you have equipped on your person. Where would you like to start?', 'Hello $n, I can enchant any item you have equipped on your person. Where would you like to start?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4057', '100', 'What Ring Enchant would you like to have applied to your currently equipped first slot ring?', 'What Ring Enchant would you like to have applied to your currently equipped first slot ring?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4058', '100', 'What Fur Lining would you like to have applied to your currently equipped bracers?', 'What Fur Lining would you like to have applied to your currently equipped bracers?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4059', '100', 'What Cloak Embroidery would you like to have applied to your currently equipped Cloak?', 'What Cloak Embroidery would you like to have applied to your currently equipped Cloak?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4060', '100', 'What Shoulder Inscription would you like to have applied to your currently equipped Shoulders?', 'What Shoulder Inscription would you like to have applied to your currently equipped Shoulders?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4061', '100', 'What Engineering gadget would you like to have applied to your currently equipped item relative to the enchant?', 'What Engineering gadget would you like to have applied to your currently equipped item relative to the enchant?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4062', '100', 'What Leg Armor Enchant would you like to have applied to your currently equipped Legs?', 'What Leg Armor Enchant would you like to have applied to your currently equipped Legs?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4063', '100', 'What Ring Enchant would you like to have applied to your currently equipped 2nd slot ring?', 'What Ring Enchant would you like to have applied to your currently equipped 2nd slot ring?', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4064', '100', 'Hello $n, I\'ve been instructed to tell you specifically, about my more powerful enchants and apply any of those enchants to your gear if you wish to do so.', 'Hello $n, I\'ve been instructed to tell you specifically, about my more powerful enchants and apply any of those enchants to your gear if you wish to do so.', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
INSERT INTO `npc_text` VALUES ('4065', '100', '$n. Select an enchantment you would like applied to any peice of your gear. Then write in the item you want the enchant applied to. For example, if you click Enchant Weapon - Massacre, and you want it applied to your helm. When the box pops up write in \"Helm\".', '$n. Select an enchantment you would like applied to any peice of your gear. Then write in the item you want the enchant applied to. For example, if you click Enchant Weapon - Massacre, and you want it applied to your helm. When the box pops up write in \"Helm\".', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '1', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0', '0', '', '', '0', '0', '0', '0', '0', '0', '0');
Credits go to me for the script, and Pwntzyou for helping me with all the problems i ran into.