public bool DoAction(Actor actor, Actor target, string command, string arguments) { if (actor["type"].ToString() == "user") { actor.Send("The " + target["name"] + " tinkles merrily for a short time in response to your touch.\r\n"); actor.Sayinroom(actor.GetNameUpper() + " touches the " + target["name"] + " and it tinkles merrily for a short time."); } else // actor is not a user { foreach (Actor tmpactor in Lib.GetWorldItems()) { if (tmpactor["container"].ToString() == actor["container"].ToString()) { tmpactor.Send(tmpactor.GetNameUpper() + " touches the " + target["name"] + " and it tinkles merrily for a short time.\r\n"); } } } Lib.AddDelayedCommand(target, "windchime_push", "", Lib.GetTime(), 50, false); return(true); }