if (hasMemo("gaveTicket")) return "pong";
if (!hasMemo("talkTicketeer"))
{
  setMemo("talkTicketeer");
  return "404";
}
else if (useItem("Ticket"))
{
  setMemo("gaveTicket");
  return "gave";
}
else return "404";