Raised This Month: $12 Target: $400
 3% 

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 , 09: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 , 20: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 20:20. Reason: forgot to mention title of post
ToasterKritz is offline
Psyk0tik
Veteran Member
Join Date: May 2012
Location: Homeless
Old 05-06-2018 , 20: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.
__________________
Psyk0tik is offline
ToasterKritz
Junior Member
Join Date: Mar 2018
Old 05-06-2018 , 21: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 21:10. Reason: descriptive
ToasterKritz is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 06: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 06:38. Reason: wrong spelling
alexwilliamw28 is offline
Markiez
Junior Member
Join Date: Mar 2018
Location: somewhere over the rainb
Old 05-07-2018 , 06: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 06:53.
Markiez is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 07: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 07:41.
alexwilliamw28 is offline
ThatKidWhoGames
Veteran Member
Join Date: Jun 2013
Location: IsValidClient()
Old 05-07-2018 , 08: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.

Last edited by ThatKidWhoGames; 05-07-2018 at 08:05.
ThatKidWhoGames is offline
alexwilliamw28
Junior Member
Join Date: May 2018
Old 05-07-2018 , 09: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 , 10: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 10: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 10:14.


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