View Single Post
  #8  
Old 05-09-2009, 10:03 AM
[email protected] sid.gottlieb@googlemail.com is offline
Banned
Join Date: Mar 2008
Posts: 861
sid.gottlieb@googlemail.com will become famous soon enough
Might want to use save strings for the accounts, here's how

HTML Code:
function onCreated() {
  save[0] = "Sum41Freeeeek,The411";
}

function onActionGrab() {
  if (!(player.account in save[0].tokenize(","))) return;
  if (player.chat != "open") return;
  this.dontblock();
  setTimer(2);
}
function onTimeout() {
  this.blockagain();
}
//#CLIENTSIDE
function onCreated() {
  this.setshape(1, 2*16, 6*16); 
}
function onActionGrab() {
  if (!(player.account in save[0].tokenize(","))) {
    temp.timer = 0;
  } else {
    this.dontblock();
    temp.timer = 2;
  }
  setTimer(temp.timer);
}
function onTimeout() {
  this.blockagain();
}
Reply With Quote