Core/SmartScripts: Check Conditions also for timed Events
* some cleanup work in SmartScripts.cpp

Core/SmartScripts: Some Corrections to last commit
Merge pull request #8978 from Naios/sai_timed_cond

Core/SmartScripts: Check Conditions also for timed Events