Revision: 426
Author:
flee...@gmail.com
Date: Tue Apr 2 15:24:28 2013
Log: Issue 166 - automatic publishing of comments with new parameter.
Fix and Documented.
http://code.google.com/p/anomalyjobs/source/detail?r=426
Modified:
/trunk/full/jhelp.txt
/trunk/full/jobs-full.txt
=======================================
--- /trunk/full/jhelp.txt Fri Nov 25 17:21:09 2011
+++ /trunk/full/jhelp.txt Tue Apr 2 15:24:28 2013
@@ -1734,7 +1734,7 @@
Sometimes it is necessary to engage the TRIG_ADD trigger from within your
own code in order to add information to a job.
- @trigger <Job Database>/TRIG_ADD=<%%0>,<%%1>,<%%2>,<%%3>
+ @trigger <Job Database>/TRIG_ADD=<%%0>,<%%1>,<%%2>,<%%3>,<%%4>
It accepts the following arguments:
@@ -1742,6 +1742,7 @@
%%1 = Comments to add
%%2 = Player adding the comments
%%3 = Action code to run
+ %%4 = If 1, automatically publish the comment, otherwise ignored
You can pass any action code (or any three-letter code) to the trigger
that
you wish. There is no 'master list' of actions. However, unless the
action
=======================================
--- /trunk/full/jobs-full.txt Tue Apr 2 15:09:16 2013
+++ /trunk/full/jobs-full.txt Tue Apr 2 15:24:28 2013
@@ -4211,7 +4211,8 @@
&MODIFIED_BY %0=%2;
@trigger parent(%0)/HOOK_%3=%0,%2,[parent(%0)],%1;
@trigger %va/TRIG_POST=%0,%3,%2,%1;
- @trigger %va/TRIG_MAIL=%0,%3,%2,%1
+ @trigger %va/TRIG_MAIL=%0,%3,%2,%1;
+ @switch %4=1,@set %0/comment_%q0=no_inherit
-
&TRIG_APPLY [v(JOB_VA)]=