Thread: AntiCommerce
View Single Post
Scherzo
Senior Member
Join Date: Feb 2007
Location: Kwidzyn, Poland
Old 10-26-2008 , 12:11   Re: AntiCommerce
Reply With Quote #7

Counter is for filling array with exceptions. Exception in my plugin mean you won`t be punish for advertise it. For example you have website for the server, so you want ban or kick players, who write to someone, where is more info about server? No. Only add to your config file (maybe server.cfg) line
Code:
register_exception "www.myserverwebsite.com"
And nobody will be punish for put it into chat or nick. I prepared array for 10 exceptions. If you try add 11th, you get message from langfile.

In .sma file already exist code, which I post. It was only to be sure this part of plugin.


Edit:
@Alucard
Yeah, good point. It could be more comfortable. Thx

Added cvar 'ac_punishbysay'.

Last edited by Scherzo; 10-26-2008 at 12:40.
Scherzo is offline