Req custom script for stalled tickets

Has anyone made a custom script that does the following:

Custom (on Stalled) -> notify whomever -> with template

The custom script I need is for the first action ofcourse, since there is no default condition for stalled tickets in rt 3.0.5

nb: does anyone know of a collection site for custom scripts?

Sincerily
Einar Fagertun

Einar Fagertun wrote:

Has anyone made a custom script that does the following:

Custom (on Stalled) → notify whomever → with template
Hello.
If you whant condition ‘On Stall’ then next SQL would help you:
insert into ScripConditions set Name = ‘On Stall’, Description =
‘Whenever a ticket is stalled’, ExecModule = ‘StatusChange’, Argument =
‘stalled’, ApplicableTransTypes = ‘Status’, Creator = 1, Created = now();

Best regards. Ruslan.