function onPlayerChats() { if (player.chat == "pie") { pie(); } }
if (playerchats&&strequals(#c,pie)){ pie(); }