]> jfr.im git - irc/SurrealServices/srsv.git/commitdiff
Added SrSv/Constants.pm, which moves some constant values into
authormusashix90 <redacted>
Thu, 17 Jan 2013 00:54:35 +0000 (00:54 +0000)
committermusashix90 <redacted>
Thu, 17 Jan 2013 00:54:35 +0000 (00:54 +0000)
this particular module.

Also updated NS HELP SET to mention NOHIGHLIGHT and its
corresponding help file entry.

git-svn-id: http://svn.tabris.net/repos/srsv@3602 70d4eda1-72e9-0310-a436-91e5bd24443c

branches/mus-0.4.x-devel/SrSv/Constants.pm [new file with mode: 0644]
branches/mus-0.4.x-devel/help/nickserv/set.txt
branches/mus-0.4.x-devel/help/nickserv/set/nohighlight.txt [new file with mode: 0644]

diff --git a/branches/mus-0.4.x-devel/SrSv/Constants.pm b/branches/mus-0.4.x-devel/SrSv/Constants.pm
new file mode 100644 (file)
index 0000000..68721e9
--- /dev/null
@@ -0,0 +1,21 @@
+package SrSv::Constants;
+
+use strict;
+
+use Exporter 'import';
+BEGIN {
+       my $constants = {
+               # Wait For
+               WF_NONE         => 0,
+               WF_NICK         => 1,
+               WF_CHAN         => 2,
+               WF_ALL          => 3,
+               WF_MSG          => 4,
+               WF_MAX          => 4,
+       };
+       require constant;
+       import constant $constants;
+       our @EXPORT = keys %$constants;
+}
+
+1;
index 6b22421ddc9ad48686141f71de08f5d0bf3327ac..9a1727355dc0267c83a32db5386181e2d6d96189 100644 (file)
@@ -1,19 +1,20 @@
 %BNickServ SET%B allows you to change the various settings associated
 with your nickname.  The following settings are available:
 
-  PROTECT   Protect your nick from unauthorized use.
-  PASSWORD  Change your password.
-  EMAIL     Change your email address.
-  HIDEMAIL  Hide your email address from other users.
-  NOMEMO    Block memos sent to this nick.
-  NOACC     Prevent this nick from being added to channel access lists.
-  NEVEROP   Prevent ChanServ from automatically granting you channel
-              operator status.
-  AUTH      Prevent others from adding you to channel access lists 
-              without authorization from you.
-  VACATION  Extend the time your nick will last before expiring.
-  ROOT      Change the root nick for your nickgroup.
-  UMODE     Set user modes to be added or removed upon identifying
+  PROTECT      Protect your nick from unauthorized use.
+  PASSWORD     Change your password.
+  EMAIL        Change your email address.
+  HIDEMAIL     Hide your email address from other users.
+  NOMEMO       Block memos sent to this nick.
+  NOHIGHLIGHT  Disables alternate line highlighting from services.
+  NOACC        Prevent this nick from being added to channel access lists.
+  NEVEROP      Prevent ChanServ from automatically granting you channel
+                 operator status.
+  AUTH         Prevent others from adding you to channel access lists 
+                 without authorization from you.
+  VACATION     Extend the time your nick will last before expiring.
+  ROOT         Change the root nick for your nickgroup.
+  UMODE        Set user modes to be added or removed upon identifying
 
 Oper only flags:
   HOLD         Prevent nickname from expiring
diff --git a/branches/mus-0.4.x-devel/help/nickserv/set/nohighlight.txt b/branches/mus-0.4.x-devel/help/nickserv/set/nohighlight.txt
new file mode 100644 (file)
index 0000000..c470772
--- /dev/null
@@ -0,0 +1,5 @@
+%BNickServ SET NOHIGHLIGHT%B disables alternate line highlighting
+when you receive notices from services.
+
+Syntax: %BSET%B [%Unick%U] %BNOHIGHLIGHT%B <%UON|OFF%U>
+