",true);
$testtext = httppost('testtext');
output("You entered %s`n", prevent_colors(HTMLEntities($testtext, ENT_COMPAT, getsetting("charset", "ISO-8859-1"))), true);
output("It looks like %s`n", $testtext);
$try = translate_inline("Try");
rawoutput("");
rawoutput("");
rawoutput("");
rawoutput("");
output("`0`n`nThese colors can be used in your name, and in any conversations you have.");
addnav("",$REQUEST_URI);
}else if($act=="specialty"){
$specialty = httpget('specialty');
if ($specialty==""){
output("\"`2I want to change my specialty,`0\" you announce to %s`0.`n`n",$barkeep);
output("With out a word, %s`0 grabs you by the shirt, pulls you over the counter, and behind the barrels behind him.",$barkeep);
output("There, he rotates the tap on a small keg labeled \"Fine Swill XXX\"`n`n");
output("You look around for the secret door that you know must be opening nearby when %s`0 rotates the tap back, and lifts up a freshly filled foamy mug of what is apparently his fine swill, blue-green tint and all.`n`n",$barkeep);
output("\"`3What? Were you expecting a secret room?`0\" he asks. \"`3Now then, you must be more careful about how loudly you say that you want to change your specialty, not everyone looks favorably on that sort of thing.`n`n");
output("`0\"`3What new specialty did you have in mind?`0\"");
$specialities = modulehook("specialtynames");
foreach($specialities as $key=>$name) {
addnav($name,cmd_sanitize($REQUEST_URI)."&specialty=$key");
}
}else{
output("\"`3Ok then,`0\" %s`0 says, \"`3You're all set.`0\"`n`n\"`2That's it?`0\" you ask him.`n`n",$barkeep);
output("\"`3Yep. What'd you expect, some sort of fancy arcane ritual???`0\" %s`0 begins laughing loudly.",$barkeep);
output("\"`3You're all right, kid... just don't ever play poker, eh?`0`n`n");
output("\"`3Oh, one more thing. Your old use points and skill level still apply to that skill, you'll have to build up some points in this one to be very good at it.`0\"");
$session['user']['specialty']=$specialty;
}
}
?>