Moved join, part, quit, kick, nick, invite and topic printing to core.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@726 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-10-10 00:08:23 +00:00 committed by cras
commit f07f552661
9 changed files with 287 additions and 167 deletions

View file

@ -48,8 +48,6 @@ FORMAT_REC fecommon_irc_formats[] = {
/* ---- */
{ NULL, "Channels", 0 },
{ "join", "%c%_$0%_ %K[%c$1%K]%n has joined %_$2", 3, { 0, 0, 0 } },
{ "part", "%c$0 %K[%n$1%K]%n has left %_$2%_ %K[%n$3%n%K]", 4, { 0, 0, 0, 0 } },
{ "joinerror_toomany", "Cannot join to channel %_$0%_ %K(%nYou have joined to too many channels%K)", 1, { 0 } },
{ "joinerror_full", "Cannot join to channel %_$0%_ %K(%nChannel is full%K)", 1, { 0 } },
{ "joinerror_invite", "Cannot join to channel %_$0%_ %K(%nYou must be invited%K)", 1, { 0 } },
@ -57,10 +55,6 @@ FORMAT_REC fecommon_irc_formats[] = {
{ "joinerror_bad_key", "Cannot join to channel %_$0%_ %K(%nBad channel key%K)", 1, { 0 } },
{ "joinerror_bad_mask", "Cannot join to channel %_$0%_ %K(%nBad channel mask%K)", 1, { 0 } },
{ "joinerror_unavail", "Cannot join to channel %_$0%_ %K(%nChannel is temporarily unavailable%K)", 1, { 0 } },
{ "kick", "%c$0%n was kicked from %_$1%_ by %_$2%_ %K[%n$3%K]", 4, { 0, 0, 0, 0 } },
{ "quit", "%c$0 %K[%n$1%K]%n has quit IRC %K[%n$2%n%K]", 3, { 0, 0, 0 } },
{ "quit_once", "%_$3%_ %c$0 %K[%n$1%K]%n has quit IRC %K[%n$2%K]", 4, { 0, 0, 0, 0 } },
{ "invite", "%_$0%_ invites you to %_$1", 2, { 0, 0 } },
{ "inviting", "Inviting $0 to %_$1", 2, { 0, 0 } },
{ "not_invited", "You have not been invited to a channel!", 0 },
{ "names", "%K[%g%_Users%_%K(%g$0%K)]%n $1", 2, { 0, 0 } },
@ -69,8 +63,6 @@ FORMAT_REC fecommon_irc_formats[] = {
{ "channel_created", "Channel %_$0%_ created $1", 2, { 0, 0 } },
{ "topic", "Topic for %c$0%K:%n $1", 2, { 0, 0 } },
{ "no_topic", "No topic set for %c$0", 1, { 0 } },
{ "new_topic", "%_$0%_ changed the topic of %c$1%n to%K:%n $2", 3, { 0, 0, 0 } },
{ "topic_unset", "Topic unset by %_$0%_ on %c$1", 2, { 0, 0 } },
{ "topic_info", "Topic set by %_$0%_ %K[%n$1%K]", 2, { 0, 0 } },
{ "chanmode_change", "mode/%c$0 %K[%n$1%K]%n by %_$2", 3, { 0, 0, 0 } },
{ "server_chanmode_change", "%RServerMode/%c$0 %K[%n$1%K]%n by %_$2", 3, { 0, 0, 0 } },
@ -95,8 +87,6 @@ FORMAT_REC fecommon_irc_formats[] = {
{ "nick_away", "$0 is away: $1", 2, { 0, 0 } },
{ "no_such_nick", "$0: No such nick/channel", 1, { 0 } },
{ "your_nick", "Your nickname is $0", 1, { 0 } },
{ "your_nick_changed", "You're now known as %c$0", 1, { 0 } },
{ "nick_changed", "%_$0%_ is now known as %c$1", 2, { 0, 0 } },
{ "nick_in_use", "Nick %_$0%_ is already in use", 1, { 0 } },
{ "nick_unavailable", "Nick %_$0%_ is temporarily unavailable", 1, { 0 } },
{ "your_nick_owned", "Your nick is owned by %_$3%_ %K[%n$1@$2%K]", 4, { 0, 0, 0, 0 } },