- 论坛徽章:
- 0
|
描述: Net::OICQ的主要目标是实现QQ即时通讯所用的协议,以便利自由软件使用者和QQ使 用者交流. Net::OICQ本身只是个Perl的面向对象的模块,提供一些和QQ服务器打交道的 基本方法. 软件包中含有一简单client程序已经实现一些基本的QQ功能.
Net-Oicq是Linux系统中
$ tar zxvf Net-OICQ-0.7.tgz
$ cd Net-OICQ-0.7
$ perl Makefile.PL
$ make
$ make test
$ su
# make install
# cp oicq /usr/local/bin
# chmod a+x /usr/local/bin/oicq
# exit
使用说明:
1. 先把密码存在环境变量OICQ_PW
$ export OICQ_PW=OICQ密码
2. 登陆腾迅服务器
$ oicq OICQ号码
3. 登陆后,所有以斜杠/开始的键盘输入行都被当做是命令,其他键盘输入行都 被当做要送出的话存人信息缓冲,等到空行输入时才送往默认的号码.用/加号码 来设定默认号码.举个例子,用下列命令给我送话:
/52482796
试一下
第二行
连打两次ENTER送出
其他命令
/help, /? - print this help message
/52482796 - set destination id num to 52482796
/away - toggle auto-reply
/ls [id] - list id numbers saved in user directory
/rm [id] - remove locally saved user info
/buf - show message buffer
/rmbuf - clear message buffer
/hist - show history
/obj - show object
/set - set object attribute
/clear - clear screen
/get [id] - get user info of the specified id (default to yourself)
/f - list all friends stored on the server
/who - get a list of online friends
/s [n] - list n x 25 online users if n < 100, or chekc if [n] is online
/mode [n|i|a]- change mode to Normal, Invisible or Away
/update - update information
/accept [id] - accept contact from id
/reject [id] - reject contact from id
/add [id] - add a user to friend list
/del [id] - delete a user from friend list
/ban [id] - forbid a user from contacting you
/passwd xxxx - change passwd to xxxx
我都按照它做了还是不能用 |
|