View Single Post
  #4  
Old 07-18-2013, 10:49 AM
callimuc callimuc is offline
callimuc's Avatar
Join Date: Nov 2010
Location: Germany
Posts: 1,015
callimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to beholdcallimuc is a splendid one to behold
Quote:
Originally Posted by i8bit View Post
PHP Code:
function this(){
 if (
check something){
  function 
that();
}

PHP Code:
function onHello() {
  
temp.toAvoid "somePlayer";
  if (
player.account != temp.toAvoid) {
    
sendGreeting();
  }
}

function 
sendGreeting() {
  
this.chat "HEYYY BUDDY WAZUP";
  echo(
"MY BUDDY IS HERE WOOO");

do you mean something like that? there is no need for having a function inside a function as you can always just trigger another function
__________________
MEEP!
Reply With Quote