makecode
botsub(makecode(SPELLS, 8, 18), "%3ld");
botsub(makecode(SPELLMAX, 12, 18), "%3ld)");
botsub(makecode(SPELLMAX, 12, 18), "%2ld) ");
botsub(makecode(HP, 5, 19), "%3ld");
botsub(makecode(HPMAX, 9, 19), "%3ld");
botsub(makecode(AC, 21, 18), "%-3ld");
botsub(makecode(WCLASS, 30, 18), "%-3ld");
botsub(makecode(EXPERIENCE, 49, 18), "%-9ld");
botsub(makecode(LEVEL, 40, 18), "%3ld");
botsub(makecode(LEVEL, 40, 18), " %-2ld");
botsub(makecode(TMP, 18, 19), "%-2ld");
botsub(makecode(INTELLIGENCE, 25, 19), "%-2ld");
botsub(makecode(WISDOM, 32, 19), "%-2ld");
botsub(makecode(CONSTITUTION, 39, 19), "%-2ld");
botsub(makecode(DEXTERITY, 46, 19), "%-2ld");
botsub(makecode(CHARISMA, 53, 19), "%-2ld");
botsub(makecode(GOLD, 69, 19), "%-6ld");
botsub(makecode(GOLD, 69, 19), "%-6ld");
botsub(makecode(HP, 5, 19), "%3ld");
botsub(makecode(SPELLS, 9, 18), "%2ld");
*scancode = ks.makecode;
buf[i++] = (u_char)ks.makecode & 0x80;
buf[i++] = (u_char)ks.makecode;
uint16_t makecode;