mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-20 00:24:49 +00:00
AI chat update
This commit is contained in:
parent
848ea5ff70
commit
cfd7da5589
|
|
@ -160,21 +160,17 @@ function chatCmd(%client, %message) //%client is sender
|
|||
messageAll('message', 'AI is now disabled.');
|
||||
}
|
||||
|
||||
case "/AIQ":
|
||||
if(%client.isSuperAdmin || %client.isAdmin)
|
||||
{
|
||||
%b = getWord(%message,1);
|
||||
if(%b == 1)
|
||||
{
|
||||
case "/aichat":
|
||||
if(%client.isSuperAdmin || %client.isAdmin){
|
||||
if(!$AIDisableChat){
|
||||
$AIDisableChat = 1;
|
||||
messageClient(%client, 'msgChatCmd', '\c2AI Chat Disabled.');
|
||||
}
|
||||
else
|
||||
{
|
||||
messageAll('message', '\c2AI Chat Disable');
|
||||
}
|
||||
else{
|
||||
$AIDisableChat = 0;
|
||||
messageClient(%client, 'msgChatCmd', '\c2AI Chat Enabled.');
|
||||
}
|
||||
}
|
||||
messageAll('message', '\c2AI Chat Enable');
|
||||
}
|
||||
}
|
||||
|
||||
case "/spookysky":
|
||||
if(%client.isAdmin || %client.isSuperAdmin )
|
||||
|
|
|
|||
Loading…
Reference in a new issue