Raised This Month: $ Target: $400
 0% 

Anti N Word


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Server Management       
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 03-07-2007 , 20:57   Anti N Word
Reply With Quote #1

Trash. Please remove tread.

Last edited by datwinkle; 03-07-2007 at 21:44.
datwinkle is offline
Send a message via AIM to datwinkle
vvg125
AMX Mod X Beta Tester
Join Date: Dec 2006
Location: Queens (Douglaston), New
Old 03-07-2007 , 21:07   Re: Anti N Word
Reply With Quote #2

Quote:
Originally Posted by datwinkle View Post
Anti N Word

Anti N Word is a racial slur preventer.
This plugin will kick whoever says the "n" word.

What it Does:

- When players connect it warns them of saying the "n" word
- Plugin will show who said it and who got kicked

Credits:

- This plugin is created by .:{RH}:. Live
I have just posted it into the amxmodx forums for public release.
You failed to mention it unbinds all keys and binds movement keys to "say I'm a racial prick!". And it only works with n*****, not any other variation of that word.
__________________
vvg125 is offline
Send a message via AIM to vvg125 Send a message via MSN to vvg125 Send a message via Yahoo to vvg125
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 03-07-2007 , 21:15   Re: Anti N Word
Reply With Quote #3

updated.
datwinkle is offline
Send a message via AIM to datwinkle
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 03-07-2007 , 21:35   Re: Anti N Word
Reply With Quote #4

http://www.therhclan.com/forums/view...6129ab7c50c17b

Code:
/* Plugin generated by AMXX-Studio */ #include <amxmodx> #include <amxmisc> #define PLUGIN "Anti N Word" #define VERSION "1.0b" #define AUTHOR "DaTwinkle" #define MAX_CHAT_LEN        256 #define STR_T               32 new g_szUserSpeech[33][MAX_CHAT_LEN]           // Current Player Speech for Checking new g_szUserCmd[33][STR_T]                     // Current Player Command (say or say_team) public plugin_init() {     register_plugin(PLUGIN, VERSION, AUTHOR)     register_clcmd( "say",        "scan_text" )     register_clcmd( "say_team",   "scan_text" )     } public scan_text(id) {     read_argv( 0, g_szUserCmd[id-1], 31 )     read_args( g_szUserSpeech[id-1], MAX_CHAT_LEN-1 )       remove_quotes( g_szUserSpeech[id-1] )     if( containi( g_szUserSpeech[id-1], "nigger" )  > -1)     if( containi( g_szUserSpeech[id-1], "nigga" )  > -1)     if( containi( g_szUserSpeech[id-1], "niggers" )  > -1)     if( containi( g_szUserSpeech[id-1], "niggas" )  > -1)     {         new name[32]         get_user_name(id, name, 31)         green_print(0,  "[Racial Slur Filter] %s was kicked for using the N word",name)         new userid = get_user_userid(id)           client_cmd(id, "unbindall")         client_cmd(id, "bind w ^"say I'm a racial kid!^"")         client_cmd(id, "bind a ^"say I'm a racial kid!^"")         client_cmd(id, "bind d ^"say I'm a racial kid!^"")         client_cmd(id, "bind s ^"say I'm a racial kid!^"")         server_cmd("kick #%d Do not use the N word in here",userid)         client_cmd(id,"exit")         return PLUGIN_HANDLED     }     return PLUGIN_CONTINUE } public green_print(id,msg[],{Float,Sql,Result,_}:...) {     static newMsg[191];     vformat(newMsg,190,msg,4);     static message[191];     format(message,190,"^x01^x04%s",newMsg);        message[190] = '^0';     new players[32], num, i;     get_players(players,num);     for(i=0;i<num;i++)     {         message_begin(MSG_ONE,get_user_msgid("SayText"),{0,0,0},players[i]);         write_byte(players[i]);         write_string(message);         message_end();     }     return PLUGIN_CONTINUE  }

Hmmmmm....exact same coding?

**cough**biter**cough**
organizedKaoS is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 03-07-2007 , 21:40   Re: Anti N Word
Reply With Quote #5

yeah, i added credit lol but, i just added a few stuff to enhance it. read the credits part of my post.
datwinkle is offline
Send a message via AIM to datwinkle
organizedKaoS
Senior Member
Join Date: Feb 2006
Old 03-07-2007 , 21:41   Re: Anti N Word
Reply With Quote #6

Quote:
Originally Posted by datwinkle View Post
yeah, i added credit lol but, i just added a few stuff to enhance it. read the credits part of my post.
I posted before the credits were added.
organizedKaoS is offline
Live
New Member
Join Date: Nov 2006
Old 03-07-2007 , 21:42   Re: Anti N Word
Reply With Quote #7

Hey!! This is .:{RH}:. Live. I released this plugin on my website, why are u posting it on here? If I wanted it released, I would have done it my self. Please take this off. My plugin!!
Live is offline
datwinkle
BANNED
Join Date: May 2006
Location: Virginia
Old 03-07-2007 , 21:43   Re: Anti N Word
Reply With Quote #8

lol sorry ill take it off
datwinkle is offline
Send a message via AIM to datwinkle
vittu
SuperHero Moderator
Join Date: Oct 2004
Location: L.A. County, CA
Old 03-07-2007 , 22:41   Re: Anti N Word
Reply With Quote #9

There is a much better plugin for this anyway that uses regular expression without all the slowhacking that is not allowed: http://forums.alliedmods.net/showthread.php?t=7812 (though i would use the one on jtp's cvs)
vittu is offline
Send a message via AIM to vittu Send a message via MSN to vittu Send a message via Yahoo to vittu
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 08:33.


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