Responds by chat, HUD, barney/scientist/vox/fvox/hgrunt/misc sounds, slap, flash, ban, anything!
More ways to respond than you can shake a stick at
This plugin comes with any auto response you can dream of and for the more technical, a macro system that allows easy customization. It's so powerful, I've been able to emulate other plugins with it (see below).
By default this plugin also has lots of fun autoresponses your clients can play around with, mine love it. Read on for the details
The first line should be a regex expression or a simple phrase followed immediately by action lines
, then separate the next block by a blank line. The file is created in your configs directory, there is nothing to download, and you can feel out the syntax by looking at it. Each action line
has this syntax:
If the syntax is not followed, alerts will appear on the console.
Make sure your regex lines are lower case.
: Text, name of sound, or a number (depending on type)
: chat chatnoecho hud barney scientist vox fvox hgrunt misc directspeak
motd conmotd emit emitnoecho say sayback
slap slay* kick* ban* exec stealthexec flash shake
inlineconsole* servercmd* macro
: player** all immunity
* means audience is always player for these types and is always ignored, can leave blank
** player is the default audience - you do not need to specify ;player in the action line
If you want more than one thing to happen, macros is how you do it.
Each macro has a header with its name in square brackets [macroname
], followed by
action lines or macro statements. Make sure blank lines separate macro blocks.
<view>|<stop>|<nick or #userid> <macro>
view macros loaded
stop all running macros
execute a macro upon someone
view - View all triggers
viewblock <number> - View a trigger and all its' action lines
The following require ADMIN_RCON access
push <"regexline"> <"actionline1"> <"actionline2"> <etc..> - Load a new autoresponse block into memory")
appendfile - Writes to file any autoresponses you loaded into memory by push
<nick or #userid> <trigger #> - Fake a response on a player
reloadfile - Rereads into memory powerautoresponder.ini
0 responds reguardless of status (default for non-CS mods)
1 responds only when player is alive
2 if player is dead, responses are routed to player only (default for CS)
0 turns this off, incase it goes psycho
1 precaches the sound phrase encountered in emit and emitnoecho (default)
spamguard works as a limiter to how many times ppl can trigger responses that will be
seen/heard by everyone. When it kicks in they are ingored.
0 off (default)
Action Type documentation:
: phrase is text displayed
: phrase is text displayed. noecho means whatever the player said disappears
: phrase is a filename (looks for file in mod folder and configs directory). otherwise display phrase
barney scientist vox fvox hgrunt misc
phrase is a sound
directspeak emit emitnoecho
phrase is a direct path to a sound, with sound directory as root
: player says this phrase instead
: makes player say phrase 1/2 a second later
: phrase is slap power
: phrase appears in chat to audience
: phrase appears on client's console
: phrase is command executed. With this you can autobind clients, connect them to another server, etc.
: same as exec, except the command executed on them is not reported
: phrase is message after execution, %s is command executed
: phrase is executed from server console
: phrase is a centered HUD message for shake. phrase for flash is fadetime
: phrase is macro name to execute
Action line examples:
How are you, %s? Do you like pizza?;chat;all
bind h +hook;exec;player
Perl Regular Expression Quick Reference 1.04
PAR features a macro system that allows you to execute more than one action line. Complete with variables, conditionals and comparators.
See the PAR/PM 2007 Macro Handbook for details (PARPM.pdf inside the zip file PARPM.zip - it won't let me attach the PDF itself because it's "too big"). The Book of Macros is also a good example guide.
don't say ip's (http://forums.alliedmods.net/showthread.php?p=86620
toggle console (http://forums.alliedmods.net/showthread.php?p=37354
). Can bring con on others by using amx_par
slap me (http://forums.alliedmods.net/showthread.php?p=55543
) although, mine will sometimes slap u silly. Quit hittin yourself!
A new "Execme" command is built in. Players can say execme bind h +hook or whatnot and it is sent right to their console.
Plugins that PAR/PM can emulate
connect announce (Book of Macros)
swear replacement (PAR)
country kicker (http://forums.alliedmods.net/showthread.php?p=97613
(Book of Macros)
Welcome Message (Book of Macros, from AMX)
Say HAX (from AMX)
Macro statement issue: lsv
For some reason Vault does not like keys that start with a non-alpha character for vaultdata_exists/get_vaultdata calls. So you cannot read from these keys.
I will be taking feature requests for version 2008 of this plugin. I will have to ignore your request if it is
-not within the scope of this plugin
-not detailed. Do not leave room for vagueness
I will be here to offer help with macro development questions and take bug reports.