Raised This Month: $ Target: $400
 0% 

Request: Permanent chat ban.


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
redx6580
Senior Member
Join Date: Nov 2005
Location: New Jersey
Old 02-16-2007 , 19:39   Request: Permanent chat ban.
Reply With Quote #1

Well, i came across amx_Gag, but what i relized is if i try to gag someone permanently, or even for say 3 maps, at the end of the map they are ungagged. Now, i have amx_banvoice but that does not ban chat perm. just voice. Any idea's on how I could basically make a log for amx_Gag to write STEAMID's in like amx_banvoice?
Any help with be appreciated.
__________________
-LJ
[img]http://img252.**************/img252/3553/sig2wq7.jpg[/img]
Karma is nothing, calm down and stop acting like it's important.
redx6580 is offline
Send a message via AIM to redx6580 Send a message via MSN to redx6580
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 02-17-2007 , 00:09   Re: Request: Permanent chat ban.
Reply With Quote #2

Make a cfg file to execute the command on server startup, but using the cfg have it wait until the player connects, like put in the server.cfg
"exec gag.cfg"

then in the file named gag.cfg:
-----------------------------------
alias wait20
"wait;wait;wait;wait;wait;wait;wait;wait;wait ;wait;wait;wait;wait;wait;wait;wait;wait;wait ;wait;wait"

alias waitgag "wait20;wait20;wait20;amx_gag <player or auth id> abc"

waitgag

-------------------------------------
Yes, its a long script, but it might work.
OR editing the plugin to incorporate a longer period of time for voice bans might work.
I might just test the script above later, and ill post the results when i finish it.
(Reason for long waiting is for player to connect

But then again, this will also gag the player for only 10 minutes as the gag i use does.
So i guess theres really no way around this unless you edit the plugin itself.

Last edited by Fadeproof18; 02-17-2007 at 00:12. Reason: edited some of the script
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
redx6580
Senior Member
Join Date: Nov 2005
Location: New Jersey
Old 02-17-2007 , 02:00   Re: Request: Permanent chat ban.
Reply With Quote #3

That's a good idea, thanks for the response. Its just i was wondering if it could be stored into a log like amx_Banvoice is. To make it easily accessable, and understandable. Thanks for the response, ill use that in the meantime till i try to find out how to form a log.
__________________
-LJ
[img]http://img252.**************/img252/3553/sig2wq7.jpg[/img]
Karma is nothing, calm down and stop acting like it's important.
redx6580 is offline
Send a message via AIM to redx6580 Send a message via MSN to redx6580
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 02-17-2007 , 17:42   Re: Request: Permanent chat ban.
Reply With Quote #4

No problem, i still have yet to try it out, as ive been busy modifying my plugins.
Glad to help till i can leanr to use AMXX efficiently.
You could also have amxx log admin actions so that it puts it in with the primary logs when you gag someone.
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-17-2007 , 18:49   Re: Request: Permanent chat ban.
Reply With Quote #5

I'm currently at work on a plugin that will allow you, amongst other things, to ban people from chat for as long as you'd like. However, it stores it's data in mySQL server so if you don't have access to that or don't want to do that, the new plugin wouldn't really work out for you.
__________________
Brad is offline
ZerroQ
Member
Join Date: Jun 2006
Location: European Union: Latvia
Old 02-17-2007 , 20:12   Re: Request: Permanent chat ban.
Reply With Quote #6

#redx6580: Great idea!
#Brad: Hope you'll finish it soon!
__________________
* we Create our own fate...
ZerroQ is offline
Send a message via Skype™ to ZerroQ
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 02-17-2007 , 21:24   Re: Request: Permanent chat ban.
Reply With Quote #7

@Brad.
Why not do both, and have a cvar between the two?
Like if you want it to be MySQL then:
voice_bansql 1|0
or then for logging:
voice_banlog 1|0
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-17-2007 , 23:16   Re: Request: Permanent chat ban.
Reply With Quote #8

Because text files don't lend themselves well to mimicking relational databases.
__________________
Brad is offline
Fadeproof18
Senior Member
Join Date: Feb 2007
Location: Pittsburgh, PA
Old 02-18-2007 , 00:13   Re: Request: Permanent chat ban.
Reply With Quote #9

I see, but for those of us who dont have mysql, or dont understand it, as i dont, would it still be possible?
Or would it be too hard.
Please, dont take me for being pushy, im just throwing this suggestion out there.
Fadeproof18 is offline
Send a message via AIM to Fadeproof18 Send a message via MSN to Fadeproof18
Brad
AMX Mod X Team Member
Join Date: Jun 2004
Old 02-18-2007 , 06:41   Re: Request: Permanent chat ban.
Reply With Quote #10

No. It won't be possible. Sorry.
__________________
Brad is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 02:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode