"/cheat" - send cheater id and name to irc and admins on server
"/admin msg" -send admin request and msg to irc, and admins on server
auto advertising the /cheat command
can communicate with other plugins with cvars
on irc:
nothing
C-vars:
You need to set this cvars to work
irc_server "server" server hostname or ip
irc_port "port" server port
irc_mynick "nickname" bot's nickname
irc_mychan "#channel" channel to join
optional cvars:
irc_identify "default:0" 1 to identify
irc_ident "ident code" if irc_identify is "1"
on quakenet: irc_ident "PRIVMSG[email protected]: AUTH nick pw"
irc_from_hlds_say_activator "/cheat"
irc_adv_freq default:"300.0" advertise the /cheat command in sec
communication with other plugins:
irc_listening (default 0) set it 1 to communication.
only other plugin need to set this two cvars, after reporting to irc they gonna set to default:
irc_listened "0" other plugin set this cvar(0:default,1:cheat)
irc_listened_msg "" other plugin set this cvar, if irc_listened=1 msg will send to irc
install:
copy sma to scripting
compile
copy amxx to plugins
copy txt to /data/lang
set up amx.cfg with cvars
credits:
naeo nIRC - An AMXX irc-bot Devicenull hlds<->irc plugin WaZZeR Vote Kick/Ban Menu
changelog:
1.51 Bugfix with /admin command, code optimization
1.5 Added banlist, bugfix on server crash
1.33 bugfix with admin notification
1.32 bugfix with communication
1.31 bugfix, code optimization
1.3 Other plugin support, pcvars ;-D, bugfix
1.0 completely rewrited
0.3 First release
[pl]
IRC_MSG = uwaza %s ze %sing czituje. Sid: (%s)
IRC_REQ = Zgloszenie do admina przez %s (%s)
IRC_REQ = Twoje zgloszenie zostalo wyslane do admina!
IRC_ADVERT = Napisz /cheat jesli widzisz cheatera!
IRC_ALREADY_BANNED = Jest aktualnie zbanowany!
IRC_ADDED = Gracz dodany do banlisty!
IRC_NOTFOUND = Gracz nie znaleziony na banliscie!
IRC_REMOVED = Gracz usuniety z banlisty!