Yes
PHP Code:
function onMouseDown(mode)
{
if (player.chat == ":kick")
{
if (mode == "left")
{
for (pl : players)
{
if (mousex in |pl.x, pl.x+1.5|)
{
if (mousey in |pl.y, pl.y+2|)
{
triggerserver("gui", this.name, "kickthatfool", pl.account);
break;
}
}
}
}
}
}
Change the 1.5 and 2 to whatever range you want to have.