IRC에서 사용하는 커맨드
SERVER
/server 서버명 [포트번호] [암호]
/server (최근에 접속했던 서버로 재접속)
NICK 대화명
USER 유저이름 * * :풀네임
ex)
127.000.000.001.51916-127.000.000.001.06667: CAP LS
127.000.000.001.51916-127.000.000.001.06667: NICK jaeeeeee
127.000.000.001.51916-127.000.000.001.06667: USER root root 127.0.0.1 :root
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.51916: :irc.local NOTICE Auth :*** Looking up your hostname...
127.000.000.001.06667-127.000.000.001.51916: :irc.local NOTICE Auth :*** Could not resolve your hostname: Request timed out; using your IP address (127.0.0.1) instead.
:irc.local NOTICE Auth :Welcome to Localnet!
:irc.local 001 jaeeeeee :Welcome to the Localnet IRC Network jaeeeeee!root@127.0.0.1
:irc.local 002 jaeeeeee :Your host is irc.local, running version InspIRCd-2.0
:irc.local 003 jaeeeeee :This server was created on Debian
:irc.local 004 jaeeeeee irc.local InspIRCd-2.0 iosw biklmnopstv bklov
:irc.local 005 jaeeeeee AWAYLEN=200 CASEMAPPING=rfc1459 CHANMODES=b,k,l,imnpst CHANNELLEN=64 CHANTYPES=# CHARSET=ascii ELIST=MU FNC KICKLEN=255 MAP MAXBANS=60 MAXCHANNELS=20 MAXPARA=32 :are supported by this serve
r
:irc.local 005 jaeeeeee MAXTARGETS=20 MODES=20 NETWORK=Localnet NICKLEN=32 PREFIX=(ov)@+ STATUSMSG=@+ TOPICLEN=307 VBANLIST WALLCHOPS WALLVOICES :are supported by this server
:irc.local 042 jaeeeeee 811AAAAAB :your unique ID
:irc.local 375 jaeeeeee :irc.local message of the day
:irc.local 372 jaeeeeee :- Please edit /etc/inspircd/inspircd.motd
:irc.local 376 jaeeeeee :End of message of the day.
:irc.local 251 jaeeeeee :There are 1 users and 1 invisible on 1 servers
:irc.local 254 jaeeeeee 0 :channels formed
:irc.local 255 jaeeeeee :I have 2 clients and 0 servers
:irc.local 265 jaeeeeee :Current Local Users: 2 Max: 2
:irc.local 266 jaeeeeee :Current Global Users: 2 Max: 2
JOIN
/join #채널명 (암호)
- 채널이 없을때 -
127.000.000.001.35458-127.000.000.001.06667: JOIN #ch1 1234
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :irc.local 324 jae1 #ch
1 +nt
:irc.local 329 jae1 #ch1 1684828457
-------------------------------------------------------------------------------
127.000.000.001.35458-127.000.000.001.06667: WHO #ch1
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :irc.local 352 jae1 #ch
1 root 127.0.0.1 irc.local jae1 H@ :0 root
:irc.local 315 jae1 #ch1 :End of /WHO list.
-------------------------------------------------------------------------------
127.000.000.001.35458-127.000.000.001.06667: MODE #ch1 b
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :irc.local 368 jae1 #ch
1 :End of channel ban list
- 채널이 있을때 -
127.000.000.001.35466-127.000.000.001.06667: JOIN #ch1 1234
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :jae2!root@127.0.0.1 JO
IN :#ch1
:irc.local 353 jae2 = #ch1 :@jae1 jae2
:irc.local 366 jae2 #ch1 :End of /NAMES list.
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :jae2!root@127.0.0.1 JO
IN :#ch1
-------------------------------------------------------------------------------
127.000.000.001.35466-127.000.000.001.06667: MODE #ch1
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :irc.local 324 jae2 #ch
1 +nt
:irc.local 329 jae2 #ch1 1684828457
-------------------------------------------------------------------------------
127.000.000.001.35466-127.000.000.001.06667: WHO #ch1
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :irc.local 352 jae2 #ch
1 root 127.0.0.1 irc.local jae1 H@ :0 root
:irc.local 352 jae2 #ch1 root 127.0.0.1 irc.local jae2 H :0 root
:irc.local 315 jae2 #ch1 :End of /WHO list.
-------------------------------------------------------------------------------
127.000.000.001.35466-127.000.000.001.06667: MODE #ch1 b
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :irc.local 368 jae2 #ch
1 :End of channel ban list
NICK
- 대화명 설정 및 변경
- 같은 닉네임으로 변경시도시 아무반응 x
/nick 대화명
127.000.000.001.35466-127.000.000.001.06667: NICK jae3
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :jae2!root@127.0.0.1 NICK
jae3
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :jae2!root@127.0.0.1 NICK
jae3
- 이미 있는 닉네임으로 변경 시도 시 -
127.000.000.001.35458-127.000.000.001.06667: NICK jae3
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :irc.local 433 jae1 jae3
:Nickname is already in use.
PART
/part
/part #채널명 메시지
- 메시지 없이 -
127.000.000.001.35458-127.000.000.001.06667: PART #ch1
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :jae1!root@127.0.0.1 PART
#ch1
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :jae1!root@127.0.0.1 PART
#ch1
- 메시지 입력 시 -
127.000.000.001.35458-127.000.000.001.06667: PART #ch1 :bye
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: :jae1!root@127.0.0.1 PART
#ch1 :bye
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: :jae1!root@127.0.0.1 PART
#ch1 :bye
QUIT
/quit 메시지
- 메시지 없이 -
127.000.000.001.35458-127.000.000.001.06667: QUIT :leaving
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35458: ERROR :Closing link: (roo
t@127.0.0.1) [Quit: leaving]
- 메시지 포함 -
127.000.000.001.36008-127.000.000.001.06667: QUIT :BYE
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.36008: ERROR :Closing link: (roo
t@127.0.0.1) [Quit: BYE]
EXIT
/exit
127.000.000.001.35466-127.000.000.001.06667: QUIT :leaving
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.35466: ERROR :Closing link: (roo
t@127.0.0.1) [Quit: leaving]
DISCONNECT
- /quit 과 동일한 효과, quit 메세지는 기본메세지로 전달
/disconnect
MSG
/msg 닉네임 메시지
- 유저 1:1 대화 -
127.000.000.001.38312-127.000.000.001.06667: PRIVMSG jae3 :what?
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.38330: :jae1!root@127.0.0.1 PRIVMSG jae3 :what?
- 채널에 보내는 대화 -
127.000.000.001.38312-127.000.000.001.06667: PRIVMSG #ch1 :hihi
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.38330: :jae1!root@127.0.0.1 PRIVMSG #ch1 :hihi
NOTICE
/notice 닉네임 메시지
127.000.000.001.38312-127.000.000.001.06667: NOTICE jae3 :priv hi
-------------------------------------------------------------------------------
127.000.000.001.06667-127.000.000.001.38330: :jae1!root@127.0.0.1 NOTICE jae3 :priv hi
KICK
/kick #채널명 닉네임 메시지
INVITE
/invite 닉네임 #채널명
TOPIC
/topic #채널명 변경할주제
/topic #채널명 (채널의 현재 토픽과 갱신 날짜, 닉네임 알림)
MODE (-i, -t, -k, -o, -l)
- 각종 설정 기능, +를 -로 하면 설정을 해제
- op권한이 있어야만 설정 변경가능
/mode #채널명 +i (초대한 사람만 들어올수 있게함)
/mode #채널명 +t (op만 TOPIC을 변경할 수 있게 함)
/mode #채널명 +k 비밀번호 (채널에 비밀번호를 설정)
/mode #채널명 +o 닉네임 (op권한을 줌)
/mode #채널명 +l number (number 만큼 입장가능 인원을 제한함)
OP
/op Nick
/op Nick1, Nick2, Nick3...
DOP
/dop Nick
/dop Nick1, Nick2, Nick3...
번외(command가 아님)
PING
127.000.000.001.50892-127.000.000.001.06667: PING irc.local
PONG
127.000.000.001.06667-127.000.000.001.50892: :irc.local PONG irc.local :irc.local