mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-13 16:48:27 -05:00
more plugin tweaks, added console interface!
This commit is contained in:
@ -58,21 +58,15 @@ namespace SharedLibrary
|
||||
|
||||
public Command isValidCMD(List<Command> list)
|
||||
{
|
||||
if (this.Data.Substring(0, 1) == "!")
|
||||
string[] cmd = this.Data.Substring(1, this.Data.Length - 1).Split(' ');
|
||||
|
||||
foreach (Command C in list)
|
||||
{
|
||||
string[] cmd = this.Data.Substring(1, this.Data.Length - 1).Split(' ');
|
||||
|
||||
foreach (Command C in list)
|
||||
{
|
||||
if (C.Name == cmd[0].ToLower() || C.Alias == cmd[0].ToLower())
|
||||
return C;
|
||||
}
|
||||
|
||||
return null;
|
||||
if (C.Name == cmd[0].ToLower() || C.Alias == cmd[0].ToLower())
|
||||
return C;
|
||||
}
|
||||
|
||||
else
|
||||
return null;
|
||||
return null;
|
||||
}
|
||||
|
||||
public static Event requestEvent(String[] line, Server SV)
|
||||
|
Reference in New Issue
Block a user