Date: 2015/05/17 20:19:35 UTC-07:00
Type: Denizen Script
ircbot_tag_command:
type: world
debug: false
events:
on irc message:
- if <context.channel.contains[#IRCBot]> queue clear
- if "!<context.message.starts_with[dircbot<&co> ]>" && "!<context.message.starts_with[?tag ]>" queue clear
- if <context.message.starts_with[dircbot<&co>]> {
- irc message <context.channel> "Hello <context.speaker>: <&chr[03]>05Type '?tag <<>tag here<>>' to test how a tag parses! For more Denizen help, type !help or !getstarted"
}
else {
- irc message <context.channel> "<>> <&chr[03]>05The tag '<context.message.substring[6]>' fills with '<parse:<context.message.substring[6]>>'"
}
on server start:
- wait 5s
- ~IRC connect ircserver@irc.esper.net
- IRC raw ircserver@irc.esper.net "USER monkeytag mcmonkey.org mcmonkey.org monkeytag"
- IRC raw ircserver@irc.esper.net "NICK monkeytag"
- IRC join ircchannel@irc.esper.net#denizen-dev
- IRC join ircchannel@irc.esper.net#mcmonkey
- IRC join ircchannel@irc.esper.net#monkeybot