Changing CHAT_TOKEN_ALIAS in Win32 version

Posted by Scaven on Sat 26 Jan 2002 02:02 AM — 2 posts, 12,051 views.

#0
Ok, here's the deal. I want to change the CHAT_TOKEN_ALIAS that is defaulted to '+' in the compiled Win32 version. However, I can't find a way to do this without recompiling the game from the decompiled version. Is there perhaps a way that I can set this option in the MUSH.CNF file or anything? Perhaps a workaround in future Win32 PennMUSH releases?

I only ask because I am used to playing on Star Wars I (www.starwarsmush.com) and they use the '=' for channel messages. And it's what I'm most used to.

Thanks. :)
Australia Forum Administrator #1
I don't make changes to the PennMUSH source - you could request that at www.pennmush.org.

However it would be simple enough to do, and you can compile it easily enough using Cygwin, which is free.

In fact, they have allowed for that in the options.h file, here is the relevant part ...


/* Many MUSHes want to change the +channels to =channels. That's
 * annoying. So we've got this CHAT_TOKEN_ALIAS, which allows + as well
 * as = (or whatever) channels. If you want this, define it to be
 * the character you want to use in addition to +, enclosed in
 * single quotes, as in '=' or '.' or whatever. Don't define it to '+'!
 */
/* #define CHAT_TOKEN_ALIAS     '=' /* */


So, simply change the line above, and recompile using Cygwin.