I was studying torque and I wanted to practice with switch$. The script I made, although it had no errors, didn't function as I had wanted. Can someone explain what's wrong please? Echo didn't work, I don't have any idea about the rest of the script though.
function serverCmdSwitch(%client, %input)
{
%input = "";
switch$(%input)
{
case "Hello":
echo("Hi");
}
}