AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Check command (https://forums.alliedmods.net/showthread.php?t=64720)

Alka 12-22-2007 13:29

Check command
 
Is there a way to check if a client command is valid or not. E.g : A player type : "exec lawlzor.cfg" then if .cfg exists wont say nothing in console, but if not exists will say "couldn't exec lawlzor.cfg". So is possible to check if .cfg doesn't exists ?

Thanks.

M249-M4A1 12-22-2007 14:07

Re: Check command
 
I guess it's like trying to do the "version" command on a client, we can't get what was echoed back to them

Owyn 02-11-2009 07:33

Re: Check command
 
if it was so, HLguard and CSguard and many others would not work then, i'm curently looking for an answer to this question, how to get positive or negative answer to exec and some others command, will appreciate any help.

Exolent[jNr] 02-11-2009 17:40

Re: Check command
 
It's not possible to see what is printed to the client's console from the client's game.

Owyn 02-11-2009 18:08

Re: Check command
 
so how does it work then?

Exolent[jNr] 02-11-2009 18:10

Re: Check command
 
How does what work?

Owyn 02-12-2009 06:44

Re: Check command
 
HLguard, ok even not mm plugins, amxx plugins like anti4.amxx or realityhlguard.amxx

ConnorMcLeod 02-12-2009 06:53

Re: Check command
 
They check aliases by names, but can not know what's the alias is.

I remember when i had an alias :

alias bhop "say WHATEVER"

and i was banned for bhop script.

But you can safely use an bhop script if you just rename it...


I'm not sure about the method used.

Owyn 02-12-2009 09:11

Re: Check command
 
i mean when you enter server with hlguard, it tries to execute list of configs, and if it executes one of those succesefully it banned you

YamiKaitou 02-12-2009 11:02

Re: Check command
 
It checks cvars/setinfo/say lines after each exec I believe. It can not read from your console.


All times are GMT -4. The time now is 11:12.

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