yay
This commit is contained in:
@@ -8,7 +8,31 @@ public class Selector
|
||||
{
|
||||
if (text.Contains("вижен"))
|
||||
{
|
||||
Console.WriteLine("dddddd");
|
||||
string novision = text.Replace("вижен", "").Trim();
|
||||
foreach (var module in Core.modulelist)
|
||||
{
|
||||
foreach (var command in module.commands)
|
||||
{
|
||||
if (command.Contains("*"))
|
||||
{
|
||||
string wopo = command.Replace("*", "").Trim();
|
||||
if (novision.Contains(wopo))
|
||||
{
|
||||
|
||||
Console.WriteLine(module.Module.Execute(command));
|
||||
break;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (command == novision)
|
||||
{
|
||||
Console.WriteLine(module.Module.Execute(novision));
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user