With the following LPC code, which is meant to make it more difficult for players to use triggers - it displays normally in CMUD and TinyFugue, but in MushClient it tries to print the backspace characters (char 8), which makes it look like garbage in the terminal window.
Is there something I can do (as a player), to prevent this? It should appear like normal text.
-d
Is there something I can do (as a player), to prevent this? It should appear like normal text.
-d
string no_trig(string str)
{
string *chars;
int i;
if(!stringp(str) || ((i = strlen(str)) < 2)){
return str;
}
chars = allocate(i);
while(i--){
chars = str[i..i];
}
return implode(chars, " " + sprintf("%c", 8));
}