function serverCmdLight(%client, %brick)
{
%brick.disappear(19);
the default light keybind only acts like /light, without arguments
the first argument (%client in this case, could name it whatever the duck you want, ie %ducknugget) will always be the client sending the command, and any other arguments (%brick in this case) will be null
if you want to send arguments on the /light command, use it like "/light duck", and then %client will be the client sending the command, and %brick will be the string "duck"
but either way, it won't be a brick
i'm not quite sure how you expect the function to give you a brick when it's called, since you aren't even trying to specify any specific brick (ie, what the player is looking at, first brick in a brickgroup, or a new brick that you create, or a named brick)