README.TXT plugin_sank_consgreet July 9, 2001 For AdminMod version 2.50e or newer. http://www.adminmod.org Files Included: =============================================================================== README.TXT - This file. plugin_sank_consgreet.sma - Plugin source. consgreet.txt - sample file. Plugin Description: =============================================================================== This plugin take the contents of a text file and print it to the user when they connect. The text file can have "macros" that will get replaced with real data as it prints to the client. If it finds it can't read the file, it will automagically set file_access_read to 1 and then set it back to 0 when it's done. The default file is called consgreet.txt and should be placed in the root directory of the mod (../hlserver/cstrike/consgreet.txt). Here is the list of macros supported and what they mean: %USER% Client Name %IP% Client IP address %MAP% Current Map %NEXTMAP% Next Map %PLAYERS% Number of players %MAXPLAYERS% Number of max players %TEAM=n% Number of players on team n where n is a number %MONTH% Current month ie. January %DATE% Current date ie. 15 %DAY% Current day ie. Monday %TIME% Current time ie. 17:00 %YEAR% Current year ie. 2001 %CVAR=n% Value of n where n is a CVAR ex: CVAR=hostname %TIMEINTO% Time into the current map in minutes %TIMELEFT% Time left on the current map in minutes Please see the sample included consgreet.txt file for example usage. Plugin Commands: =============================================================================== admin_console_greet In case you weren't looking when you connected, or just want a new update, this will reprint the greet message to the console - server or client. If you want to specify a filename, then it will use that file instead of the default consgreet file. This can be useful for an admin to print out data that would otherwise be difficult or impossible to get from the server console without asking a player. Usage: admin_console_greet [filename] Access required: ACCESS_ALL