Script: Sha teler lever 2

From Ultima Online: The Second Age
Revision as of 14:08, 5 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">inherits</span> globals; <span style="color:#0000FF">trigger</span> message(<span style="color:#800000">"allow"</span>) { <span style="c...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);
}