Gradient
Gradient

Reputation: 2343

IRC : Command to get the channels that I joined

Is there an IRC command to know the channels that I am currently in?

Upvotes: 0

Views: 555

Answers (1)

braindigitalis
braindigitalis

Reputation: 558

There is no such command directly.

You could use WHOIS then look for numeric reply RPL_WHOISCHANNELS (numbered 319), splitting the text at spaces to determine your channel list.

See: https://www.rfc-editor.org/rfc/rfc1459#section-4.5.2

Upvotes: 1

Related Questions