Script Function: Q5JV

From Ultima Online: The Second Age
Jump to: navigation, search
 function void Q5JV(obj this)
 {
   list Q5ZN;
   obj Q48I = findClosestBBoard(getLocation(this));
   obj Q58D = createNoResObjectIn(0x0EB0, Q48I);
   loc Q5M7;
   string Q496;
   string Q636;
   list Q5JR = "Escort needed", "Guard needed", "I need an escort!", "Traveling companion?", "Seeking companion", "Now hiring", "Hiring a guard", "Hiring an escort", "Seeking escort";
   Q636 = Q5JR[random(0x00, numInList(Q5JR) - 0x01)];
   list postText = Q636;
   Q4SF(Q65M);
   list Q5Y7 = "  I can be found", getDistance(getLocation(Q48I), getLocation(this)), getDirection(getLocation(Q48I), getLocation(this)) + "", "of here. When thou dost find", "me, look at me close to accept", "the task of taking me to", Q4RI(Q4O8) + ".", "    " + getName(this);
   string blah;
   for(int Q53X = 0x00; Q53X < numInList(Q48N); Q53X++)
   {
     blah = Q48N[Q53X];
     appendToList(postText, blah);
   }
   for(Q53X = 0x00; Q53X < numInList(Q5Y7); Q53X++)
   {
     blah = Q5Y7[Q53X];
     appendToList(postText, blah);
   }
   setObjVar(Q58D, "postText", postText);
   setObjVar(this, "myBoardPost", Q58D);
   return ();
 }