Script: Sha teler lever 2

From Ultima Online: The Second Age
Jump to: navigation, search
inherits globals;
trigger message("allow")
{
  int i = 0x00;
  if (!hasObjVar(this, "allow"))
  {
    setObjVar(this, "allow", i);
    callback(this, 0x0258, 0x25);
  }
  return (0x00);
}
trigger callback(0x25)
{
  if (hasObjVar(this, "allow"))
  {
    removeObjVar(this, "allow");
  }
  return (0x00);
}