Script Function: Q5HB

From Ultima Online: The Second Age
Jump to: navigation, search
 function int Q5HB(obj this, obj speaker, string arg)
 {
   list text;
   int Q4QI = 0x00;
   int Q618 = 0x00;
   int Q53X;
   int Q4V9;
   string Q698;
   if (0x00)
   {
     bark(this, "Parsing a command.");
   }
   split(text, arg);
   Q618 = Q4PB(text, this);
   if (Q618 == 0xFF)
   {
     if (0x00)
     {
       bark(this, "Name not found.");
     }
     return (0x00);
   }
   if (Q618 >= numInList(text))
   {
     if (0x00)
     {
       bark(this, "Name only thing found.");
     }
     return (0x00);
   }
   if (Q4SC() < 0x01)
   {
     return (0x00);
   }
   if (!getCompileFlag(0x01))
   {
     setNotoriety(this, getNotoriety(speaker));
   }
   Q698 = text[Q618];
   Q4V9 = Q4BY(Q618, text);
   if (Q4BV(this, Q698, speaker, Q4V9))
   {
     return (0x01);
   }
   if (isDead(speaker))
   {
     return (0x01);
   }
   if (0x00)
   {
     bark(this, "Passed the dead check.");
   }
   if (Q4BX(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4BU(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4BZ(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4C2(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4BT(this, Q698, speaker, Q4V9))
   {
     return (0x01);
   }
   if (Q4BS(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4BP(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4BR(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4C1(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4C0(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4C3(this, Q698, speaker))
   {
     return (0x01);
   }
   if (Q4C5(this, Q698, speaker))
   {
     return (0x01);
   }
   Q4JT(this);
   return (0x00);
 }