mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-07-14 15:44:34 +00:00
Bug regarding LakPoints
Line 190 Line 197
This commit is contained in:
parent
b428275e9b
commit
6360d28e51
1 changed files with 31 additions and 31 deletions
4
Classic/scripts/autoexec/zzDiscordBot.cs
Executable file → Normal file
4
Classic/scripts/autoexec/zzDiscordBot.cs
Executable file → Normal file
|
|
@ -187,14 +187,14 @@ function discordBotProcess(%type, %var1, %var2, %var3, %var4, %var5, %var6)
|
||||||
case "lakMApoints":
|
case "lakMApoints":
|
||||||
%sourceObject = %var1;
|
%sourceObject = %var1;
|
||||||
%points = %var2;
|
%points = %var2;
|
||||||
if(%points == 1)
|
if(%points !$=1)
|
||||||
%s = "s";
|
%s = "s";
|
||||||
%hitType = %var3;
|
%hitType = %var3;
|
||||||
%weapon = %var4;
|
%weapon = %var4;
|
||||||
%distance = %var5;
|
%distance = %var5;
|
||||||
%vel = %var6;
|
%vel = %var6;
|
||||||
if(%points)
|
if(%points)
|
||||||
%msg = getTaggedString(%sourceObject.client.name) SPC "receives" SPC %points @ %s SPC "points! [" @ %hitType SPC %weapon @ "] [Distance:" SPC %distance @ "] [Speed:" SPC %vel @ "]";
|
%msg = getTaggedString(%sourceObject.client.name) SPC "receives" SPC %points SPC "point" @ %s @ "! [" @ %hitType SPC %weapon @ "] [Distance:" SPC %distance @ "] [Speed:" SPC %vel @ "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
if(%msg !$= "")
|
if(%msg !$= "")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue