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