i have no clue whats wrong with this only the top 4 commands work
cake,pie,icecream,and cookiez all the 1's bellow that don't work why?
function serverCmdEat(%client, %food){
if(%food $= "Cake"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a peice of cake");
} else if(%food $= "Pie"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a peice of pie");
} else if(%food $= "icecream"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a icecream cone");
} else if(%food $= "cookiez"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a bag of cookiez");
} else if(%food $= "pizza"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a slice of pizza");
} else if(%food $= "sushi"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a peace of sushi");
} else if(%food $= "chips"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a bag of chips");
} else if(%food $= "chocolate"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a bar of chocolate");
} else if(%food $= "crackers"){
messageall("","\c0" @ %client.name @ " \c6 has eaten a box of crackers");
} else if(%food $= "nachos"){
messageall("","\c0" @ %client.name @ " \c6 has eaten some nachos");
}
}