freenode常用资料

 

下面是常用命令

 

/在不引起混淆的情况下,IRC命令允许简写。例如,/join 命令可以简写为/j,/jo或者/joi。

 

 

/nick

更改昵称的基本方法是:/n(ick) 新的昵称

您的昵称可以包含英文字母,数字,汉字及下划线等。但是,昵称不能超过50个(每个字符和汉字都算一个字),而且不能包含$,+,!和空格。

/nick 命令等价于工具按钮中的“改变别名”。

 

/join

/join命令的格式是:/j(oin) 聊天室名

 

如果聊天室已经存在,您就进入该聊天室。此时,/join 命令等价于聊天室列表工具按钮中的“进入”。

如果聊天室不存在,您就建立了一个新的聊天室并进入。此时,/join 命令等价于工具按钮中的“建聊天室”。

聊天室的名字可以包含英文字母,数字,汉字及下划线等。但是,不能超过50个字(每个字符和汉字都算一个字),而且不能包含$,+,!和空格。

 

/mode +(-)i

/mode +(-)i 命令可以用来锁住(解锁)用户自建的聊天室(私人聊天室)。其命令格式是:/m(ode)

+i 或 /m(ode) -i

 

只有用户自建的聊天室才能加锁。

未经管理员邀请,其他用户不能进入私人聊天室。

/mode +(-)o

/mode +(-)o 命令可以让聊天室管理员赋予或者剥夺其他用户的管理员身份。其命令格式是:/m(ode)

+o 用户昵称/m(ode)-o用户昵称只有聊天室管理员才能使用这个命令。

 

/knock

/knock 命令可以让您询问私人聊天室管理员是否可以进入该私人聊天室。其命令格式是:/k(nock) 房间名

消息]

 

/invite

/invite 命令可以让聊天室管理员邀请其他用户进入私人聊天室。其命令格式是:/i(nvite) 用户昵称

只有私人聊天室的管理员才能使用这个命令。

 

/privmsg

/privmsg 命令用来向在同一间聊天室的某个用户发送私人消息(悄悄话)。也就是说,您的消息只送给指定的人,而不会显示给其他用户。

/privmsg 命令的基本格式是: /p(rivmsg) 用户昵称 消息

 

接受您的私人消息的用户必须和您在同一间聊天室。

“用户昵称”和“消息”这两个参数是不能省略的。

如果某个用户的昵称太长,在不会产生混淆的情况下,您可以只输入用户昵称的头几个字母,系统会进行自动匹配。

例如:聊天室里除了您之外还有两个用户,他们的昵称分别是xiaobao和softman。您若想给softman发送悄悄话,可以在输入框里输入下面的命令:

/p s Have you etanged today?

由于xiaobao和softman的第一个字母就不一样,所以系统会把您输入的昵称“s”自动匹配为“softman”。另外,“/p”是“/privmsg”的缩写。

 

/ignore

/ignore 命令用来把某个用户加入您的“坏人黑名单”。一旦某个用户进入了您的黑名单,他说的任何话都将不会显示在您的终端上。

/ignore 命令的基本格式是:/ig(nore) 用户昵称

 

用户昵称所代表的用户必须和您在同一个聊天室。

/ignore 命令等价于用户列表工具按钮中的“忽略”。

如果某个用户的昵称太长,在不会产生混淆的情况下,您可以只输入用户昵称的头几个字母,系统会进行自动匹配。

在您的用户列表中,如果某个用户昵称前有一个#,表示该用户已经被您列入黑名单。

 

如果一个用户已经在您的黑名单中,您可以用 /ignore 用户昵称 把他从黑名单中去掉。

 

/away

/away 命令用来把自己设为“暂时离开”状态,并可以留言给其他用户。当其他用户和您说悄悄话时,您预先设置的留言会自动回复给其他用户。

 

/away 命令的基本格式是:/a(way) [留言]

 

“留言”这个参数是可选的。如果有这个参数,您的状态会被设置为“暂时离开”。否则,您的状态会被设置为“我回来了”。

 

当您暂时离开聊天室时,用户列表中您的昵称前会出现一个?,表示您处于“离开”状态。工具按钮中的“暂时离开”也会变为“我回来了”。

 

当您回来继续聊天时,您可以点击工具按钮中的“我回来了”,或者在输入框里输入 /away 命令,将自己设置为正常状态。

/away 命令等价于工具按钮中的“暂时离开”

 

/whois

 

/whois 命令用来查询某个用户的信息,包括用户的亿唐ID,IP地址,目前所在的聊天室和发呆时间。

/whois 命令的基本格式是:/w(hois) 用户昵称

 

/whois命令等价于用户列表工具按钮中的“查询”。

 

/names

/names 命令用来查看当前所有(或某个聊天室内)的在线聊天用户。其命令格式是:/na(mes) [聊天室]

 

/topic

/topic 命令用来设定当前聊天室的主题。

/topic 命令的基本格式是:/t(opic) 聊天室主题

 

只有当前聊天室的管理员(op)才有权利设定聊天室主题。

聊天室的创建者就是该聊天室的管理员。

管理员权限可以通过 /mode +o 命令转交。

 

/kick

/kick 命令用来把某个用户踢出当前聊天室。

/kick 命令的基本格式是:/ki(ck) 用户昵称 [消息]

 

只有当前聊天室的管理员(op)才有权利把其他用户踢出当前聊天室。

 

聊天室的创建者就是该聊天室的管理员。

管理员权限可以通过/mode +o命令转交。

请诸位网友慎用这个命令。“君子动口不动手”嘛!

 

/quit

/quit 命令用来退出聊天室。

/quit 命令的基本格式是:/q(uit) [消息]

 

“消息”这个参数是可选的。如果您指定退出时的消息,该消息会发送给当前聊天室中的其他用户。您可以使用这个消息向其他用户道别。

/quit 命令等价于工具按钮中的“结束聊天”

 

 

 

 

 

 

 

 

 

 

 

IRC常用命令列表

Home  Back  Next

SECTION 1
Fish Photo Cap

常 用 基 本 命 令 命令用途说明 命 令 使 用 举 例 


/links 列服务器连接信息 /links 


/list 列出所有聊天室 /list 


/nick 名字 更换名字 /nick 林桃子67


/ns register 密码 注册名字 /ns regiser 123456 


/pass 密码 验证名字密码 /pass 123456 


/ns set password 新密码 修改名字密码 /ns set password 654321

 
/mode 自己名字 +/-i 设置昵称是否隐藏 /mode 林桃子67 +/-i 


/mode 自己名字 +/-s 是否收服务器信息 /mode 是我 +/-s 


/run 文件名 运行程序或文件 /run jpbot.exe 


/whois 名字 查看网友的信息 /whois 是我 


/userhost 名字 查看网友的IP地址 /userhost 是我


/ns info 名字 查名字注册信息 /ns info 名字 


/ns status 名字 查询用户状态 /ns status 名字 


/who 看看谁在线上 /who 


/who #房间名 看看谁在房间中 /who #林桃子67的房间


/names #房间名 列房间中所有用户 /names #日本女性的房间


/me 要说的话 使用动作表情 /me 大家好,今天你IRC了么

 
/say 要说的话 在当前频道说话 /say 老公,想我了吗 


/notice 名字 要说的话 向某人发出通告 /notice 远方的风 有事找你 


/query 名字 发送信息 开小窗和他私聊 /query 夕阳天使 hi,久违了你

 
/privmsg 名字 发送信息 开小窗发送信息 /privmsg 天使源 hi,久违了你 


/msg 他的名字 信息内容 给他悄悄发送信息 /msg 于天 你好! 


/msg 房间名字 信息内容 向房间全体成员说 /msg #日语角 大家好! 


/omsg #房间名字 要发的信息 仅对屋中的@说话 /omsg #日语角 见吴山了没有 


/amsg 要发的信息 多个频道同发信息 /amsg 我老公在那里呢 


/onotice 房间名字 要发的话 在该屋对所有op说 /onotice #日语角 水素死翘了 


/close -m 关闭所有小窗聊天 /close -m 


/ignore 他的名字 忽略你讨厌的人 /ignore 杨过,shll,

 
/ignore -T * 忽略别人CTCP查询 /ignore -T * 


   /join #房间名 加入一个房间 /join #林桃子67的房间


/away 给出离开的原因 离开并给出原因 /away 对不起GG,我男友来了

 
/away 取消离开设置 /away 


/part #房间名 退出信息 退出当前房间 /part #日语角 bye大家 


/partall 退出信息 退出所有房间 /partall byeall 


/quit 退出信息 退出IRC退出连接 /quit 今天实在是累了,bye 


/exit 退出信息 关闭irc并退出 /exit 睡觉觉去了 


/disconnect 退出信息 与服务器断开连接 /disconnect 我是故意断线的 


/server bj.irc.263.net 6667 更换irc服务器 /server bj.irc.263.net 6667 


/cs register #房间名字 密码 你对房间的描述 注册自己的房间 /cs register #

林桃子67的房间 123456 我是桃子67我怕谁 


/topic #房间名字 主题内容 更改房间主题 /topic #日语角 欢迎你朋友

 
/invite 他的名字 #房间名 邀请别人来房间 /invite 紫丁香花 #日语角 


/kick #房间名 他的名字 把人踢出房间 /kick #林桃子67的房间 PC100 


/mode #房间名 +/-b 他的名字 把某人禁止/解禁 /mode #林桃子67的房间 +/-b  然采


/mode #房间名 +/-o 朋友名字 给朋友加/减帽子 /mode #林桃子67的房间 +/-o  然采


/auto -r on|off|他的名字 #频道名字 自动朋友加/减帽 /auto -r [on然采 ]#林桃子67的房间 出错了 


/mode #房间名 +/-l 人数 设置限制房间人数 /mode #日语角 +/-l 100

 
/mode #房间名字 +/-n 禁不禁止外部信息 /mode #日语角 +/-n 


/mode #房间名字+/-m 限制发言仅@/+说 /mode #房间名字 +/-m 


/mode #房间名字 +/-i 设置邀请模式 /mode #日语角 +/-i 


/mode #房间名字 +/-p 是否设置私有模式 /mode #日语角 +/-p 


/mode #房间名字 +/-s 是否设置秘密模式 /mode #日语角 +/-s 


/mode #房间名字 +/-t 是否只@能改主题 /mode #日语角 +/-t 


/mode #房间名 +k 密码 给房间加密码 /mode #日语角 +k 123456 


/join #房间名 密码 进入有密码的房间 /join #日语角 123456 


/channel 调出频道模式设置 /channel 


/cs info #房间名字 查看频道注册信息 /cs info #日语角 

--------------------------------------------------------------------------------

nickserv 昵称服务

更换昵称 /nick 你要换的新名字

注册昵称 /ns register 密码 邮箱

认证昵称 /ns identify 名字密码 

这个也认证昵称 /pass 名字密码 

昵称保护 /ns set kill on/off 

昵称安全 /ns set secure on/off

昵称保密 /ns set private on/off

修改密码 /ns set password 新密码

昵称邮箱 /ns set email 你的邮箱

昵称主页 /ns set url http://52irc.org

隐藏邮件 /ns set hide emall On/off 

隐藏网络地址 /ns set hide usermask On/off 

隐藏退出信息 /ns set hide quit On/off 

杀掉盗用你名字者 /ns ghost 你的妮称 密码 

注销昵称 /ns drop 你的妮称(得先认证)


--------------------------------------------------------------------------------

chanserv 频道服务

查看房间信息 /cs info #频道名字 

注册房间 /cs register #频道名字 密码 简介

认证你的房主身份 /cs identify #频道名字 频道密码 

设置房间的主页 /cs set #频道名字 url 主页地址

设置房间的邮箱 /cs set #频道名字 email 邮件地址

设置房间的主题 /cs set #频道名字 topic 主题内容

保留房间的主题 /cs set #频道名字 keeptopic on/off

锁定房间的主题 /cs set #频道名字 topiclock on/off

设置新的房间主人 /cs set #频道名字 founder 新任房主

设置房间的新密码 /cs set #频道名字 password 频道密码

设置房间安全控制 /cs set #频道名字 secure on/off

设置房间管理员控制 /cs set #频道名字 secureops on/off

--------------------------------------------------------------------------------


memoserv 留言服务

列表所有留言 /ms list 

列表最新留言 /ms list new 

阅读最新留言 /ms read last

阅读特定留言 /ms read 留言号码

删除指定的留言 /ms del 留言号码 

删除所有的留言 /ms del all

给人发送留言 /ms send 对方妮称 留言内容 


--------------------------------------------------------------------------------


chanserv 频道服务

设置频道进入信息 /cs set #频道名字 entrymsg 所设置信息 

用服务器给客人加帽子 /cs op #频道名字 对方名字

服务器摘掉某人的帽子 /cs deop #频道名字 对方名字

让服务器为自已解ban /cs unban #频道名字 

增加一人到房踢列表/cs akick #频道名字 add 对方名字

删除一人到房踢列表/cs akick #频道名字 del 对方名字

查看房踢列表/cs akick #频道名字 list

清除房间的所有ban /cs clear #频道名字 bans

清除房间的模式设置 /cs clear #频道名字 modes

清除房间的所有帽子 /cs clear #频道名字 ops

清除房间的所有用户 /cs clear #频道名字users

注销房间 /cs drop #频道名字


--------------------------------------------------------------------------------

CTCP查询命令

查对方反映速度 /ctcp 对方名字 ping 

查对方当地时间 /ctcp 对方名字 time 

查对方软件版本 /ctcp 对方名字 version 

查对方的用户信息 /ctcp 对方名字userinfo 

查对方的用户信息 /ctcp 对方名字 clientinfo 

--------------------------------------------------------------------------------

 

IRC 入门

作者:Shane
最后修订:2010年12月25日

目录

  1. IRC 介绍
    1. 什么是 IRC
    2. IRC 服务端
    3. IRC 客户端
    4. IRC 频道
    5. IRC Services
    6. IRC 历史与现状
  2. IRC 命令
    1. 服务端命令
    2. 客户端命令
    3. Services 命令
  3. 聊天礼节
  4. IRC 与即时消息软件的区别

1. IRC 介绍

1.1 什么是 IRC

IRC 是 Internet Relay Chat 的缩写,Relay 是“中继,转发”之意,就是说,IRC 是通过网络来转发聊天内容的工具。 IRC 支持一对一的私聊,也支持多对多的群聊。IRC 采用 服务器-客户端 架构,用户需要运行一个客户端程序来进入 IRC 网络。 用户进入 IRC 是不需要注册的,只要你选择的昵称(Nick)当前没有被别人使用,你就可以进入 IRC 网络。 你退出后,你的昵称可以被别人使用。 IRC 完全是命令驱动的,服务端与服务端之间,客户端与服务端之间通过发送和接受命令来完成 IRC 的各种功能。 IRC 的协议是开放的,它不属于任何公司。IRC 网络的使用是完全免费的(尽管Windows下的客户端是收费的)。 IRC 是纯文本的通信,服务器不支持任何语音和视频功能。

1.2 IRC 服务端

一个 IRC 网络是由一个或多个服务器互相连接而成的,服务器之间的连接采用树型结构,组成 IRC 网络的骨架。 任意两个服务器之间,有且仅有一条路径。IRC 上的消息沿着这些路径传播。 客户端只需要连接到这个 IRC 网络上的任意一个服务器,就可以与这个 IRC 网络上的所有其它客户端通信了。 绝大多数 IRC 服务端程序是运行在 Unix/Linux 上的,只有少数运行在 Windows 上。 Unix/Linux 上的 IRC 服务端程序都是开源的。

1.3 IRC 客户端

参与 IRC 聊天的人必须运行一个客户端程序,连接到一个 IRC 服务器上,才能与其他用户聊天。 客户端程序向用户提供友好的界面,充当客户与 IRC 网络之间的桥梁。 Windows 下最著名的 IRC 客户端程序是 mIRC ,它已经基本成为 IRC 客户端的标准。 Linux 下常用的 IRC 客户端程序有 图形界面的 xChat 和 命令行界面的 irssi

1.4 IRC 频道

IRC 里的聊天室被称作 频道(Channel)。频道里至少有一个用户。 频道可以有一个主题,可以有管理员,可以上锁,可以隐藏。 频道不需要注册,而且是动态生成的:第一个进入频道的用户就自动创建了该频道; 当最后一个用户离开频道时,频道即被删除。

1.5 IRC Services

由于 IRC 服务器并不提供昵称和频道的注册,而有时候人们确实希望拥有一个固定的昵称,管理一个固定的频道, 怎么办呢?于是就有了 IRC Services 。Services 是拥有特殊权限的客户端,执行各种管理职能, 例如昵称的注册和注销,密码的验证,频道的注册和注销等等。 需要说明的是,Services并不负责频道的创建和删除,Services只是在频道被创建时,恢复上次保存的频道设置。

1.6 IRC 历史与现状

IRC 是一个历史悠久的老古董了。 它于1988年诞生于芬兰的 Oulu 大学,出自 Jarkko Oikarinen 之手。 其时正值国际互联网起步之际,IRC 在欧美的高校间迅速壮大,连接成一个巨大的聊天网络。 随后由于设计理念和解决方案的不同,逐渐分裂成多个 IRC 网络。 参考http://daniel.haxx.se/irchistory.html。 如今,由于各种原因,IRC 已经远不如各种即时消息类的聊天应用那么流行。有人说 IRC 正逐渐退出国际互联网的舞台。

2. IRC 命令

不同的服务端软件,不同的客户端软件,都有不同的命令。这里只介绍常用的一些命令。 客户端软件通常把以斜线“/”开头的语句当作命令处理。

2.1 服务端命令

服务端命令由 IRC 服务器负责解释和执行。以下为RFC1459所定义的命令,这些命令被所有的服务端软件所支持。

/ADMIN
查询服务器管理员信息。
/AWAY [理由]
设置/解除 离开状态。如果指定一个 [理由] 则设定离开状态;不指定理由则解除之前的离开状态。
/INFO
查阅 IRC 服务器信息。
/INVITE 昵称 #频道
邀请某人进入某频道。
/ISON 昵称
查询某人是否在线。
/JOIN #频道 [钥匙]
进入一个频道。多个频道请用逗号分隔: /join #频道1,#频道2,#频道3 。 如果频道被设置了模式k,则需要提供钥匙。
/KICK #频道 昵称 [理由]
将某人踢出某频道。执行这个命令需要频道管理员权限。
/LIST
查看频道列表。在大型的 IRC 网络上,这个命令可能会花费很长时间。
/MODE [#频道|昵称] [+|-]模式 [参数]
设置频道或个人模式。只有频道管理员才能设置频道模式;除IRC管理员外,其他人只能设置自己的模式。例如:
/MODE 你的昵称 +i
设置自己为隐藏模式。在隐藏模式下,除了与你共处同频道的人外,其他人无法用 /who /names 等命令查到你。
/MODE 你的昵称 +s
使自己能收到服务器发送的通知。
/MODE #频道 +b nick!user@host
封禁某人或地址。nick, user 和 host 中可以包含通配符 ?, * 。可以用 /userhost 命令来查看某人的 user 和 host。
/MODE #频道 +i
仅被邀请的用户才能进入频道。
/MODE #频道 +k 钥匙
给频道加锁。只有在 /join 时提供正确钥匙的用户才能进入。
/MODE #频道 +l 人数
设置频道人数上限。
/MODE #频道 +m
仅管理员和拥有模式+v的用户才能发言。
/MODE #频道 +n
不在频道内的用户无法向频道发送信息。
/MODE #频道 +o 昵称
给某人频道管理员权限。
/MODE #频道 +p
设置频道为私有模式。私有频道不会被 /list 命令列出。
/MODE #频道 +s
设置频道为秘密模式。秘密频道不会被 /list /who /whois 等命令列出。
/MODE #频道 +t
仅频道管理员才能设置主题。
/MODE #频道 +v 昵称
给某人发言权。
/NAMES #频道
列出频道内的用户。
/NICK 昵称
更改自己的昵称。
/NOTICE 对象 内容
向对方发通知。对象 可以是频道,也可以是某昵称。
/PART #频道名
离开一个频道。
/PRIVMSG 对象 内容
向对方发消息。对象 可以是频道,也可以是某昵称。 通常,你在客户端软件内输入内容并回车后即默认执行此命令。大多数客户端还提供 /msg 命令执行同样的功能。
/QUIT [原因]
退出 IRC。[原因] 可以省略。
/TIME
查阅 IRC 服务器时间。
/TOPIC #频道名 [新主题]
设置或查看频道的主题。
/USERHOST 昵称
查阅某人的 user@host 。
/VERSION
查阅 IRC 服务端软件版本
/WHO 对象
查阅某人的信息 或 查阅某频道的用户。
/WHOIS 昵称
查阅某人的详细信息。
/WHOWAS 昵称
查阅某个刚下线不久的昵称

2.2 客户端命令

不同的客户端软件有各自不同的命令。请查阅您的软件的使用说明。以下列出几个被多数客户端软件所支持的命令。

/me 动作
在当前窗口里做一个动作
/msg 对象 内容
向某频道或某人发信息。当你在频道或私聊窗口内键入内容并回车后,这是默认执行的命令。

2.3 Services 命令

不同的IRC网络有不同的 Services,有的IRC网络没有任何 Services。以下只列出常见的 ChanServ, NickServ 命令。

/msg nickserv register 密码 邮箱
/nickserv register 密码 邮箱
/ns register 密码 邮箱
注册自己的昵称。该命令有三种写法,第一种是必定支持的,第二和第三种是否支持要看 IRC 服务器的设置。 在下面的命令中,只列第一种写法。
/msg nickserv identify 密码
验证自己昵称的密码。
/msg nickserv drop
注销自己的昵称。
/msg nickserv help
查阅 NickServ 的帮助文档。
/msg chanserv register #频道 密码 描述
注册一个频道。注册前你必须先成为频道管理员。
/msg chanserv identify #频道 密码
验证频道密码。
/msg chanserv drop #频道
注销频道。
/msg chanserv help
查阅 ChanServ 的帮助文档。

3. 聊天礼节

不要AA, 不要BB, ..., 不要YY, 不要ZZ,总之不要妨碍他人。

4. IRC 与即时消息软件的区别

起初,即时消息软件使用UDP协议,只支持一对一的私聊和有限的群聊功能。IRC 使用TCP协议。 因此 IRC 类似打电话 而 即时消息软件 类似发短信。后来,即时消息软件在商业驱动下有长足的发展,功能日益丰富, 用户数量大增,各方面都远远超过了 IRC 的软件。

 

 

Freenode ChanServ Commands

 

ChanServ
Atheme IRC Services


ChanServ gives normal users the ability to maintain control of a channel, without the need of a bot. Channel takeovers are virtually impossible when a channel is registered with ChanServ. Registration is a quick and painless process. Once registered, the founder can maintain complete and total control over the channel. Please note that channels will expire if there are no eligible channel successors. Successors are primarily those who have the +R flag set on their account in the channel, although other people may be chosen depending on their access level and activity.

For more information on a command, type:

/msg ChanServ help <command> 

For a verbose listing of all commands, type:

/msg ChanServ help commands 

 

ChanServ Commands

 

HelpFlagsAccessAkick
Taxonomy    GetkeyUnbanOp|DeOp|Voice|DeVoice
Template Recover    TopicTopicprepend
RegisterDropSetQuiet
InfoInviteWhyClear
CountStatus Topicappend    Unquiet

 

HELP
Displays contextual help information.


HELP displays help information on all commands in services.

Syntax: HELP <command> [parameters]

Examples:

/msg ChanServ HELP REGISTER 

/msg ChanServ HELP SET VERBOSE 

REGISTER
Registers a channel.


REGISTER allows you to register a channel so that you have better control. Registration allows you to maintain a channel access list and other functions that are normally provided by IRC bots.

Syntax: REGISTER <#channel>

Example:

/msg ChanServ REGISTER #atheme 

FLAGS
Manipulates specific permissions on a channel.


The FLAGS command allows for the granting/removal of channel privileges on a more specific, non-generalized level. It supports both nicknames and hostmasks as targets.

When only the channel argument is given, a listing of permissions granted to users will be displayed.

Syntax: FLAGS <#channel>

Otherwise, an access entry is modified. A modification may be specified by a template name (changes the access to the template) or a flags change (starts with + or -). See the TEMPLATE help entry for more information about templates.

If you are not a founder, you may only manipulate flags you have yourself, and may not edit users that have flags you don't have. For this purpose, +v grants +V, +h grants +H, +o grants +O and +r grants +b.

If you do not have +f you may still remove your own access with -*.

Syntax: FLAGS <#channel> [nickname|hostmask template]
Syntax: FLAGS <#channel> [nickname|hostmask flag_changes]

Permissions:

    +v - Enables use of the voice/devoice commands.
    +V - Enables automatic voice.
    +o - Enables use of the op/deop commands.
    +O - Enables automatic op.
    +s - Enables use of the set command.
    +i - Enables use of the invite and getkey commands.
    +r - Enables use of the kick, ban, and kickban commands.
    +R - Enables use of the recover and clear commands.
    +f - Enables modification of channel access lists.
    +t - Enables use of the topic and topicappend commands.
    +A - Enables viewing of channel access lists.
    +F - Grants full founder access.
    +b - Enables automatic kickban.

The special permission +* adds all permissions except +b and +F.
The special permission -* removes all permissions including +b and +F.

Examples:

/msg ChanServ FLAGS #foo 
/msg ChanServ FLAGS #foo foo!*@bar.com VOP 
/msg ChanServ FLAGS #foo foo!*@bar.com -V+oO 
/msg ChanServ FLAGS #foo foo!*@bar.com -* 
/msg ChanServ FLAGS #foo foo +oOtsi 
/msg ChanServ FLAGS #foo TroubleUser!*@*.troubleisp.net +b 

DROP
Drops a channel registration.


DROP allows you to "unregister" a registered channel.

Once you DROP a channel all of the data associated with it (access lists, etc) are removed and cannot be restored.

See help on SET FOUNDER and FLAGS for transferring a channel to another user.

Syntax: DROP <#channel>

Example:

/msg ChanServ DROP #foo 

ACCESS
Manipulates channel access lists.


The ACCESS command allows displaying and changing privileges on channels.

The LIST subcommand displays a list of users and their privileges.

Syntax: ACCESS <#channel> LIST

The ADD subcommand adds a user to the access list or changes their privileges if they were already on the access list.

If the level field is specified, it specifies the privileges to grant, see the FLAGS and TEMPLATE help files. If not, the user will be given privileges appropriate for day-to-day management of the channel.

Syntax: ACCESS <#channel> ADD <nickname> [level]

The DEL subcommand removes a user from the access list.

Syntax: ACCESS <#channel> DEL <nickname>

Examples:

/msg ChanServ ACCESS #foo LIST 
/msg ChanServ ACCESS #foo ADD bar OP 
/msg ChanServ ACCESS #foo DEL bar 

See also: FLAGS, TEMPLATE

SET
Sets various control flags.


SET allows you to set various control flags for channels that change the way certain operations are performed on them.

For more specific help use /msg ChanServ HELP SET command.

The following subcommands are available:

FOUNDER
SET FOUNDER allows you to set a new founder of the channel. The new founder has to execute the same command to confirm the transfer.

Syntax: SET <#channel> FOUNDER <newnick>

If the new founder has not yet confirmed the transfer, you can cancel it by specifying your own nick as the new founder.

Syntax: SET <#channel> FOUNDER <yournick>

Example:

/msg ChanServ SET #foo FOUNDER bar 

MLOCK
MLOCK (or "mode lock") allows you to enforce a set of modes on a channel. This can prevent abuse in cases such as +kl. It can also make it harder to fight evil bots, be careful. Locked modes can be seen by anyone recreating the channel (this includes keys).

Syntax: SET <#channel> MLOCK <modes>

Examples:
(some may use modes your ircd does not support)

/msg ChanServ SET #foo MLOCK +nt-lk 
/msg ChanServ SET #foo MLOCK +inst-kl 
/msg ChanServ SET #c MLOCK +ntk c 
/msg ChanServ SET #foo MLOCK +ntcjf-kl 2:30 #overflow 
/msg ChanServ SET #overflow MLOCK +mntF-kljf 
/msg ChanServ SET #foo1 MLOCK +ntlL 40 #foo2 
/msg ChanServ SET #foo MLOCK OFF 

TOPICLOCK
SET TOPICLOCK causes ChanServ to revert topic changes by users without the +t flag. Topic changes during netsplits or services outages will always be reverted.

TOPICLOCK requires KEEPTOPIC and will automatically enable it; disabling KEEPTOPIC will disable TOPICLOCK also.

Syntax: SET <#channel> TOPICLOCK ON|OFF

Example:

/msg ChanServ SET #foo TOPICLOCK ON 

KEEPTOPIC
SET KEEPTOPIC enables restoration of the old topic after the channel has become empty. In some cases, it may revert topic changes after netsplits or services outages, so it is not recommended to turn this on if your channel tends to never empty.

Syntax: SET <#channel> KEEPTOPIC ON|OFF

Example:

/msg ChanServ SET #foo KEEPTOPIC ON 

PRIVATE
SET PRIVATE hides various information about the channel from other users.

Syntax: SET <#channel> PRIVATE ON|OFF

Example:

/msg ChanServ SET #foo PRIVATE ON 

SECURE
SET SECURE prevents anyone that's not on the channel's access lists from gaining operator or halfop status on the channel. This is useful if you're paranoid.

Syntax: SET <#channel> SECURE ON|OFF

Example:

/msg ChanServ SET #foo SECURE ON 

ENTRYMSG

SET ENTRYMSG allows you to change or set a message sent to all users joining the channel. Specify a <message> of NONE to clear the message.

Syntax: SET <#channel> ENTRYMSG <message>

Example:

/msg ChanServ SET #support ENTRYMSG Welcome to #support. Please do not paste more than 5 lines. 

EMAIL
SET EMAIL allows you to change or set the email address associated with a channel. This is shown to all users in INFO.

Syntax: SET <#channel> EMAIL <email>

Using the command in this way results in an email address being associated with the channel.

Example:

/msg ChanServ SET #chat EMAIL some@email.address 

Syntax: SET <#channel> EMAIL NONE

Using the command in this way results in an email address being removed from the channel.

Example:

/msg ChanServ SET #chat EMAIL none 

URL
SET URL allows you to change or set the URL associated with a channel. This is shown to all users joining the channel. Specify an <url> of NONE to clear the URL.

Syntax: SET <#channel> URL <url>

Example:

/msg ChanServ SET #chat URL http://slashdot.org 

GUARD
SET GUARD allows you to have ChanServ join your channel. Fantasy commands will only work if this is enabled.

Syntax: SET <#channel> GUARD ON|OFF

Example:

/msg ChanServ SET #atheme GUARD ON 

VERBOSE
SET VERBOSE ON sends a notice to the channel when someone makes changes to the access lists.

SET VERBOSE OPS sends a notice to the channel operators when someone makes changes to the access lists.

Fantasy commands are always executed as if SET VERBOSE ON is in effect.

Syntax: SET <#channel> VERBOSE ON|OPS|OFF

Example:

/msg ChanServ SET #foo VERBOSE ON 

PROPERTY
SET PROPERTY manipulates metadata associated with a channel.

To delete a metadata entry, specify the name and leave the value blank.

Syntax: SET <#channel> PROPERTY <name> [value]

Examples:

/msg ChanServ SET #atheme PROPERTY URL http://www.atheme.org/ 
/msg ChanServ SET #meat PROPERTY VEGETABLES 

AKICK
Manipulates a channel's AKICK list.


The AKICK command allows you to maintain channel ban lists. Users on the AKICK list will be automatically kickbanned when they join the channel, removing any matching ban exceptions first. Users with the +r flag are exempt.

You may also specify a hostmask (nick!user@host) for the AKICK list.

Removing an entry from the AKICK list will not remove any channel bans placed by it.

The reason is used when kicking and is visible in AKICK LIST. If the reason contains a '|' character, everything after it does not appear in kick reasons but does appear in AKICK LIST.

Syntax: AKICK <#channel> ADD|DEL|LIST <nickname|hostmask> [reason]

Examples:

/msg ChanServ AKICK #foo ADD bar you are annoying | private op info 
/msg ChanServ AKICK #foo ADD *!*foo@bar.com 
/msg ChanServ AKICK #foo DEL bar 
/msg ChanServ AKICK #foo LIST 

TAXONOMY
Displays a channel's metadata.

 

The taxonomy command lists metadata information associated with registered channels.

Example:

/msg ChanServ TAXONOMY #atheme 

INFO
Displays information on registrations.


INFO displays channel information such as registration time, flags, and other details.

Syntax: INFO <#channel>

Example:

/msg ChanServ INFO #foo 

GETKEY
Returns the key (+k) of a channel.


GETKEY returns the key (+k, password to be allowed in) of the specified channel: /join #channel key

Syntax: GETKEY <#channel>

Example:

/msg ChanServ GETKEY #foo 

INVITE
Invites you to a channel.


INVITE requests services to invite you to the specified channel. This is useful if you use the +i channel mode.

Syntax: INVITE <#channel>

Example:

/msg ChanServ INVITE #foo 

OP|DEOP|VOICE|DEVOICE
Gives/Removes channel ops/voice to/from a user.


These commands perform status mode changes on a channel.

If you perform an operation on another user, they will be notified that you did it.

If the last parameter is omitted the action is performed on the person requesting the command.

Syntax: OP|DEOP <#channel> [nickname]

Syntax: VOICE|DEVOICE <#channel> [nickname]

Examples:

/msg ChanServ OP #foo bar 
/msg ChanServ DEVOICE #foo 

WHY
Explains channel access logic.


The WHY command shows the access entries an online user matches.

Syntax: WHY <#channel> <nickname>

Example:

/msg ChanServ WHY #atheme jilles^ 

UNBAN
Unbans you on a channel.


The UNBAN command allows you to remove all bans matching you from a channel.

Syntax: UNBAN <#channel>

Example:

/msg ChanServ UNBAN #chat 

CLEAR
Channel removal toolkit.


CLEAR allows you to clear various aspects of a channel.

The following subcommands are available:

BANS
Clear bans will remove all bans found in a specific channel. If your ircd supports other lists associated with a channel (e.g. ban exceptions), you can clear these by specifying the mode letters. Specify an asterisk to clear all lists.

Syntax: CLEAR <#channel> BANS [types]

Examples:

/msg ChanServ CLEAR #support BANS 

Clears #support ban list.

/msg ChanServ CLEAR #support BANS eI 

Removes all ban and invite exceptions on #support (if your ircd supports them).

/msg ChanServ CLEAR #support BANS * 

Clears all lists of #support.

/msg ChanServ CLEAR #support BANS + 

Shows the possible letters.

USERS
Clear users will kick all users out of the channel, except you. The channel will be cycled (recreated) if you are not on it.

If a reason is specified, it will be included in the kick message.

Syntax: CLEAR <#channel> USERS [reason]

Example:

/msg ChanServ CLEAR #ChatZone USERS 

TEMPLATE
Manipulates predefined sets of flags.


The TEMPLATE command allows definition of sets of flags, simplifying the use of the FLAGS command.

Without arguments, network wide templates are shown. These include at least SOP/AOP/HOP/VOP.

Syntax: TEMPLATE

When given only the channel argument, a listing of templates for the channel will be displayed.

Syntax: TEMPLATE <#channel>

Otherwise, a template is modified. A modification may be specified by a template name (copies the template) or a flags change (starts with + or -, optionally preceded by an !). Templates cannot be the empty set (making a template empty deletes it).

If the ! form is used, all access entries which exactly match the template are changed accordingly. This is not supported if the template includes or included founder access (+F).

There is a limit on the length of all templates on a channel.

If you are not a founder, similar restrictions apply as in FLAGS.

Syntax: TEMPLATE <#channel> [template oldtemplate]
Syntax: TEMPLATE <#channel> [template flag_changes]
Syntax: TEMPLATE <#channel> [template !flag_changes]

Examples:

/msg ChanServ TEMPLATE #foo 
/msg ChanServ TEMPLATE #foo user VOP 
/msg ChanServ TEMPLATE #foo user !+A 
/msg ChanServ TEMPLATE #foo co-founder +*-OH 
/msg ChanServ TEMPLATE #foo op -*+vVhoti 
/msg ChanServ TEMPLATE #foo obsoletetemplate -* 

COUNT
Shows number of entries in access lists.


This will give a count of how many entries are in each of the channel's xOP lists and how many entries on the access list do not match a xOP value.

The second line shows how many access entries have each flag.

Syntax: COUNT <#channel>

Example:

/msg ChanServ COUNT #oscn 

 

RECOVER
Regain control of your channel.


RECOVER allows you to regain control of your channel in the event of a takeover.

More precisely, everyone will be deopped, limit and key will be cleared, all bans matching you are removed, a ban exception matching you is added (in case of bans Atheme can't see), the channel is set invite-only and moderated and you are invited.

If you are on channel, you will be opped and no ban exception will be added.

Syntax: RECOVER <#channel>

Example:

/msg ChanServ RECOVER #foo 

STATUS
Displays your status in services.


STATUS returns information about your current state. It will show information about your nickname, IRC operator, and SRA status.

If the a channel parameter is specified, your access to the given channel is returned.

Syntax: STATUS [#channel]

Example:

/msg ChanServ STATUS 

The TOPICPREPEND command allows for the addition to a topic on a channel.

Syntax: TOPICPREPEND <#channel> <topic>

Examples:

/msg ChanServ TOPICPREPEND #foo bar 
/msg ChanServ STATUS #foo 

TOPIC
Sets a topic on a channel.


The TOPIC command allows for the changing of a topic on a channel.

Syntax: TOPIC <#channel> <topic>

Example:

/msg ChanServ TOPIC #foo bar 

TOPICAPPEND
Appends a topic on a channel.


The TOPICAPPEND command allows for the addition to a topic on a channel.

Syntax: TOPICAPPEND <#channel> <topic>

Examples:

/msg ChanServ TOPICAPPEND #foo bar 

TOPICPREPEND
Prepends a topic on a channel.


The TOPICPREPEND command allows for the addition to a topic on a channel.

Syntax: TOPICPREPEND <#channel> <topic>

Example:

/msg ChanServ TOPICPREPEND #foo bar 

QUIET
Sets a quiet on a channel.


The QUIET command allows you to mute a user or hostmask in a channel. Affected users will be notified that you did it.

Syntax: QUIET <#channel> <nickname|hostmask>

Examples:

/msg ChanServ QUIET #chat AfterDeath 
/msg ChanServ QUIET #chat *!*@*.ipt.aol.com 

 

UNQUIET
Removes a quiet on a channel.


The UNQUIET command allows you to unmute a user or hostmask in a channel. If no nickname or hostmask is specified, you are unquieted.

Affected users will be notified that you did it.

Syntax: UNQUIET <#channel> [nickname|hostmask]

Examples:

/msg ChanServ UNQUIET #chat Diablo-D3 
/msg ChanServ UNQUIET #chat *!*@*.trilug.org 

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值