Autoresponder and Advertiser (with color and conditions!)
2 Attachment(s)
FILLFILLFIFILLMaximusBrood proudly presents:
Autoresponder/Advertiser Version 0.5 Description: This plugin is usefull to every server: * Display messages on random times WITH COLOR * React on people saying things, for example, FILLFLFwhen somone says 'cheat', the server reacts with 'To report a cheater, use teamspeak and begin your message with an @' These two functions are controlled in a simple textfile in your configs directory. An advertisement will display itself every 60 to 80 seconds (this is random) This number is defined, and can be changed with constants There is a new feature in 0.5: Conditions! You can for example do, that a certain message will only display itself when the map is de_dust. Or when there are minimal 5 players in the server. ------------------------------------------------------------------------------ Normal Messages If you want an advertisement that displays itselfs, just put the message on 1 line: Quote:
Messages with color Colors are only available in CounterStrike because its limited to that game DLL! You can also insert COLOR. !t for teamcolor, !g for green color, !n for normal (yellow) color: Quote:
Quote:
Autoresponder The second functionality is to react on what people say. This is also handled in the textfile, with the following syntax Quote:
Devide the thing that the player has to say, and what the server has to answer, with a ~ (tilde -> shift+ key left of 1) So in this example, when someone says cheat (cheater, cheats, cheatz), the server will react with the sentence after the ~ (tilde) You can use COLOR here too! Quote:
The server will react with: Quote:
Conditions Conditions are very usefull as they can make sure that certain messages are only displayed when the given conditions are met. This too, is handled in the textfile. The things you can control are now: (there will be more conditions later, please suggest them!)
For a normal message: Quote:
Quote:
Quote:
Quote:
Quote:
------------------------------------------------------------------------------ Cvar's: ad_react_all - Controls if it should react to all when a keyword is said. Or only to the person who actually said it. (default 1) ------------------------------------------------------------------------------ You only need to make a advertisements.ini file in your configs directory. (addons/amxmodx/configs/advertisements.ini) A sample file is included in the zip. Happy advertising :D (Source file and zipfile had 15336 and 16039 views before reupload) |
Credits:
Change Log: V0.1
Known Problems:
|
Pictures Please, oh and + karma.
|
Quote:
|
The webcompiler is broken. As you can see the include file is malfunctioning, not my plugin!
Just use the normal compiler until the webcompiler is fixed :D |
Quote:
okey gonna try... EDIT: yeah, its the webcompiler that's the wrong :) anyway's, gj :up: |
Awesome.
|
The screenies do load in firefox...Liar :attack:
|
zomg... I want that knife model may i have it :D
and it didnt compile right for me either. |
Quote:
Don't use the webcompiler. It's broken and it won't compile good for everyone. P.S. Why is everyone giving me -karma... A week ago I had +40 karma |
All times are GMT -4. The time now is 05:07. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.