Sponsored Content
Top Forums UNIX for Dummies Questions & Answers How does IRC obtain the users in a channel? Post 302907557 by decent on Monday 30th of June 2014 05:28:02 AM
Old 06-30-2014
Code:
/who #channelname

 

6 More Discussions You Might Find Interesting

1. Post Here to Contact Site Administrators and Moderators

Irc??

hi there everybody.. i just noticed that there is no forum dedicated to internet relay chat (IRC)... although there are several threads focused on this, i think it is quite better if there is a forum where questions on IRC are tackled head-on in a purely academic level... anyway, this is just... (4 Replies)
Discussion started by: cable21
4 Replies

2. UNIX for Dummies Questions & Answers

IRC and Root

dear members... i am a newbie to unix, i am using the SUSE professional 9.2 i noticed many places, that when i am using IRC , i shouldn't be logged into the root account.. also when i switch the GPSdrive, it mentions to me that it is not goo to be logged thru the root account. what is wrong if... (4 Replies)
Discussion started by: 9613315400
4 Replies

3. UNIX for Dummies Questions & Answers

How to obtain list of users ?

How to obtain list of users found in /home/ and append it to a file. (7 Replies)
Discussion started by: bobby36
7 Replies

4. Programming

to obtain users of each group in c

Hello They have ordered to me that makes several small utilities in C/C++ for the servants, among them a small program in C/C++ to generate a file HTML with the groups of that servant and in addition that is the corresponding users of that group. For example of a group: Group: Sys Members:... (2 Replies)
Discussion started by: cybermeis
2 Replies

5. UNIX for Dummies Questions & Answers

My domain name as my IRC hostname?

When I connect to any IRC server, it's usually my ISP IP address/hostname. I own a domain, but I'm not using it for anything (no web hosting service or server). Is it possible for me to use my domain as my IRC hostname instead of my regular ISP hostname? (0 Replies)
Discussion started by: guitarscn
0 Replies

6. SCO

Irc port

does anyone know of a port of irc like irssi for unixware? thanks (3 Replies)
Discussion started by: deus-programmer
3 Replies
irc(n)							    Low Level Tcl IRC Interface 						    irc(n)

NAME
irc - Create IRC connection and interface. SYNOPSIS
package require Tcl package require irc ?0.2? ::irc::connection hostname ::irc::config key value net registerevent event script net connect net user username localhostname userinfo net nick nick net ping net join channel net part channel net privmsg target message net send text who ?address? action target ?index? msg DESCRIPTION
This package provides low-level commands to deal with the IRC protocol (Internet Relay Chat) for immediate and interactive multi-cast com- munication. ::irc::connection hostname The command creates a new object to deal with an IRC connection. Creating this IRC object does not automatically create the network connection. It returns a new irc namespace command which can be used to interact with the new IRC connection. ::irc::config key value Sets configuration key to value. Currently, the only config key defined is the boolean flag debug which, when turned on, makes irc print more information about what is going on. Per-connection Commands In the following list of available connection methods net represents a connection command as returned by ::irc::connection. net registerevent event script Registers a callback handler for the specific event. Events available are those described in the IRC RFC: 1459. In addition, there are several other events defined. defaultcommand adds a command that is called if no other callback is present. EOF is called if the connection signals an End of File condition. script is executed in the connection namespace, which can take advantage of sev- eral commands (see Callback Commands below) to aid in the parsing of data. net connect This causes the socket to be established. ::irc::connection created the namespace and the commands to be used, but did not actually open the socket. This is done here. net user username localhostname userinfo Sends USER command to server. username is the username you want to appear. localhostname is the name of your server, and userinfo is a short description of who you are. net nick nick NICK command. nick is the nickname you wish to use for the particular connection. net ping PING the IRC server. net join channel channel is the IRC channel to join. IRC channels typically begin with a hashmark ("#"). net part channel Makes the client leave channel. net privmsg target message Sends message to target, which can be either a channel, or another user, in which case their nick is used. net send text Sends text to the IRC server. Callback Commands These commands can be used within callbacks who ?address? Returns the nick of the user who performed a command. The optional address keyword causes the command to return the user in the format "username@address". action Returns the action perfomed, such as KICK, PRIVMSG, MODE, etc... Normally not useful, as callbacks are bound to a particular event. target ?index? Returns the target of a particular command, such as the channel or user to whom a PRIVMSG is sent. In the case of multiple targets, the optional index argument may be used to specify which one to return. The default is 0. msg Returns the message portion of the command (the part after the :). SEE ALSO
rfc 1459 KEYWORDS
irc, chat irc 0.2 irc(n)
All times are GMT -4. The time now is 04:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy