Author Topic: Anti insult for all scripts  (Read 5851 times)

0 Members and 1 Guest are viewing this topic.

Offline mrockxkingbutt

  • Crime Boss
  • ****
  • Posts: 373
  • I AM Best Scripter And You Are Not :P
    • View Profile
Anti insult for all scripts
« on: December 28, 2012, 03:40:03 pm »
add these cmd in OnPlayerText
Code: [Select]
else if ( strcmp( cmd, "fuck", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "bitch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "asshole", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "ass", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "blowjob", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cum", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "borner", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cock", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "clit", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "bullshit", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "cunt", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "dick", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "dildo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "gay", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "fag", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "douche", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "fudgepacker", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "damn", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jizz", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "gooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "homo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "hardon", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jerkoff", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jungle-bunny", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "jigaboo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kootch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kunt", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "kyke", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lesbian", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lesbo", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "mcfagget", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "lezzie", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "minge", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucka", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucker", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "motherfucking", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "muff", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "muffdriver", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "munging", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "negro", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "niglet", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "nutsack", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "panooch", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
else if ( strcmp( cmd, "prick", true ) == 0 )
{
SendClientMessage( playerid, COLOR_GREEN, "Have kicked Server" );
                 Kick(playerid);
return 1;
}
My Servers Showroom!
www.jimxvcmpscripts.createaforum.com/

Quote from:  rohanaj60
i m a great script Editor

Rofl! lmao lol

Offline aledark24

  • Made Man
  • ***
  • Posts: 206
  • I am a scripter and you have celous of me....so you crashed my servers
    • View Profile
Re: Anti insult for all scripts
« Reply #1 on: December 28, 2012, 04:24:31 pm »
 and if the player write F.U.C.K ?? :o :o :o  ;D
I am a great scripter and you are celous of my works
.....

Vice City Life Multiplayer By Saint

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Anti insult for all scripts
« Reply #2 on: December 29, 2012, 08:07:16 am »
This would only work if the player types any of the following insults infront...

E.g:

~Script kicks in~
player1:fuck you!!
player1 has been kicked...

~Script ignores everything~
player1_smartguy:you bitch..
I'm beginning to feel like a Lag God, Lag God

Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Anti insult for all scripts
« Reply #3 on: December 29, 2012, 11:14:12 am »
Damn, it's very long code, I don't think anyone will use it.


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline sseebbyy

  • VC:MP Veteran
  • *****
  • Posts: 774
  • Immortal VC:MP Player
    • View Profile
    • Zombie Invasion => Server Forum [DEAD PROJECT]
Re: Anti insult for all scripts
« Reply #4 on: December 29, 2012, 02:38:25 pm »
This would only work if the player types any of the following insults infront...

E.g:

~Script kicks in~
player1:fuck you!!
player1 has been kicked...

~Script ignores everything~
player1_smartguy:you bitch..

Exactly !

You have to check if a player use these words in his text.



This kind of script was one of my first scripts :D :D (never released)

The same method. (worked just when you type in front an word)



I think you don't know how to put more ... in one line.

You can use   ||

.......................................

and thats all  .... I forget too :D




Quote
Painful/Noob scripters acts like: I Am The Best Scripter Because I Announce My Releases With Big Font Size Without Giving Too Much Info' In The Hope They All Will Download And Check It. I Ignore Bad Replies, Replies That I Could Learn From, And Replies With So Much Text.



Offline NeskWriter

  • Crime Boss
  • ****
  • Posts: 355
    • View Profile
Re: Anti insult for all scripts
« Reply #5 on: December 29, 2012, 04:28:37 pm »
Atm if player will say: "fuck you"
it will not work, cause he should say: "fuck" to be kicked.
he used strcmp, so strings must be the same


-Funniest quotes-

Quote from: asad3man
i cant able to understand

Offline Fuzzy168

  • VC:MP Veteran
  • *****
  • Posts: 729
  • Programming since 2011
    • View Profile
Re: Anti insult for all scripts
« Reply #6 on: December 30, 2012, 06:36:21 pm »
Atm if player will say: "fuck you"
it will not work, cause he should say: "fuck" to be kicked.
he used strcmp, so strings must be the same
Oh yeah.. Forgot about that one..
I'm beginning to feel like a Lag God, Lag God

Offline VS

  • Street Thug
  • *
  • Posts: 37
  • Opening Soon - VS Society
    • View Profile
Re: Anti insult for all scripts
« Reply #7 on: January 11, 2013, 06:03:30 pm »
wow all you did was just copy this
   
Anti Insult System.
Started by Doom

but do it a little different

Offline shaheersa

  • Street Thug
  • *
  • Posts: 17
    • View Profile
Re: Anti insult for all scripts
« Reply #8 on: February 16, 2013, 04:31:42 pm »
This would only work if the player types any of the following insults infront...

E.g:

~Script kicks in~
player1:fuck you!!
player1 has been kicked...

~Script ignores everything~
player1_smartguy:you bitch..


Here this one works:
http://forum.vicecitymultiplayer.com/index.php?topic=5576.0