PHP Code:
/////////////////////////////////////////////////////////
// iChat by Kid //
// //
// Put iChat.amxx on the last line of your plugins.ini //
// Don't use any other chat related plugins //
// Or conflicts might appear! //
/////////////////////////////////////////////////////////
////////////////////
// Format configs //
////////////////////
// You can use colors:
// Colors: <default>, <green>, <team>, <blue>, <red> and <grey>.
// WARNING: You can use only ONE 'Team specific' color on one format line!
// 'Team specific' colors are <team>, <blue>, <red> and <grey>.
// If you use more than one, just the color will be the one of the first color used!
// For exemple, FORMAT_DEF_ALIVE "<green>Kid <grey>is <default> happy!" will work,
// But not FORMAT_DEF_ALIVE "<blue>Kid <red>is <grey> sad..."! Here, the color for all 'Team specific' colors will be blue (the first, as said before).
// So FORMAT_DEF_ALIVE "<blue>Kid <red>is <grey> sad..." is the same as FORMAT_DEF_ALIVE "<blue>Kid <blue>is <blue> sad...".
// If no colors specified, it will be <default> color.
// You can also change the default color to whatever YOU WANT (pink, violet, black, white...)!
// It will just ask to players if they want, and if they won't, you can choose their punishment (kick or not).
// See below, on 'Config' part to configure that.
// Tags are the most cool feature on my plugin! You can put some data on your messages!
// Tags: %NAME% -> Replaced by User name
// %MESSAGE% -> Replaced by User message
// %STEAMID% -> Replaced by User Steam ID
// %LIFE% -> Replaced by User life
// %TEAM% -> Replaced by User Team (see iChat.txt. You can modify Team Names)
// %POS% -> Replaced by User Location, like 'Bombsite B'... (WORK ONLY ON CONDITION ZERO)
// %TEAMTAG% -> Replaced by User Team Tag (see 'Config' part, avaible for CT, T and SPEC)
// And don't worry, a player who write '%POS%', or '%NAME%' on the chat will not be replaced by the data.
// Same for names. If a player says "%NAME%" this will not be replaced by his name, for exemple.
//
// For exemple, if i want my chat looks like Minecraft's (really cool with CHAT_DEFAULT_COLOR "255255255" (white), or with <grey> tag):
// FORMAT_DEF_ALIVE "<%NAME%> %MESSAGE%" or FORMAT_DEF_ALIVE "<grey><%NAME%> %MESSAGE%"
//
// Counter Strike Condition Zero's default is (%POS% can only be used on Condition Zero):
// FORMAT_DEF_ALIVE "<team>%NAME%<default> : %MESSAGE%"
// FORMAT_DEF_DEAD "<default>*DEAD* <team>%NAME%<default> : %MESSAGE%"
// FORMAT_TEAM_DEF_ALIVE "<default>%TEAM% <team>%NAME%<default> @<green> %POS% <default>: %MESSAGE%"
// FORMAT_TEAM_DEF_DEAD "<default>*DEAD* %TEAM% <team>%NAME%<default> : %MESSAGE%"
//
// You can also use specific formats for Admins, like:
// FORMAT_ADMIN_ALIVE "<green>[ADMIN] <team>%NAME%<default> : <green>%MESSAGE%"
// There is also a VIP support! Use:
// FORMAT_VIP_ALIVE "<green>[VIP] <team>%NAME%<default> : <green>%MESSAGE%"
// Flags are explained below.
// Default users (no flags, will be configurable in the future) -> Default CS Chat (not CZ)
// General Chat - Alive
FORMAT_DEF_ALIVE "<team>%NAME%<default> : %MESSAGE%"
// General Chat - Dead
FORMAT_DEF_DEAD "<default>*DEAD* <team>%NAME%<default> : %MESSAGE%"
// Team Chat - Alive
FORMAT_TEAM_DEF_ALIVE "<default>%TEAM% <team>%NAME%<default> : %MESSAGE%"
// Team Chat - Dead
FORMAT_TEAM_DEF_DEAD "<default>*DEAD* %TEAM% <team>%NAME%<default> : %MESSAGE%"
// Admins (flag "n", will be configurable in the future) -> Default CS Chat (not CZ) with [ADMIN] tag and message in green.
// General Chat - Alive
FORMAT_ADMIN_ALIVE "<default>[<green>VWS-ADMIN<default>] <team>%NAME%<default> : <green>%MESSAGE%"
// General Chat - Dead
FORMAT_ADMIN_DEAD "<default>[<green>VWS-ADMIN<default>] <default>*DEAD* <team>%NAME%<default> : <green>%MESSAGE%"
// Team Chat - Alive
FORMAT_TEAM_ADMIN_ALIVE "<default>[<green>VWS-ADMIN<default>] <default>%TEAM% <team>%NAME%<default> : <green>%MESSAGE%"
// Team Chat - Dead
FORMAT_TEAM_ADMIN_DEAD "<default>[<green>VWS-ADMIN<default>] <default>*DEAD* %TEAM% <team>%NAME%<default> : <green>%MESSAGE%"
// VIP's (flag "o", will be configurable in the future) -> Default CS Chat (not CZ) with [VIP] tag.
// General Chat - Alive
FORMAT_VIP_ALIVE "<green>[VIP] <team>%NAME%<default> : %MESSAGE%"
// General Chat - Dead
FORMAT_VIP_DEAD "<green>[VIP] <default>*DEAD* <team>%NAME%<default> : %MESSAGE%"
// Team Chat - Alive
FORMAT_TEAM_VIP_ALIVE "<green>[VIP] <default>%TEAM% <team>%NAME%<default> : %MESSAGE%"
// Team Chat - Dead
FORMAT_TEAM_VIP_DEAD "<green>[VIP] <default>*DEAD* %TEAM% <team>%NAME%<default> : %MESSAGE%"
// Printed when a client put !me behind his message (not /me because of statsx plugin). There is a space before %MESSAGE% (will be fixed soon).
// So this line ( FORMAT_ME "* %NAME%%MESSAGE%" ) replace:
// "say !me is cool" by "* Kid is cool"
// You can use colors and tags, of course.
// As said above, THERE WILL BE A SPACE between %NAME% and %MESSAGE%!
FORMAT_ME "* %NAME%%MESSAGE%"
/////////////////////
// General Configs //
/////////////////////
// Prints a little thing, with my name in! This can motivate me to keep working!
// But if you're not cool, set it to 0 to disable...
CHAT_NOTIFY 1
// It's sv_alltalk for iChat (Deads players can see others dead messages, and alive players can see other alive players messages).
CHAT_ALL_TALK 1
// Team Tags
// Colors are allowed in Teams Tags!
// Should be cool on a BaseBuilder, with:
// CHAT_TEAM_TAG_1 "<green>[ZOMBIE]<default>"
// CHAT_TEAM_TAG_2 "<green>[BUILDER]<default>"
// Team Tag for Terrosits
CHAT_TEAM_TAG_1 "<default>[<green>T<default>]"
// Team Tag for Counter-Terrorists
CHAT_TEAM_TAG_2 "<default>[<green>CT<default>]"
// Team Tag for Spectators
CHAT_TEAM_TAG_3 "<default>[<green>SPEC<default>]"
// This is the '<default>' color. "-1" to use client's default color.
// Else, "RRRGGGBBB". For exemple, black for the <default> color:
// CHAT_DEFAULT_COLOR "000000000"
// Or white:
// CHAT_DEFAULT_COLOR "255255255"
CHAT_DEFAULT_COLOR "255255255"
// Punishment if client won't set his color to default color.
// It's a menu. It's only displayed on first spawn.
// 0 - Let him play!
// 1 - Kick him as long as he deny.
CHAT_PUNISHMENT 1
// Admins with "m" flag (will be configurable in the future) can see all messages (teams, radius...).
CHAT_ADMIN_SPY 1
// Remove all chat message wich begins with '/', '!' and '@' (like /top15, /rank...).
CHAT_CLCMD_REMOVE 1
// This prints the message only to players on the sender's radius. 0.0 for dislable.
// General Chat
CHAT_RADIUS_ALL 0.0
// Team Chat
CHAT_RADIUS_TEAM 0.0
// Congratulations, you have reached the end of this config file! You just have entirely modified the CS chat!
This is my Ichat.cfg