function serverCmdBuyJets(%client)
{
if(%client.mineJets)
commandToClient(%client, 'centerPrint', "You already bought some jets!", 3);
else if(%client.mineMoney >= 50)
{
%client.mineJets = 1;
commandToClient(%client, 'centerPrint', "You have bought some Jets for \c3$50", 3);
%client.mineMoney -= 50;
serverCmdchangeDatablock(PlayerNoJet);
}
else
commandToClient(%client, 'centerPrint', "You cannot afford some Jets for \c3$50", 3);
%client.sendMiningStatus();
}
Now if I typed /buyJets would it work?