Q3Post 1.20

by skLith (skLith@popaccount.com)

http://q3a.stomped.com/q3post

Description:

Q3Post is an mIRC script for Quake 3 Arena players that lets you:

Installation:

WARNING: Do the steps in order or Q3Post probably won't work. =)

Upgrading Q3Post: follow these steps, but do the extra step "1b"

  1. Make sure you have the Quake 3 Arena point release (v1.15c) and mIRC v5.61. You can check which version of Quake 3 by running it and pressing the ` key (the version will be on the right hand side of the console that comes down) The get the version number for mIRC go to the "Help" menu and select "About..."

    1b. (only if you are upgrading Q3Post) Open mIRC and either select the Q3Post menu item "Quit Q3Post" (if you had version 1.13) or enter "/unload -rs q3post.mrc" in the input line (without the quotes) and then close mIRC.

  2. Quit mIRC if it is running..

  3. Put the new q3pmenu.txt and q3post.mrc files in your mIRC directory (C:\mirc is common), replacing any old versions.

  4. Start up mIRC and enter this command in the mIRC input line: "/load -rs q3post.mrc" (without the quotes) and select "Yes" if mIRC prompts you with a confirmation dialog box. Now Q3Post will load automatically every time you run mIRC.

  5. (You only need to do this if your copy of Quake 3 is not in C:\Program Files\Quake III Arena\) Use Q3Post's popup menu (right click in an mIRC chat window and select "Q3Post" to see the options) to set your Quake 3 directory.

  6. Check to see if mIRC is set up so that it can launch Quake 3 (and notepad if you want to edit the keyword file). Go to the mIRC options menu (ALT-o) and select "General" and then "Lock" and make sure that "Disable commands:" "/run" is NOT checked.

  7. Open your Quake III Arena\baseq3 directory. If you don't have an autoexec.cfg in this directory then just use the one I have included. Otherwise, open the autoexec.cfg included with Q3Post and copy the whole thing and paste it at the end of your autoexec.cfg. The new setting is fully automatic, and updates Q3Post's info whenever you connect to a new server. (you should replace any old autoexec.cfg settings with the new ones)

  8. Join a channel in mIRC where you want to try Q3Post out, and then start up Quake 3 (or quit Quake 3 and restart it if it was open) and connect to a server. Once you connect to a Quake 3 server, Q3Post should put up a message in the mIRC channel which describes the server you connected to. The message will be posted after a short delay, since Q3Post only checks for new info every few seconds so that it doesn't hog your computer. You can adjust the delay in the Q3Post menu if you want to.

Popup Menu in mIRC:

To use the popup menu in mIRC click the right mouse button in a chat window, or in the status window, and select Q3Post to see the menu items.

"Post Current Quake 3 Arena Server IP"
This is so you can manually post the IP of a server you are connected to, if you want to.

"Connect to a Quake 3 Arena Server"
Lauch Quake 3, connecting to the server IP address that you will be prompted for. This will also tell others in IRC that you are connecting to that server, and turn on Auto-Respond, just like if you had connected to a new server while playing. You can also do this by entering in the mIRC input line "/q3 [server IP address]"

"Get Server Stats or Browse Favorites"
Opens a window where you can get the stats from a Quake 3 Arena server (current players, ping, etc.) or browse a customizable favorites list. You can get server stats from any Quake 3 Arena server by entering its IP address in the input line of this window. Also the window has its own popup window, which allows you to do the following to your favorite server list: "Get Stats" "Connect" "Add a Server" "Remove"
You can also use the command "/q3info [server IP address]" to open this window from mIRC's input line.

"Turn On/Off Auto-Responses to Keywords"
Turn on or off the automatic responses triggered by people who type a line of text with your nickname or any other keyword that you have entered through the popup menu. The response will state the IP address and description of the server you have connected to. Auto-Respond is off each time you launch mIRC until you first connect to a Quake III Arena server.

"Add Keyword to Auto-Respond to"
Add a keyword that will trigger a response when Auto-Respond is on.

"Delete a Keyword"
Delete a keyword

"Edit Keyword File"
Edit the data file yourself if you prefer. Each keyword needs to be on a separate line, with no blank lines in between.

"Toggle Q3Post for Open Channels/Selected Channels"
Choose which IRC channels Q3Post will post messages in, or let Q3Post function in all channels you have open in mIRC (Default)

"Select Current Channel for Q3Post Messages"
Right click on a channel window and select this menu item to add this channel to the list of channels Q3Post is allowed to post in. Also, if Q3Post was posting in all open channels previously, it will now only post in selected channels.

"Select Another Channel for Q3Post Messages"
Same as the above menu item, except that you will be prompted to enter a channel name

"Deselect Current Channel"
Right click on a channel window and select this menu item to remove this channel to the list of channels Q3Post is allowed to post in. Also, if Q3Post was posting in all open channels previously, it will now only post in selected channels.

"Deselect Another Channel for Q3Post Messages"
Same as the above menu item, except that you will be prompted to enter a channel name

"Edit Channel File"
Edit the list of channels yourself if you prefer. Like the keyword file, each entry goes on a separate line, with no blank lines in between. Channels names start with #

"Turn On/Off Posting Server Updates"
Turn on/off the updates that say you have connected to a new server (separate from Auto-Responses)

"Change Quake III Arena Directory"
You need to set the Quake III Arena directory if it isn't C:\Program Files\Quake III Arena\

"Change the Update Delay"
Change how often Q3Post checks if you have connected to a new server (and have checked the scoreboard with TAB on that server). This number is in seconds, and the default is 20 which works well. If you make the delay really small you may have performance issues.

"About"
Let's you and others in your current mIRC channel know where to get Q3Post, and what version you are using.

"Quit Q3Post"
Shuts down Q3Post. To reload it later, type "/load RS q3post.mrc" in the mIRC input line, no quotes.

Uninstalling:

  1. Open mIRC and either select the Q3Post menu item "Quit Q3Post" (if you had version 1.13 or later) or enter "/unload -rs q3post.mrc" in the input line (without the quotes), then quit mIRC

  2. Move the q3post.mrc and q3pmenu.txt files out of the mirc directory, and any other files that start with "q3p"

  3. Remove the included autoexec.cfg file from your Quake III Arena\baseq3 directory, or if you had your own autoexec.cfg, take the settings from the Q3Post autoexec.cfg out.

Notes:

Version info:

1.20
  • fixed the input line in the server query window, which I just realized I had broken in a previous version

  • added a couple more types of color funnames that the server browser can display correctly
1.19
  • added "?q3post" as a special keyword for automatic responses, and a line to the update message telling people that they can use this keyword later
1.18
  • added support for query windows (private message windows in mIRC)

  • fixed a bug with some server names getting garbled in the server info window

  • now recognizes Merc's Teamplay Mod servers
1.17
  • "Fixed" a bug with the "Go" hotlink in the server browser not working if the IP address was wrapped on the next line (actually I just put the IP at the front of the line, so hopefully it won't wrap unless you are working in a freakishly small window =)

  • Found a bug with server names that contain "|" messing up the favorites list. So I replace any "|"s with "\"s in the favorites column.
1.16
  • Fixed a bug with the "Turn On/Off Posting Server Updates" setting not being saved

  • Changed the Quake 3 setting so the name doesn't start with a letter used by any regular Quake 3 variable or commands, so it won't appear if you are using tab completion
1.15
  • Changed the server browser window so it doesn't maximize automatically

  • Changed the wording of the server update message to make it more clear
1.14
  • The new Quake 3 settings automatically update Q3Post's info when you connect to a server. You don't need to use an update key anymore like old versions (you should replace any old autoexec.cfg settings with the new ones). Thanks "Damien"
1.13
  • Fixed a bug that had to do with canceled "change Quake III Arena directory" type dialogs
1.12
  • Added the customizable favorites list to the server stats window, and a popup menu for the window

  • Added a "Quit Q3Post" menu item

  • Changed the way the "Change the Update Delay" menu item works, so you don't have to restart mIRC.

  • Replaced the dialogs that were for changing your Quake III Arena directory with a standard Windows "Choose a Directory" type dialog, so you don't have to type it in.

  • Consolidated the menus a bit, adding another level

  • Other changes (minor)
1.11
  • Fixed a problem where if you hit the update key more than once when you just connected to a new server, the new server update wouldn't be posted

  • Added a check in the menu item that lets you change the Quake 3 directory, to make sure that you are entering a directory correctly. Also added a check at startup to see if you have set the directory correctly yet, and if not prompt you to enter (although this prompt is not error checked, so you can continue with IRC and fix it later if you don't enter a correct one)

  • Cleaned up the info messages some more, trying to make them easier to read
1.10
  • You can now get the stats from a Quake 3 Arena server in Q3Post (current players, ping, etc.) Use the new menu item "Get Info From a Server" or the command "/q3info [server IP address]"
1.09
  • When you say something in mIRC (that is, type some text into the input line in a channel window and hit enter), Auto-Respond will now turn off, if it was on
1.08
  • Changed the bind and script to prevent posting more than one server update for the same server, in a row. If you reconnect to the same server, another server update will be posted.
1.07
  • Took a ":" out of the menu text of one of the menus in 1.06 that had broken the menu.

  • New bind in the included autoexec.cfg that eliminates the flickering of the scoreboard that the old bind caused if you held it down for a while. The new bind works like this: you hit TAB once to see the scoreboard (and update Q3Post's info) and then again to turn off the scoreboard. (don't hold down the key)
1.06
  • Using new menu items, you can now select which channels Q3Post is allowed to post messages in (default is all open channels). Auto-Responses go to the channel the keyword was said in, as in previous versions, unless channels have been selected, in which case it checks that the channel the keyword was said in is selected.

  • You can turn on/off the updates that say you have connected to a new server (separate from Auto-Responses) through the new menu item "Turn On/Off Posting Server Updates"

  • Put the readme in html so it will hopefully be legible on other machines
1.05
  • Fixed a problem with connections to the same server twice in a row not being posted.

  • Added a timestamp to messages.
1.04
  • Added a check to see if mIRC's "/run" command is enabled when trying to launch Quake 3 or notepad (for editing the keyword file). mIRC 5.61 has /run disabled by default, and I had been testing with mIRC 5.51
1.03
1.02
  • Changed the "About" popup menu item so it states the Q3Post webpage, and the message is visible to other people in the current channel you are using in mIRC
1.01
  • Got rid of the "(Unknown Gametype)" that was generated when the script was confused by a strange character in Quake III Arena's file output
1.0
  • First version

The Author:

send me your questions, comments, bug reports, or ideas on how to improve Q3Post

If you would like to get an email whenever a new version of Q3Post is comes out, send me an email with the subject "subscribe Q3Post" (If you change your mind send me one with "unsubscribe Q3Post")

skLith@popaccount.com

IRC: irc.enterthegame.com #nails (look for n_hurt)