world buffing

Hello guys, I had to ask someone to help me out I wanted to submit a new script which casts some spells to all online players at a timed interval, for exemple each 10 minutes.

Atm Rochet gave me an exemple of it using two messages as test. What I need is to get all the online players and make the cast few spells on themself

Look how the script looks atm… http://pastebin.com/N8tGwyHN

Something like this : http://pastebin.com/mRu1bfdq

Thanks Jamma <3