so lets say that i made a function called bacon();
I want to get the code from bacon and add stuff to it, then save the function
how would i do that?
like
function bacon(){
commandtoserver('messagesent',"want bacon");
}
then get the code of bacon to add stuff to it
function bacon() {
commandtoserver('messagesent',"I think i would");
call bacon(); //or parent::bacon?
}
and the out put would be:
Player: i think i would
Player: want bacon
would i use the parent of bacon to do this?