Have got a basic #close working for you.
I will look at adding the other functions (open, assign etc) when I have time and will add them to my Staff Reply mod.
For now, you can run close with the following (tested ok for me
include/class.ticket.php
diff class.ticket.orig class.ticket.php
1405a1406,1410
> //Check for actions in the subject
> if($vars && preg_match ("/#close/", $vars, $action)) {
> return $this->close();
> }
>
include/class.mailfetch.php (Assuming you already have current staff reply mod in place.)
diff class.mailfetch.pre class.mailfetch.php
417a418
> "subject" => $vars,
(Above just adds "subject" to the staffvars array to push it through with the reply to check for the #close parameter).