Raised This Month: $120 Target: $400
 30% 

Everyone please help me


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-06-2018 , 10:25   Everyone please help me
Reply With Quote #1

I need a plugin which is called White chat user kick

In this plugin if any simple admin use say @ i mean if he or she use white chat so he will be kicked automatically from server

Please help me i need it most
alexwilliamw28 is offline
ToasterKritz
Junior Member
Join Date: Mar 2018
Old 05-06-2018 , 21:10   Re: Everyone please help me
Reply With Quote #2

So you mean if someone says something specific in chat, it kicks people? Or so admin can kick someone on chat command (which is already in default sourcemod). Can you specify which game? Please describe, also titles are supposed to include a brief description of what you are asking for, not "please help me" which provides no information.

Last edited by ToasterKritz; 05-06-2018 at 21:20. Reason: forgot to mention title of post
ToasterKritz is offline
Crasher_3637
AlliedModders Donor
Join Date: May 2012
Old 05-06-2018 , 21:26   Re: Everyone please help me
Reply With Quote #3

I think what the OP is asking for is a plugin that kicks any admin that uses "say @" command in chat. This would need an override command of its own inside the plugin. That way, if an admin with let's say the "chat_override" command uses "say @" then he won't be kicked. But if an admin without the override uses "say @" then the plugin would kick them.

Hard to understand though, but that's what I got from the broken English.
__________________
AFK like JFK
Crasher_3637 is offline
ToasterKritz
Junior Member
Join Date: Mar 2018
Old 05-06-2018 , 22:02   Re: Everyone please help me
Reply With Quote #4

That would make more sense, but yeah it would be doable. I suppose you could use a chat trigger for "@" for certain flags etc, but then no matter what, the immunity level of the admin will always be there, so he would need to mess around with flags

Last edited by ToasterKritz; 05-06-2018 at 22:10. Reason: descriptive
ToasterKritz is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 07:37   Re: Everyone please help me
Reply With Quote #5

Quote:
Originally Posted by Crasher_3637 View Post
I think what the OP is asking for is a plugin that kicks any admin that uses "say @" command in chat. This would need an override command of its own inside the plugin. That way, if an admin with let's say the "chat_override" command uses "say @" then he won't be kicked. But if an admin without the override uses "say @" then the plugin would kick them.

Hard to understand though, but that's what I got from the broken English.


Yes sir you are right. I need this plugin for Counter strike 1.6 or Warzone

If any new or simple admin use "say @" i mean if any admin use whitechat so he will be kick from server .


Sir can you make it for me Please

Last edited by alexwilliamw28; 05-07-2018 at 07:38. Reason: wrong spelling
alexwilliamw28 is offline
Markiez
Junior Member
Join Date: Mar 2018
Location: somewhere over the rainb
Old 05-07-2018 , 07:52   Re: Everyone please help me
Reply With Quote #6

Quote:
Originally Posted by alexwilliamw28 View Post
I need a plugin which is called White chat user kick

In this plugin if any simple admin use say @ i mean if he or she use white chat so he will be kicked automatically from server

Please help me i need it most
If I get this right, it should look something like this? I guess, havin hard time understanding actually wat u mean.

Code:
#include <sourcemod>

#pragma semicolon 1

public Action:OnClientSayCommand(client)
{
    decl String:text[99];
    GetCmdArgString(text, sizeof(text));
    
    if (StrContains(text, "@"))
    {
    	//do smth here
    }
}
__________________
bool am_I_retarded = true;

Last edited by Markiez; 05-07-2018 at 07:53.
Markiez is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 08:37   Re: Everyone please help me
Reply With Quote #7

Quote:
Originally Posted by Markiez View Post
If I get this right, it should look something like this? I guess, havin hard time understanding actually wat u mean.

Code:
#include <sourcemod>

#pragma semicolon 1

public Action:OnClientSayCommand(client)
{
    decl String:text[99];
    GetCmdArgString(text, sizeof(text));
    
    if (StrContains(text, "@"))
    {
    	//do smth here
    }
}
It's Complete code or not ? Sir tell me

Sir when i am trying to compile it. Its give me error of "sourcemod" what i do ?

sir can we add some lines in it like

only simple admin will get kick not immunity ones what you say sir ?

can you add this type of line ? in it

Last edited by alexwilliamw28; 05-07-2018 at 08:41.
alexwilliamw28 is offline
ThatKidWhoGames
Senior Member
Join Date: Jun 2013
Location: IsValidClient()
Old 05-07-2018 , 09:05   Re: Everyone please help me
Reply With Quote #8

Quote:
Originally Posted by Markiez View Post
If I get this right, it should look something like this? I guess, havin hard time understanding actually wat u mean.

Code:
#include <sourcemod>

#pragma semicolon 1

public Action:OnClientSayCommand(client)
{
    decl String:text[99];
    GetCmdArgString(text, sizeof(text));
    
    if (StrContains(text, "@"))
    {
    	//do smth here
    }
}
StrContains isn't a boolean, you need to check if it doesn't equal -1.
__________________


I take custom plugin requests, add me on Steam for details.

Last edited by ThatKidWhoGames; 05-07-2018 at 09:05.
ThatKidWhoGames is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 10:57   Re: Everyone please help me
Reply With Quote #9

Sir i don't know what are you trying to say

Say it clearly sir
alexwilliamw28 is offline
Markiez
Junior Member
Join Date: Mar 2018
Location: somewhere over the rainb
Old 05-07-2018 , 11:07   Re: Everyone please help me
Reply With Quote #10

Quote:
Originally Posted by ThatKidWhoGames View Post
StrContains isn't a boolean, you need to check if it doesn't equal -1.
Code:
#include <sourcemod>

#pragma semicolon 1

public Action:OnClientSayCommand(client)
{
    decl String:text[99];
    GetCmdArgString(text, sizeof(text));
    
    if (StrContains(text, "@") != -1)
    {
    	//do smth here
    }
}
happy? xD

final shit should look smth leik dis:
Code:
#include <sourcemod>

#pragma semicolon 1

public Action:OnClientSayCommand(client)
{
    decl String:text[99];
    GetCmdArgString(text, sizeof(text));
    
    if (StrContains(text, "@") != -1 && CheckCommandAccess(client, "adminsomethingidunno", ADMFLAG_GENERIC))
    {
    	KickClient(client, "sorri :(");
    }
}
__________________
bool am_I_retarded = true;

Last edited by Markiez; 05-07-2018 at 11:11.
Markiez is offline
Reply


Thread Tools
Display Modes

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 06:09.


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