As you can see there are some of my openhab configs.
You can use them, change them, print out, color them ... Do whatever you want!
There you can find lots of articles. Some of them describe the functionality of these scripts.
Some item files need a rules file. So as you can see in funktionen.items there are only some items triggered. The logic was stored in a rule (funktionen.rules).