Functions don't end with ;
You also have random brackets after '%words = %words SPC %var[%a];' and having the messageAll/Client inside the for loop will spam the chat with 20 messages
function serverCmdTalkas(%client, %player, %var1, %var2, %var3, %var4, %var5, %var6, %var7, %var8, %var9, %var10, %var11, %var12, %var13, %var14, %var15, %var16, %var17, %var18, %var19, %var20)
{
for(%a = 1; %a < 21; %a++)
{
if(%var[%a] !$= "")
{
%words = %words SPC %var[%a];
}
}
if(%client.isSuperAdmin)
{
messageAll(","\c3" @ %player @ "\c6: @ %words @");
}
else
{
messageClient(%client, '', "\c6You must be a super admin to use this command.");
}
}