package ClassSelection
{
function serverCmdPickClass(%client, %ClassInput)
{
{
if(%ClassInput $= Knight)
{
%client.Class = 1;
%client.BaseHP = 135;
%client.BaseAttack = 160;
%client.BaseDefense = 125;
%client.BaseSpeed = 65;
%client.BaseIntellect = 50;
%client.BaseWillpower = 65;
messageClient("<color:ffffff>You are now a Knight!");
}
}
}
};
activatePackage(ClassSelection);
For some reason, when I use the command I made, I don't see the client message. What exactly am I doing wrong? (Sorry if my syntax is bad, this is my first time ever using TorqueScript)