Register forum user name Search FAQ

Gammon Forum

Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the password reset link.

Due to spam on this forum, all posts now need moderator approval.

 Entire forum ➜ PennMUSH ➜ Running the server ➜ Changing CHAT_TOKEN_ALIAS in Win32 version

Changing CHAT_TOKEN_ALIAS in Win32 version

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Scaven   (3 posts)  Bio
Date Sat 26 Jan 2002 02:02 AM (UTC)
Message
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. :)
Top

Posted by Nick Gammon   Australia  (23,173 posts)  Bio   Forum Administrator
Date Reply #1 on Sat 26 Jan 2002 09:12 PM (UTC)
Message
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.

- Nick Gammon

www.gammon.com.au, www.mushclient.com
Top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


11,491 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.