Eagle07, please avoid posting ready-made codes here. Atleast this is Scripting Help section, so the people must know what they are doing. Especially here, for something that simple, you could easily explain.
However, the code shows that you have to simply use tasks to set a time for executing some action.
Example:
PHP Code:
//Doing something
set_task(60.0//....
public TaskFunction1
//Doing something 60 seconds afer the first something
set_task(120.0//.....
public TaskFunction2
//Doing something 120 seconds after the seconds something, and 180 seconds after the first something
//Etc...
__________________