Advertisement
Guest User

Untitled

a guest
Oct 4th, 2012
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. // ************************************************************************
  2. // *************************************************************************
  3. // Simple Chat Colors Config File
  4. // Description:
  5. // Changes the colors of players chat based on config file
  6. // *************************************************************************
  7. // *************************************************************************
  8. // This file is part of Simple Plugins project.
  9. //
  10. // This plugin is free software: you can redistribute
  11. // it and/or modify it under the terms of the GNU General Public License as
  12. // published by the Free Software Foundation, either version 3 of the License, or
  13. // later version.
  14. //
  15. // This plugin is distributed in the hope that it will be useful,
  16. // but WITHOUT ANY WARRANTY; without even the implied warranty of
  17. // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  18. // GNU General Public License for more details.
  19. //
  20. // You should have received a copy of the GNU General Public License
  21. // along with this plugin. If not, see <http://www.gnu.org/licenses/>.
  22. // *************************************************************************
  23. // *************************************************************************
  24. // How to edit this file:
  25. // "admin_colors" <-- Leave this alone
  26. // { <-- Add all groups/steamids after first bracket (Leave this alone)
  27. //
  28. // "STEAM_0:1:20605094" <-- Here is a steamid example with a tag (don't duplicate steamids)
  29. // {
  30. // "namecolor" "{T}" <-- This is the color for the name
  31. // "textcolor" "{N}" <-- This is the color of the text
  32. // }
  33. //
  34. // "groupname" <-- This can either be a steamid for a specific player, or a group name
  35. // { <-- Open the group
  36. // "flag" "z" <-- This is the flag(s) assoicated with the group. This field doesn't matter if the group name is a steamid
  37. // "tag" "[admin]" <-- This is the text for the tag
  38. // "tagcolor" "{G}" <-- This is the color for the tag
  39. // "namecolor" "{G}" <-- This is the color for the name
  40. // "textcolor" "{N}" <-- This is the color of the text
  41. // } <-- Close the group
  42. // } <-- Add all groups/steamids before last bracket (Leave this alone)
  43. //
  44. // NOTE:
  45. // If you don't enter a steamid then the group name does not matter, it's just for your reference.
  46. //
  47. // For a better understanding of what these colors mean, how they work, and on what games, see this link:
  48. // http://forums.alliedmods.net/showpost.php?p=1398702&postcount=2
  49. // Thanks to everyone working on the smlib for the great .inc files!
  50. //
  51. // --------ORDER OF OPERATIONS--------
  52. //
  53. // The order in which you place items in the config file matters. Here is what determins what color they get:
  54. // 1. SteamID
  55. // If there is a steamid present, it will always override everything. If you put a steamid in twice
  56. // then the first entry (top to bottom) will be used. (I think, just don't do it!)
  57. // 2. Groups
  58. // The plugin will search (top to bottom) for a postitive match for the flag string. The player' flags
  59. // will be compared with the group flag string, and if the player has all the flags, it will stop there.
  60. // For example. Admins with the "ad" flags and donators with the "a" flag. If you place the "a" flag group
  61. // above the "d" group then the admin will get the "a" colors. Order matters.
  62. // You can use more than 1 flag for the group. You could have made the admin group with the "ad" flag,
  63. // but it will always take the first match.
  64. //
  65. // ---------DO NOT EDIT ABOVE THIS LINE---------
  66. "admin_colors"
  67. {
  68. "STEAM_0:1:20605094"
  69. {
  70. "tag" "[Owner]"
  71. "tagcolor" "{R}"
  72. "namecolor" "{G}"
  73. }
  74. "Admins"
  75. {
  76. "flag" "z"
  77. "tag" "[ .: Admin :. ]"
  78. "tagcolor" "{R}"
  79. "namecolor" "{G}"
  80. }
  81.  
  82. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement