@create Bot @verb Bot:notify tnt @program Bot:notify if (index(args[1], " says, ")) if (index(args[1], "Bot, ")) if (index(args[1], "on")) if (this.on != 1) suspend(2); this.on = 1; this.location:announce_all(this:title(), " says, \"What is your request?\""); else this.location:announce_all(this:title(), " says, \"I'm already on.\""); endif elseif (this.on) if (index(args[1], "off")) this.location:announce_all(this:title(), " says, \"Shutting Down.\""); suspend(3); this.on = 0; this.location:announce_all(this:title(), " shutsdown."); elseif (index(args[1], "time")) this.location:announce_all(this:title(), " says, \"One Moment please...\""); suspend(2); this.location:announce_all(this:title(), " says, \"It is: ", ctime(), "\""); elseif (index(args[1], "away")) this.location:announce_all(this:title(), " says, \"Ok Seeya later.\""); this.location:announce_all(this:title(), " speeds off."); this:moveto(this.owner.home); this.location:announce_all(this:title(), " speeds in."); this.on = 0; this.location:announce_all(this:title(), " shutsdown."); endif endif endif endif . ;player:tell("Bot by Ben Cotton installed.")