blob: 72a32a9ca467282a2efc9082e478385bd51b465d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
--- cpi/operator.cpi.orig Wed Jun 14 10:03:51 2000
+++ cpi/operator.cpi Fri Jan 19 16:20:28 2001
@@ -3,2 +3,2 @@
-#Operator̿����������������
-# �פ�֤��褿���ǤϤ��ޤ�̿���ȿ�����ޤ���
+#Command Executer
+# This agent responds to privmsg's from the operator that start with "!" and execute the commands.
@@ -12 +12 @@
-agent = IRC::PassiveAgent::new("Operator̿��")
+agent = IRC::PassiveAgent::new("CommandExecuter")
@@ -19 +19 @@
- report("����ˤ���")
+ report("Hello, sir.")
@@ -36 +36 @@
- report("#{user}����#{str}�פ��äơ�")
+ report("#{user} commanded me \"#{str}\".")
@@ -44 +44 @@
- privmsg("��"+str, @operator.nick)
+ privmsg("!"+str, @operator.nick)
@@ -51 +51 @@
- when /\A(?:quit|���|����)\Z/
+ when /\Aquit\Z/
@@ -53 +53 @@
- when /\A(?:reboot|�Ƶ�ư)\Z/
+ when /\Areboot\Z/
@@ -55 +55 @@
- when /\A(?:�����������|�����������|listAgent)\Z/
+ when /\AlistAgent\Z/
@@ -57 +57 @@
- when /\A(?:restartAgent|����������Ȥ������ɤ�|����������ȺƵ�ư)[\s��]+(\w+)\Z/
+ when /\ArestartAgent[\s��]+(\w+)\Z/
@@ -59 +59 @@
- when /\A(?:channels|�����ͤ�|�����ͥ�)\Z/
+ when /\Achannels\Z/
@@ -61 +61 @@
- when /\A(?:invite|������)[\s��]+(\S+)\Z/
+ when /\Ainvite[\s��]+(\S+)\Z/
@@ -64 +64 @@
- report("�ۤ���")
+ report("Beg your pardon, sir?")
@@ -71 +71 @@
- report("��������")
+ report("I am leaving, sir!")
@@ -83 +83 @@
- # ����������ȡ�����
+ # List agents
@@ -85 +85 @@
- report("����������Ȱ�����")
+ report("List of agents:")
@@ -91 +91 @@
- report("(����������Ȱ��������ޤ�)")
+ report("(End of list)")
@@ -94 +94 @@
- # ����������ȡ��Ƶ�ư
+ # Restart an agent
@@ -98 +98 @@
- report("�����������[#{new_agent.nick}]��Ƶ�ư���ޤ�����")
+ report("Agent [#{new_agent.nick}] has been restarted.")
@@ -102 +102 @@
- # ��ʬ�����äƤ�������ͥ�
+ # List channels it's joining
@@ -106 +106 @@
- report("�����äƤ�������ͤ��")
+ report("I am joining the channels: ")
@@ -108 +107,0 @@
- report("���衣")
@@ -110 +109 @@
- report("���ɤΥ����ͥ�ˤ����äƤʤ���")
+ report("I am not joining any channels.")
@@ -115 +114 @@
- report(channel+"�ˤ����ޤ���")
+ report("I'm coming to "+channel)
@@ -117 +116 @@
- privmsg("����ˤ��������ޤ��ޡ�����(���ž��Ǥ�)", channel)
+ privmsg("Hello, excuse me to interrupting you. (I am in experimental service)", channel)
|