View Single Post
  #2  
Old 12-13-2011, 09:54 PM
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
You should style the code first. Can often help to find errors.

Now what you could do is (as far as I understood it correctly):
PHP Code:
function ButtonBeenPressed.onAction() {
  
DoEvent();
  
//For example: you pressed the confirmation button (you need to change the name on this event for that
}

function 
DoEvent() {
  
player.chat "Hell jea I just pressed that wonderful button.";
  
//here you can do your stuff, you want the player to do after confirming

__________________
MEEP!
Reply With Quote