I really appreciate managing the rules on PaperUI (http://docs.openhab.org/features/automation/ngrules.html). Simple rules works just perfect.
But I have trouble creating a rule with a ScriptCondition. I want to check if the ItemState (StringType) contains a String.
Is there any documentation how to use a ScriptCondition? How should the java-script looks like?