View Single Post
  #11  
Old 08-01-2010, 05:32 PM
fowlplay4 fowlplay4 is offline
team canada
fowlplay4's Avatar
Join Date: Jul 2004
Location: Canada
Posts: 5,200
fowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond reputefowlplay4 has a reputation beyond repute
Looks nice. I'd personally attach some code like this for the full console experience.

PHP Code:
//#CLIENTSIDE

function onCreated() {
  
// Console Input Control Flag
  
this.allowconsoleinput true;
}

// Console Input
function ChatBar.onAction() {
  if (
this.on && this.allowconsoleinput) {
    
handleInput(ChatBar.text);
    
ChatBar.text "";
  }
}

function 
handleInput(input) {
  
// Console commands, functions, etc.
  // Example Commands
  
temp.tokens input.tokenize();
  switch (
temp.tokens[0]) {
    case 
"echo":
      echo(
input.substring(5));
      break;
    case 
"reconnect":
      
serverwarp(getservername());
      break;
  }

__________________
Quote:
Reply With Quote