Difference between revisions of "Script Function: Q5VS"

From Ultima Online: The Second Age
Jump to: navigation, search
(Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">void</span> Q5VS(<span style="color:#0000FF">obj</span> speaker) { <span style="color:#0000FF">...")
 
 
Line 4: Line 4:
 
     {
 
     {
 
       [[Script_Function:_Q4CG|<span style="color:#2B91AF">Q4CG</span>]](speaker);
 
       [[Script_Function:_Q4CG|<span style="color:#2B91AF">Q4CG</span>]](speaker);
       [[Engine Function:_barkTo|<span style="color:#FF0000;font-weight:bold">barkTo</span>]](this, speaker, <span style=<span style="color:#800000">"color:#800000"</span>><span style="color:#800000">"You own this shop, just take what you want."</span></span>);
+
       [[Engine Function:_barkTo|<span style="color:#FF0000;font-weight:bold">barkTo</span>]](this, speaker, <span style="color:#800000">"You own this shop, just take what you want."</span>);
 
       <span style="color:#0000FF">return</span> ();
 
       <span style="color:#0000FF">return</span> ();
 
     }
 
     }
     [[Engine Function:_systemMessage|<span style="color:#FF0000;font-weight:bold">systemMessage</span>]](speaker, <span style=<span style="color:#800000">"color:#800000"</span>><span style="color:#800000">"Select the item you wish to buy. "</span></span>);
+
     [[Engine Function:_systemMessage|<span style="color:#FF0000;font-weight:bold">systemMessage</span>]](speaker, <span style="color:#800000">"Select the item you wish to buy. "</span>);
 
     targetobj(speaker, this);
 
     targetobj(speaker, this);
 
     <span style="color:#0000FF">return</span> ();
 
     <span style="color:#0000FF">return</span> ();
 
   }
 
   }

Latest revision as of 03:00, 8 October 2018

 function void Q5VS(obj speaker)
 {
   if (speaker == Q4SD())
   {
     Q4CG(speaker);
     barkTo(this, speaker, "You own this shop, just take what you want.");
     return ();
   }
   systemMessage(speaker, "Select the item you wish to buy. ");
   targetobj(speaker, this);
   return ();
 }