Chat-O-Matic/protocols/irc/Templates.rdef
Jaidyn Ann c0f126206a Include default templates, split "room"
The "room" template has been split into two seperate
templates― "join_room" and "create_room". Before, "room" was used in the
room creation window, but now that's delegated to "create_room".

"join_room" is used with the join window― so now, the add-on has total
control over the slots used to join/create rooms generally, if they
specify the templates. Even a "/join" command could be overriden by the
add-on.

Also, default templates are now in use. Rather than add-ons being
required to specify templates, there are sensible defaults included with
Cardie for each one.
2021-07-05 13:48:33 -05:00

49 lines
1.0 KiB
Plaintext

// "account" settings template
resource(1000, "account") message('IMst')
{
"setting" = message
{
"name" = "nick",
"description" = "Nickname:",
"default" = "Haikunaut",
"error" = "You need a default nickname― The Nameless are not welcome on IRC.",
int32 "type" = 'CSTR'
},
"setting" = message
{
"name" = "ident",
"description" = "Ident:",
int32 "type" = 'CSTR'
},
"setting" = message
{
"name" = "password",
"description" = "Password:",
bool "is_secret" = true,
int32 "type" = 'CSTR'
},
"setting" = message
{
"name" = "real_name",
"description" = "Real Name:",
"default" = "Mx. Catbird",
int32 "type" = 'CSTR'
},
"setting" = message
{
"name" = "server",
"description" = "Server:",
"default" = "127.0.0.1",
"error" = "Please enter a valid server address.",
int32 "type" = 'CSTR'
},
"setting" = message
{
"name" = "port",
"description" = "Port:",
int32 "default" = 10025,
"error" = "Without a port, we don't know which door to knock on.\nIt's likely 10025/6667.",
int32 "type" = 'LONG'
}
};