Obviously i'm very new to scripting, but if anyone can fix this for me, and tell me what i'm doing wrong, it'd be greatly appreciated
function servercmdkill(%client, %target)
{
findclientbyname(%target);
%target.kill();
}
I have also tried
function servercmdkill(%client, %target)
{
findclientbyname(%target).kill();
}
and
function servercmdkill(%client, %target)
{
findclientbyname(%target);
%client.kill();
}