I tried the following code and the %client.changedatablock(SHorseArmor); won't work but there is no syntax error : /
function serverCmdMorph(%client,%word,%wordTwo)
{
if(%word $= "horse")
{
messageClient(%client, '', "<color:ffffff>You morph into a <color:FFFF00>Horse<color:ffffff>.");
%client.changedatablock(SHorseArmor);
}
}
EDIT: Tried %client.changedatablock("SHorseArmor"); and it still does not work.