PDA

View Full Version : DoD MemberChat (v0.6)


Firestorm
07-09-2006, 10:53 AM
// DESCRIPTION:
// ============
//
// - I wrote this plugin for my servers as i don't want to give
// all of my members the ability to use the adminchat features
// as people tend to only use hudmessages for everything they
// say. furthermore trainees aren't always supposed to see
// what the admins talk.
// Basically this plugin gives all of your members the ability
// to chat with other members without public players being
// able to read it. You can set the ACCESS_LEVEL to whatever
// you like.
//
//
// Example 1:
//
// The ACCESS_LEVEL is set to ADMIN_RESERVATION and the player
// "hEaDcRaCkEr" has a reserved slot and types
// "# when will the clan match be today?" into the teamchat.
// The result will be:
// "[MemberChat] hEaDcRaCkEr: when will the clan match be today?"
// This will be displayed in the chat area and only players that
// have a reserved slot as well will see it.
//
// Example 2:
//
// The ACCESS_LEVEL is set to ADMIN_KICK and the player
// "hEaDcRaCkEr" only has a reserved slot and types
// "# when will the clan match be today?" into the teamchat.
// The result will be:
// "You can't use [MemberChat], hEaDcRaCkEr"
// This will be displayed in the chat area and only hEaDcRaCkEr
// will see it.
//
//
// "[MemberChat] <name>" will be in the color of the player's team,
// while the message itself will be normal chat color.
//
// "You can't use [MemberChat], <name>" will be displayed completely
// in the color of the player's team that tried to used the feature.

// USAGE:
// ======
//
// say_team # <message here> = displays a message only from/to users with
// the defined ACCESS_LEVEL

// CHANGELOG:
// ==========
//
// - 31.08.2005 Version 0.5beta
// Initial Release
//
// - 02.07.2007 Version 0.6
// - added global tracking cvar
//

Kristiansen
03-19-2008, 06:38 AM
I was wondering if there is possible to extend the max username length thing when using this plugin? If you have a long username (like most realism ppl) it cuts off and there is no ":" at the end, making it hard to read.

:D