From: musashix90 Date: Thu, 17 Jan 2013 00:54:35 +0000 (+0000) Subject: Added SrSv/Constants.pm, which moves some constant values into X-Git-Url: https://jfr.im/git/irc/SurrealServices/srsv.git/commitdiff_plain/f0a5d0afa5e9be06f378e162eb66738c35ad057d Added SrSv/Constants.pm, which moves some constant values into 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 --- 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 index 00000000..68721e95 --- /dev/null +++ b/branches/mus-0.4.x-devel/SrSv/Constants.pm @@ -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; diff --git a/branches/mus-0.4.x-devel/help/nickserv/set.txt b/branches/mus-0.4.x-devel/help/nickserv/set.txt index 6b22421d..9a172735 100644 --- a/branches/mus-0.4.x-devel/help/nickserv/set.txt +++ b/branches/mus-0.4.x-devel/help/nickserv/set.txt @@ -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 index 00000000..c4707722 --- /dev/null +++ b/branches/mus-0.4.x-devel/help/nickserv/set/nohighlight.txt @@ -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> +