string format_nicely(int num) { switch(num) { case 0x000 .. 0x010: return "Computer Illiterate"; case 0x011 .. 0x040: return "User"; case 0x041 .. 0x080: return "an Operator"; case 0x081 .. 0x0C0: return "a Nerd"; case 0x0C1 .. 0x100: return "a Hacker"; case 0x101 .. 0x180: return "a Guru"; case 0x181 .. 0x200: return "a Wizard"; default: return "a Cheater"; } } string parse(object id) { int score; if(!id->variables["1"]) return "You have to complete the hackers test before you reply!\n"; perror(sprintf("%O", id->variables["1"])); score = sizeof(id->variables["1"] / " "); return ("

You got " + score + " points. That makes you " + format_nicely(score)+"

"); }