Script Function: Q4RO

From Ultima Online: The Second Age
Revision as of 22:24, 11 October 2018 by Grimoric (talk | contribs) (Created page with " <span style="color:#0000FF">function</span> <span style="color:#0000FF">string</span> Q4RO(<span style="color:#0000FF">obj</span> target) { <span style="color:#0000FF"...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
 function string Q4RO(obj target)
 {
   list Q5K7 = "Thou dost look like a likely sort. ", "Thou hast the look of an adventurer to thee. ", "I am in need of aid, and thou hast the look of an adventurer. ", "Mightest thou be able to help me? ", "Mightest thou be able to aid me? ", "Mightest thou be able to assist me? ", "I am in need of assistance! ", "I am in need of aid! ", "I am in need of help! ", "Dost thou suppose thou canst help me? ", "Dost thou suppose thou canst assist me? ", "Dost thou suppose thou canst aid me? ", "Couldst thou help me? ", "Couldst thou aid me? ", "Couldst thou assist me? ", "Thou seemst to be one who relishes a difficult task... ", "Surely thou wilt help me! ", "Surely thou wilt aid me! ", "Surely thou wilt assist me!", "Hmm, if thou hast a moment... ", "Couldst thou spare some of thy time? ", "If thou couldst find the time... ";
   string Q58D = Q5K7[random(0x00, (numInList(Q5K7) - 0x01))];
   if ((getNotoriety(target) > 0x64) || (getNotoriety(target) < (0x00 - 0x64)))
   {
     Q5K7 = "I have heard of thy deeds. ", "Thy name precedes thee. ", "I have heard of thee. ", "I have heard of thy deeds. ", "I recognized thy face, for oft thou art mentioned by folk. ", "I recognized thee from descriptions and tales of thy doings. ", "Thou'rt the sort of powerful person who can best help me. ", "Thou'rt well-known as the sort of person who can help me. ", "Thy deeds make thee the best to be able to aid me. ", "I hope that my poor problem is not beneath thee. ", "My small problem may be beneath thy notice, but... ", "Given thy prowess, I am sure that thou canst solve my problem. ", "Given what thou hast accomplished, I am sure that thou canst help me. ";
     string Q5DI = Q5K7[random(0x00, numInList(Q5K7) - 0x01)];
     Q58D = Q58D + Q5DI;
   }
   return (Q58D);
 }