Channels 1000 and up are private by default - private means that the channelis shown as "Prv" in the /NAMES and /LIST lists. People who don't know thename of the channel are not able to /JOIN. "+" channels can be made Privatewith the /MODE command - described below.
Secret
------
Channels below 0 are secret channels - secret means that the channel will notshow up in the /NAMES and /LIST lists at all. "+" channels can be made Secretwith /MODE command - described below. People on secret channels are also notcounted in /LUSERS, and not shown in /NAMES either.
Additional channel flavors
==========================
各个频道还可以有不同的规则及限制,这些限制可以由mode指令所达成或修改,记得刚刚说过当第一个人创造一个新频道时,他就成为这个channel的channel operator!他有力权力把此频道加上或去除某些限制,也有权把後来加入者变成channel operator!
以下是各种不同的channel规则及限制
Moderated(mode +m)
------------------
在这种channel中只有channel operator才能"开口",其他非channel operator的人只能接收讯息而无法放出讯息。
Limited(mode +l number)
----------------
在此种channel内会限制在channel内的人数,一旦超过设定,channel外的人就无法join。
Topic Limited(mode +t)
----------------------
在此种channel内只有channel operator才能改变TOPIC。
Invite only(mode +i)
--------------------
想要加入invite only的channel内,必须要接收到此channel内的人的邀请(/invite)方可进入。
Message Disabled(mode +n)
-------------------------
在channel外的人无法以/msg的方式送讯息进来
□Special Bonus! :)□
Keyword Join(mode +k keyword)
-----------------------------
这是2.8.10版server新加的功能,如果channel被设定为+k,那麽channel外的人要进入,要在/join後加上一个keyword方能进入。
以上的几个mode都能混在一起用,不过最好的channel mode为+tn,这样子channel能给大家最自由但不受干扰的谈话。
如何改变channel mode
====================
如果你是channel operator,你可以用/MODE指令改变channel mode!以下是/MODE的用法
/MODE <channelname> +<modechars> <parameters>
用'+'为加上限制
/MODE <channelname> -<modechars> <parameters>
用'-'为去除限制
<Modechars> 可以是下列几个字母 :
m - make channel moderated
s - make channel secret
p - make channel private
l <number> - make channel limited, number 代表user的最大数目
t - make channel topic limited
o <nick> - 让某人成为channel operator或取消他的channel operator
i - channel is invite only
n - No MSGs to the channel are allowed (Message disabled)
k <keyword> - 加上密码
------ 例子 :
: /MODE #demo +p
IRC: *** Mode change "+p " on channel #demo by Pentium
This will make channel #demo private.
: /MODE #demo +l 10
#demo的人数最多只能容纳10人。
[ END OF PART TWO ; PART THREE WILL DEAL WITH VARIABLE SETTINGS IN IRCII ]
[第一部分]|[第二部分]|[第三部分]
[
第三部份
: 建造自己的环境 - 参数和巨集档 ]
第三部份的说明大部份可用下面三个指令查到用法
man irc
(NOTE : 此指令是在unix内执行,而非irc内!)
/HELP SET
/HELP SET <variable-name>
先决条件
========
在以下我假设:
- 你已经阅读过第一及第二部份,并且你已经大致的了解上面两部份在讲些什麽,你知道 怎麽处理送给你的讯息,你也知道怎麽在channel内和人交谈。
- 你知道所谓的环境参数(environment variables)并懂得去设定。假如你不知道,下面 点关於设定的简介,假如你还是不懂,请去翻翻unix的书吧.. :)
请打下面的指令 : |