depwl9992 / anomalyjobs

Automatically exported from code.google.com/p/anomalyjobs
0 stars 0 forks source link

Jobs Silence Options #155

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Is this a new command or change to an existing one?
New command

If a new command, write suggested syntax and describe what the command
does:
+myjob/silence <#> - Stops a player from receiving mail for a specific job by 
adding them to the SILENCE attribute on the job.
&JOBS_NOSPAM_<BUCKET> me - Stops a player from receiving mail from all jobs in 
a specific bucket.

Have you coded this?  If so, please attach a patch.
Working on it.

Original issue reported on code.google.com by kkragenb...@gmail.com on 26 Apr 2011 at 5:17

GoogleCodeExporter commented 9 years ago
Note SILENCE and NOSPAM have different meanings.  NOSPAM deals with @mail. 
SILENCE deals with broadcasts.

+myjob/nospam    
(sets/removes NOSPAM for all jobs, essentially toggling &JOBS_NOSPAM %#=1)
+myjob/nospam <# or bucket>
(switches on argument, if it matches a bucket toggles bucket's dbref/objid in 
&JOBS_NOSPAM_B. if it doesn't match a bucket, checks for job # match and 
toggles player's dbref/objid in &NOSPAM on that job)

Should have both +job and +myjob versions that do identical steps.

See +job/access and +bucket/access commands for templates to modify.

Can do  +myjob/silence as well.  For completeness why not commands for JOBSN 
and JOBS_UNTAGREAD too?

Original comment by widdis@gmail.com on 26 Apr 2011 at 6:07

GoogleCodeExporter commented 9 years ago
Implemented in r413.  OP please review the diff and confirm this meets your 
desired functionality, is documented well, and actually works as intended.

Original comment by widdis@gmail.com on 23 Nov 2011 at 4:17

GoogleCodeExporter commented 9 years ago
A few more docs in r414.

Original comment by widdis@gmail.com on 23 Nov 2011 at 4:59

GoogleCodeExporter commented 9 years ago
Tested.  Good to go.

Original comment by widdis@gmail.com on 26 Nov 2011 at 1:21