Quote:
Originally Posted by Chompy
Well,
PHP Code:
function onCreated() { onTrigger(); }
function onTrigger() { // do stuff }
|
See, that confuses me, so there is no need to designate functions anymore? Or, alternatively, there is no need to set up triggers? The function itself is a trigger?
So instead of writing:
PHP Code:
function ThisStuff(){
stuff;
}
if (trigger){
ThisStuff();
}
I can just do:
PHP Code:
function onThisStuffTrigger(){
stuff;
}
and it would act the same?