OSDN Git Service

First version
[st-ro/stro.git] / npc / quests / partyrelay.txt
1 //===== rAthena Script ======================================= 
2 //= Party Relay Quest
3 //===== By: ================================================== 
4 //= L0ne_W0lf
5 //===== Current Version: ===================================== 
6 //= 1.2
7 //===== Compatible With: ===================================== 
8 //= rAthena Project
9 //===== Description: ========================================= 
10 //= [Official Conversion]
11 //= Party Relay Quest.
12 //===== Additional Comments: ================================= 
13 //= 1.0 First version. [L0ne_W0lf]
14 //= 1.1 Fixed a couple typos, npcs check area for PCs. [L0ne_W0lf]
15 //= 1.2 Updated RE/Pre-RE EXP. [Euphy]
16 //============================================================
17
18 payon,103,113,3 script  Ledrion#payon::RelayLedrion     109,{
19         getpartymember(getcharid(1));
20         set .@partymembercount,$@partymembercount;
21         set .@partyleader,getpartyleader(getcharid(1),2);
22         if (checkweight(907,300) == 0) {
23                 mes "^3355FFWait a minute! You're";
24                 mes "carrying too many items";
25                 mes "right now: store some of";
26                 mes "your extra things in Kafra";
27                 mes "Storage, and then come back.^000000";
28                 close;
29         }
30         if ((countitem(7731) > 0) || (countitem(7732) > 0) || (countitem(7735) > 0) || (countitem(7736) > 0) || (countitem(7739) > 0) || (countitem(7740) > 0)) {
31                 mes "[Ledrion]";
32                 mes "Hm? I'm afraid that you've";
33                 mes "misunderstood me earlier...";
34                 mes "You're not ready to see";
35                 mes "me until you bring enough";
36                 mes "of your group members with you.";
37                 close;
38         }
39         if ((countitem(7741) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
40                 mes "[Ledrion]";
41                 mes "Ah, you've brought the";
42                 mes "last ticket from Rospii.";
43                 mes "Now I'm convinced that";
44                 mes "you and your group really";
45                 mes "work well together. Good";
46                 mes "job on passing the trials!";
47                 next;
48                 mes "[Ledrion]";
49                 mes "Your group must truly";
50                 mes "understand the value of";
51                 mes "teamwork. And thanks to";
52                 mes "you, I've won the bet! Er, but";
53                 mes "what's more important is you";
54                 mes "proving my faith in you guys.";
55                 next;
56                 mes "[Ledrion]";
57                 mes "I'm really proud of";
58                 mes "you guys for your great";
59                 mes "accomplishment. Here...";
60                 mes "You deserve a real reward!";
61                 next;
62                 set .@present,rand(1,7);
63                 delitem 7741,1; //Mission_Certificate12
64                 set party_relay,0;
65                 getitem 644,6; //Gift_Box
66                 getitem 603,3; //Old_Blue_Box
67                 if (.@present == 2) {
68                         getitem 1365,1; //Sabbath
69                 }
70                 else if (.@present == 4) {
71                         getitem 1367,1; //Slaughter
72                 }
73                 else if (.@present == 6) {
74                         getitem 1527,1; //Quadrille
75                 }
76                 else {
77                         getitem 617,3; //Old_Violet_Box
78                 }
79                 callfunc "F_PartyRelay_Exp";
80                 mes "[Ledrion]";
81                 mes "Well, I hope you like it!";
82                 mes "If you can't use it, then";
83                 mes "why don't you share it with";
84                 mes "someone in your guild? Feel";
85                 mes "free to come back if you want";
86                 mes "to try my trials again, okay?";
87                 next;
88                 mes "[Ledrion]";
89                 mes "Once again, I'd like to";
90                 mes "thank you. I'm not sure";
91                 mes "if we'll ever meet again,";
92                 mes "but I'll be praying for you as";
93                 mes "you go on your adventures.";
94                 close;
95         }
96         if (countitem(7741) > 0) {
97                 mes "[Ledrion]";
98                 mes "Hm? Why aren't your";
99                 mes "comrades with you?";
100                 mes "You must bring your";
101                 mes "group members here to";
102                 mes "proceed with these trials.";
103                 close;
104         }
105         if (party_relay == 23) {
106                 mes "[Ledrion]";
107                 mes "Aren't you supposed to";
108                 mes "ask one a Swordman or";
109                 mes "Mage Class member of ";
110                 mes "your group to bring a ticket";
111                 mes "over to Gatan right now?";
112                 close;
113         }
114         if ((countitem(7737) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
115                 mes "[Ledrion]";
116                 mes "Great, you've brought";
117                 mes "me the eighth ticket from";
118                 mes "Lospii. Your group must";
119                 mes "work pretty well together,";
120                 mes "eh? It usually isn't easy to";
121                 mes "gather people like that...";
122                 next;
123                 mes "[Ledrion]";
124                 mes "Please keep up the good";
125                 mes "work until you finish all";
126                 mes "of the trials, okay? Here's";
127                 mes "a little reward for your";
128                 mes "effort thus far, and the";
129                 mes "nineth ticket for your guild.";
130                 delitem 7737,1; //Mission_Certificate8
131                 set party_relay,23;
132                 getitem 603,3; //Old_Blue_Box
133                 getitem 617,1; //Old_Violet_Box
134                 getitem 7738,1; //Mission_Certificate9
135                 callfunc "F_PartyRelay_Exp";
136                 next;
137                 mes "[Ledrion]";
138                 mes "Please give that ticket";
139                 mes "to someone in your guild";
140                 mes "that's a Swordman or Mage";
141                 mes "Class character, and tell";
142                 mes "him to deliver it to Gatan.";
143                 mes "Okay? I'll be seeing you.";
144                 close;
145         }
146         if (countitem(7737) > 0) {
147                 mes "[Ledrion]";
148                 mes "Hm? Why aren't your";
149                 mes "comrades with you?";
150                 mes "You must bring your";
151                 mes "group members here to";
152                 mes "proceed with these trials.";
153                 close;
154         }
155         if (party_relay == 12) {
156                 mes "[Ledrion]";
157                 mes "Hm? Aren't you supposed to";
158                 mes "ask a Mage Class character";
159                 mes "in your group to deliver";
160                 mes "a ticket to Gatan?";
161                 close;
162         }
163         if ((countitem(7733) > 0) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
164                 mes "[Ledrion]";
165                 mes "I see that you've brought";
166                 mes "me the fourth ticket from";
167                 mes "Lospii. Good work, good work.";
168                 mes "Please hang in there, and";
169                 mes "finish all the trials we've";
170                 mes "set before you guys, alright?";
171                 next;
172                 mes "[Ledrion]";
173                 mes "Here's a little something";
174                 mes "to reward you for your";
175                 mes "efforts for now. Now, please";
176                 mes "give this ticket to a Mage";
177                 mes "Class character, and tell";
178                 mes "him to bring it to Gatan.";
179                 delitem 7733,1; //Mission_Certificate4
180                 set party_relay,12;
181                 getitem 644,3; //Gift_Box
182                 getitem 603,1; //Old_Blue_Box
183                 getitem 7734,1; //Mission_Certificate5
184                 callfunc "F_PartyRelay_Exp";
185                 close;
186         }
187         if (countitem(7733) > 0) {
188                 mes "[Ledrion]";
189                 mes "Hm? Why aren't your";
190                 mes "comrades with you?";
191                 mes "You must bring your";
192                 mes "group members here to";
193                 mes "proceed with these trials.";
194                 close;
195         }
196         if (party_relay == 2) {
197                 mes "[Ledrion]";
198                 mes "You didn't finish what";
199                 mes "I asked you to do, did you?";
200                 mes "It's not time for you to";
201                 mes "come to me, not yet.";
202                 close;
203         }
204         if ((BaseLevel > 39) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5) && (party_relay == 1)) {
205                 mes "[Ledrion]";
206                 mes "As I mentioned earlier,";
207                 mes "I'm challenging guild";
208                 mes "parties with missions";
209                 mes "that will require ";
210                 mes "cooperation between";
211                 mes "the group members.";
212                 next;
213                 mes "[Ledrion]";
214                 mes "These challenges are";
215                 mes "something of a relay";
216                 mes "race, where we'll ask";
217                 mes "for an item to be passed";
218                 mes "to a member of a specific";
219                 mes "Class to deliver for us.";
220                 next;
221                 mes "[Ledrion]";
222                 mes "Of course, we, the";
223                 mes "administrators of this";
224                 mes "test, might add our own";
225                 mes "little challenges here and";
226                 mes "there to see just how";
227                 mes "capable your group is.";
228                 next;
229                 mes "[Ledrion]";
230                 mes "Why don't you give it";
231                 mes "a shot? You won't lose";
232                 mes "anything by trying our";
233                 mes "test. I guarantee that";
234                 mes "you'll benefit from";
235                 mes "our little exercise.";
236                 next;
237                 mes "[Ledrion]";
238                 mes "Heh! Let's start with you!";
239                 mes "Here, take this ticket, and";
240                 mes "give it to a Swordman Class";
241                 mes "member of your guild, and";
242                 mes "ask him to bring it to Gatan.";
243                 mes "The relay has started~";
244                 next;
245                 set party_relay,2;
246                 getitem 7730,1; //Mission_Certificate1
247                 mes "[Ledrion]";
248                 mes "Now, since you're the";
249                 mes "one that started the relay,";
250                 mes "you'll have to come back";
251                 mes "to me later on. Don't";
252                 mes "worry, we'll let you know";
253                 mes "once the time is right.";
254                 close;
255         }
256         if ((.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5) && (party_relay > 0)) {
257                 mes "[Ledrion]";
258                 mes "As leader of your";
259                 mes "Party, you should";
260                 mes "always think of what";
261                 mes "would be best for all";
262                 mes "of your partners.";
263                 close;
264         }
265         if ((.@partyleader != getcharid(0)) && (getcharid(2) > 0)) {
266                 mes "[Ledrion]";
267                 mes "I'm sorry, but there's";
268                 mes "nothing I can really offer";
269                 mes "you... Unless you formed";
270                 mes "a Party and became its";
271                 mes "leader, there's absolutely";
272                 mes "nothing I can do for you...";
273                 close;
274         }
275         mes "[Ledrion]";
276         mes "Ah, pleased to make your";
277         mes "acquaintance, adventurer.";
278         mes "I am Ledrion, a man of great";
279         mes "intelligence, mystery, and";
280         mes "most importantly, wealth.";
281         mes "Yes, I'm a philanthropist.";
282         next;
283         mes "[Ledrion]";
284         mes "I'm always working to make";
285         mes "a meaningful contribution";
286         mes "to all of Rune Midgard, which";
287         mes "brings me to why I am here.";
288         mes "There are many adventurers like you, but we have a problem.";
289         next;
290         mes "[Ledrion]";
291         mes "So many adventurers have";
292         mes "chosen the ways of greed,";
293         mes "and have forgotten how to";
294         mes "work well together with their";
295         mes "colleagues. Such selfishness";
296         mes "sickens me to no end! Ugh!";
297         next;
298         mes "[Ledrion]";
299         mes "I may not be an adventurer,";
300         mes "but I have the money to do";
301         mes "something. I am hosting";
302         mes "my own little challenge";
303         mes "to adventurers to encourage";
304         mes "camaraderie and teamwork.";
305         next;
306         mes "[Ledrion]";
307         mes "Please, I invite you to";
308         mes "give it a try! Allow me to";
309         mes "state some of my conditions.";
310         mes "Firstly, you must be part of";
311         mes "a group of 6 or more members,";
312         mes "such as a Party or a Guild.";
313         next;
314         mes "[Ledrion]";
315         mes "Secondly, only the leader";
316         mes "of the group can begin the";
317         mes "first part of my challenge.";
318         mes "If you are not the leader,";
319         mes "let him know that he should";
320         mes "speak to me for the challenge.";
321         next;
322         mes "[Ledrion]";
323         mes "Thirdly, you must have a";
324         mes "Swordman Class, Mage Class,";
325         mes "Acolyte Class, Archer Class,";
326         mes "Thief Class, and Merchant";
327         mes "Class character to complete";
328         mes "the challenges you'll receive.";
329         next;
330         mes "[Ledrion]";
331         mes "Transcended characters";
332         mes "are good too. Fourthly, all";
333         mes "group members must be";
334         mes "at least Base Level 40.";
335         mes "Everything else, well,";
336         mes "you'll learn along the way.";
337         next;
338         mes "[Ledrion]";
339         mes "Don't fret, I won't have you";
340         mes "jumping through hoops for";
341         mes "no reason at all. I'll provide";
342         mes "plenty of rewards as an";
343         mes "incentive for your group.";
344         mes "Would you like to participate?";
345         next;
346         switch(select("Sure!:No.")) {
347         case 1:
348                 if ((BaseLevel > 39) && (.@partyleader == getcharid(0)) && (getcharid(2) > 0) && (.@partymembercount > 5)) {
349                         mes "[Ledrion]";
350                         mes "Great! Let's see...";
351                         mes "Well, you meet all the";
352                         mes "requirements. It looks";
353                         mes "like I'll win the bet! Er, let";
354                         mes "me give you your first";
355                         mes "set of instructions.";
356                         next;
357                         set party_relay,1;
358                         mes "[Ledrion]";
359                         mes "Just--^666666*Cough!*^000000";
360                         mes "Lemme clear my";
361                         mes "throat for a second...";
362                         close;
363                 }
364                 else {
365                         mes "[Ledrion]";
366                         mes "That's great! Still,";
367                         mes "you're not ready to tackle";
368                         mes "my little challenge until";
369                         mes "you fulfill all of my";
370                         mes "conditions. Come back";
371                         mes "once you do that, alright?";
372                         close;
373                 }
374         case 2:
375                 mes "[Ledrion]";
376                 mes "Really? Trust me, this";
377                 mes "little challenge will be";
378                 mes "worthwhile for you, and it";
379                 mes "would bring a greater sense";
380                 mes "of solidarity and teamwork";
381                 mes "to Rune Midgard. It's win-win!";
382                 close;
383         }
384 }
385
386 payon,83,327,3  script  Gatan#payon::RelayGatan 86,{
387         getpartymember(getcharid(1));
388         set .@partymembercount,$@partymembercount;
389         set .@partyleader,getpartyleader(getcharid(1),2);
390         if (checkweight(907,300) == 0) {
391                 mes "^3355FFWait a minute! You're";
392                 mes "carrying too many items";
393                 mes "right now: store some of";
394                 mes "your extra things in Kafra";
395                 mes "Storage, and then come back.^000000";
396                 close;
397         }
398         if ((countitem(7732) > 0) || (countitem(7733) > 0) || (countitem(7736) > 0) || (countitem(7737) > 0) || (countitem(7740) > 0) || (countitem(7741) > 0)) {
399                 mes "[Gatan]";
400                 mes "Say, aren't you forgetting";
401                 mes "something? Try to remember...";
402                 mes "Earlier, you received some";
403                 mes "instructions, didn't you?";
404                 close;
405         }
406         set .@relaytime,gettime(DT_HOUR);
407         if (party_relay == 28) {
408                 mes "[Gatan]";
409                 mes "Say, I don't think it's";
410                 mes "your turn to meet up with";
411                 mes "me. I think you need to ask a";
412                 mes "Thief or Acolyte Class member";
413                 mes "of your group to bring the";
414                 mes "tenth ticket to Bafhail.";
415                 close;
416         }
417         if (party_relay == 27) {
418                 mes "[Gatan]";
419                 mes "Ah, very nice! Please";
420                 mes "give this ticket to a Thief";
421                 mes "or Acolyte Class member";
422                 mes "of your group, and ask him";
423                 mes "to bring it to Bafhail. Ah, and";
424                 mes "here's a little reward for you~";
425                 set party_relay,28;
426                 getitem 7739,1; //Mission_Certificate10
427                 getitem 610,2; //Leaf_Of_Yggdrasil
428                 getitem 607,2; //Yggdrasilberry
429                 callfunc "F_PartyRelay_Exp";
430                 next;
431                 mes "[Gatan]";
432                 mes "Alright, get that done.";
433                 mes "I'll see you around.";
434                 close;
435         }
436         if ((party_relay == 26) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 14) && (.@relaytime < 17)) {
437                 mes "[Gatan]";
438                 mes "Great, you gained some";
439                 mes "levels, just like I asked.";
440                 mes "Let me find your next--I swore";
441                 mes "I left it around somewhere--";
442                 mes "and I'll give you your next set";
443                 mes "of instructions. Hang on...";
444                 set party_relay,27;
445                 close;
446         }
447         else if ((party_relay == 26) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 18) && (.@relaytime < 21)) {
448                 mes "[Gatan]";
449                 mes "Great, you gained some";
450                 mes "levels, just like I asked.";
451                 mes "Let me find your next--I swore";
452                 mes "I left it around somewhere--";
453                 mes "and I'll give you your next set";
454                 mes "of instructions. Hang on...";
455                 set party_relay,27;
456                 close;
457         }
458         if (party_relay == 26) {
459                 mes "[Gatan]";
460                 mes "Your mission is to";
461                 mes "gain 3 more Base Levels.";
462                 mes "Come see me during my";
463                 mes "working hours once you";
464                 mes "accomplish that, alright?";
465                 next;
466                 mes "[Gatan]";
467                 mes "I can't tell you exactly";
468                 mes "when I work, but my work";
469                 mes "hours are in the afternoon...";
470                 mes "Pacific Standard Time, anyway.";
471                 mes "I might not be here if you";
472                 mes "come here too late, alright?";
473                 close;
474         }
475         if ((party_relay == 25) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 14) && (.@relaytime < 17)) {
476                 mes "[Gatan]";
477                 mes "Great, you gained some";
478                 mes "levels, just like I asked.";
479                 mes "Let me find your next--I swore";
480                 mes "I left it around somewhere--";
481                 mes "and I'll give you your next set";
482                 mes "of instructions. Hang on...";
483                 set party_relay,27;
484                 close;
485         }
486         else if ((party_relay == 25) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 18) && (.@relaytime < 21)) {
487                 mes "[Gatan]";
488                 mes "Great, you gained some";
489                 mes "levels, just like I asked.";
490                 mes "Let me find your next--I swore";
491                 mes "I left it around somewhere--";
492                 mes "and I'll give you your next set";
493                 mes "of instructions. Hang on...";
494                 set party_relay,27;
495                 close;
496         }
497         if (party_relay == 25) {
498                 mes "[Gatan]";
499                 mes "Your mission is to";
500                 mes "gain 2 more Base Levels.";
501                 mes "Come see me during my";
502                 mes "working hours once you";
503                 mes "accomplish that, alright?";
504                 next;
505                 mes "[Gatan]";
506                 mes "I can't tell you exactly";
507                 mes "when I work, but my work";
508                 mes "hours are in the afternoon...";
509                 mes "Pacific Standard Time, anyway.";
510                 mes "I might not be here if you";
511                 mes "come here too late, alright?";
512                 close;
513         }
514         if ((party_relay == 24) && (BaseLevel > party_relay_lv) && (.@relaytime >= 14) && (.@relaytime < 17)) {
515                 mes "[Gatan]";
516                 mes "Great, you gained a";
517                 mes "level, just like I asked.";
518                 mes "Let me find your next--I swore";
519                 mes "I left it around somewhere--";
520                 mes "and I'll give you your next set";
521                 mes "of instructions. Hang on...";
522                 set party_relay,27;
523                 close;
524         }
525         else if ((party_relay == 24) && (BaseLevel > party_relay_lv) && (.@relaytime >= 18) && (.@relaytime < 21)) {
526                 mes "[Gatan]";
527                 mes "Great, you gained a";
528                 mes "level, just like I asked.";
529                 mes "Let me find your next--I swore";
530                 mes "I left it around somewhere--";
531                 mes "and I'll give you your next set";
532                 mes "of instructions. Hang on...";
533                 set party_relay,27;
534                 close;
535         }
536         if (party_relay == 24) {
537                 mes "[Gatan]";
538                 mes "Your mission is to";
539                 mes "gain 1 more Base Level.";
540                 mes "Come see me during my";
541                 mes "working hours once you";
542                 mes "accomplish that, alright?";
543                 next;
544                 mes "[Gatan]";
545                 mes "I can't tell you exactly";
546                 mes "when I work, but my work";
547                 mes "hours are in the afternoon...";
548                 mes "Pacific Standard Time, anyway.";
549                 mes "I might not be here if you";
550                 mes "come here too late, alright?";
551                 close;
552         }
553         if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
554                 mes "[Gatan]";
555                 mes "Oh, um... Is that...?";
556                 mes "That's a ticket from";
557                 mes "Ledrion, huh? (^666666Nuts! I've";
558                 mes "got to work now?^000000) It's nice";
559                 mes "to meet you. I'm Gatan.";
560                 next;
561                 mes "[Gatan]";
562                 mes "Well, now I've got a little";
563                 mes "test for you. You ready?";
564                 mes "Your objective is to gain";
565                 mes "more levels! Let's see...";
566                 mes "What would be fair?";
567                 next;
568                 if (BaseLevel > 94) {
569                         mes "[Gatan]";
570                         mes "Actually, you're already";
571                         mes "pretty strong. I don't feel";
572                         mes "like doing much work either,";
573                         mes "so we'll just say that you";
574                         mes "finished my test, alright?";
575                         mes "Just don't tell anyone!";
576                         next;
577                         delitem 7738,1; //Mission_Certificate9
578                         set party_relay,27;
579                         mes "[Gatan]";
580                         mes "Hold on a second...";
581                         mes "I'm supposed to tell";
582                         mes "you something... Give";
583                         mes "me a minute, will you?";
584                         close;
585                 }
586                 else if (BaseLevel > 89) {
587                         mes "[Gatan]";
588                         mes "You're pretty strong,";
589                         mes "but it wouldn't kill";
590                         mes "you to gain 1 more";
591                         mes "Base Level. Go ahead";
592                         mes "and do that, alright?";
593                         next;
594                         delitem 7738,1; //Mission_Certificate9
595                         set party_relay,24;
596                         set party_relay_lv,BaseLevel;
597                         mes "[Gatan]";
598                         mes "I'll go ahead and take";
599                         mes "your ticket now. Come";
600                         mes "back after you finish what";
601                         mes "I've asked, and then we can";
602                         mes "move on to the next part.";
603                         close;
604                 }
605                 else if (BaseLevel > 79) {
606                         mes "[Gatan]";
607                         mes "You're pretty strong,";
608                         mes "but it wouldn't kill";
609                         mes "you to gain 1 more";
610                         mes "Base Level. Go ahead";
611                         mes "and do that, alright?";
612                         next;
613                         delitem 7738,1; //Mission_Certificate9
614                         set party_relay,24;
615                         set party_relay_lv,BaseLevel;
616                         mes "[Gatan]";
617                         mes "I'll go ahead and take";
618                         mes "your ticket now. Come";
619                         mes "back after you finish what";
620                         mes "I've asked, and then we can";
621                         mes "move on to the next part.";
622                         close;
623                 }
624                 else if (BaseLevel > 69) {
625                         mes "[Gatan]";
626                         mes "You're pretty strong,";
627                         mes "but it wouldn't kill";
628                         mes "you to gain 2 more";
629                         mes "Base Levels. Go ahead";
630                         mes "and do that, alright?";
631                         next;
632                         delitem 7738,1; //Mission_Certificate9
633                         set party_relay,25;
634                         set party_relay_lv,BaseLevel;
635                         mes "[Gatan]";
636                         mes "I'll go ahead and take";
637                         mes "your ticket now. Come";
638                         mes "back after you finish what";
639                         mes "I've asked, and then we can";
640                         mes "move on to the next part.";
641                         close;
642                 }
643                 else if (BaseLevel > 59) {
644                         mes "[Gatan]";
645                         mes "You're pretty strong,";
646                         mes "but it wouldn't kill";
647                         mes "you to gain 2 more";
648                         mes "Base Levels. Go ahead";
649                         mes "and do that, alright?";
650                         next;
651                         delitem 7738,1; //Mission_Certificate9
652                         set party_relay,25;
653                         set party_relay_lv,BaseLevel;
654                         mes "[Gatan]";
655                         mes "I'll go ahead and take";
656                         mes "your ticket now. Come";
657                         mes "back after you finish what";
658                         mes "I've asked, and then we can";
659                         mes "move on to the next part.";
660                         close;
661                 }
662                 else if (BaseLevel > 49) {
663                         mes "[Gatan]";
664                         mes "You know, you'd probably";
665                         mes "benefit from being just";
666                         mes "a little bit stronger. Now";
667                         mes "go out and gain 3 Base";
668                         mes "Levels for me, okay?";
669                         next;
670                         delitem 7738,1; //Mission_Certificate9
671                         set party_relay,26;
672                         set party_relay_lv,BaseLevel;
673                         mes "[Gatan]";
674                         mes "I'll go ahead and take";
675                         mes "your ticket now. Come";
676                         mes "back after you finish what";
677                         mes "I've asked, and then we can";
678                         mes "move on to the next part.";
679                         close;
680                 }
681                 else if (BaseLevel > 39) {
682                         mes "[Gatan]";
683                         mes "You know, you'd probably";
684                         mes "benefit from being just";
685                         mes "a little bit stronger. Now";
686                         mes "go out and gain 3 Base";
687                         mes "Levels for me, okay?";
688                         next;
689                         delitem 7738,1; //Mission_Certificate9
690                         set party_relay,26;
691                         set party_relay_lv,BaseLevel;
692                         mes "[Gatan]";
693                         mes "I'll go ahead and take";
694                         mes "your ticket now. Come";
695                         mes "back after you finish what";
696                         mes "I've asked, and then we can";
697                         mes "move on to the next part.";
698                         close;
699                 }
700         }
701         else if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
702                 mes "[Gatan]";
703                 mes "Oh, um... Is that...?";
704                 mes "That's a ticket from";
705                 mes "Ledrion, huh? (^666666Nuts! I've";
706                 mes "got to work now?^000000) It's nice";
707                 mes "to meet you. I'm Gatan.";
708                 next;
709                 mes "[Gatan]";
710                 mes "Well, now I've got a little";
711                 mes "test for you. You ready?";
712                 mes "Your objective is to gain";
713                 mes "more levels! Let's see...";
714                 mes "What would be fair?";
715                 next;
716                 if (BaseLevel > 94) {
717                         mes "[Gatan]";
718                         mes "Actually, you're already";
719                         mes "pretty strong. I don't feel";
720                         mes "like doing much work either,";
721                         mes "so we'll just say that you";
722                         mes "finished my test, alright?";
723                         mes "Just don't tell anyone!";
724                         next;
725                         delitem 7738,1; //Mission_Certificate9
726                         set party_relay,27;
727                         mes "[Gatan]";
728                         mes "Hold on a second...";
729                         mes "I'm supposed to tell";
730                         mes "you something... Give";
731                         mes "me a minute, will you?";
732                         close;
733                 }
734                 else if (BaseLevel > 89) {
735                         mes "[Gatan]";
736                         mes "You're pretty strong,";
737                         mes "but it wouldn't kill";
738                         mes "you to gain 1 more";
739                         mes "Base Level. Go ahead";
740                         mes "and do that, alright?";
741                         next;
742                         delitem 7738,1; //Mission_Certificate9
743                         set party_relay,24;
744                         set party_relay_lv,BaseLevel;
745                         mes "[Gatan]";
746                         mes "I'll go ahead and take";
747                         mes "your ticket now. Come";
748                         mes "back after you finish what";
749                         mes "I've asked, and then we can";
750                         mes "move on to the next part.";
751                         close;
752                 }
753                 else if (BaseLevel > 79) {
754                         mes "[Gatan]";
755                         mes "You're pretty strong,";
756                         mes "but it wouldn't kill";
757                         mes "you to gain 1 more";
758                         mes "Base Level. Go ahead";
759                         mes "and do that, alright?";
760                         next;
761                         delitem 7738,1; //Mission_Certificate9
762                         set party_relay,24;
763                         set party_relay_lv,BaseLevel;
764                         mes "[Gatan]";
765                         mes "I'll go ahead and take";
766                         mes "your ticket now. Come";
767                         mes "back after you finish what";
768                         mes "I've asked, and then we can";
769                         mes "move on to the next part.";
770                         close;
771                 }
772                 else if (BaseLevel > 69) {
773                         mes "[Gatan]";
774                         mes "You're pretty strong,";
775                         mes "but it wouldn't kill";
776                         mes "you to gain 2 more";
777                         mes "Base Levels. Go ahead";
778                         mes "and do that, alright?";
779                         next;
780                         delitem 7738,1; //Mission_Certificate9
781                         set party_relay,25;
782                         set party_relay_lv,BaseLevel;
783                         mes "[Gatan]";
784                         mes "I'll go ahead and take";
785                         mes "your ticket now. Come";
786                         mes "back after you finish what";
787                         mes "I've asked, and then we can";
788                         mes "move on to the next part.";
789                         close;
790                 }
791                 else if (BaseLevel > 59) {
792                         mes "[Gatan]";
793                         mes "You're pretty strong,";
794                         mes "but it wouldn't kill";
795                         mes "you to gain 2 more";
796                         mes "Base Levels. Go ahead";
797                         mes "and do that, alright?";
798                         next;
799                         delitem 7738,1; //Mission_Certificate9
800                         set party_relay,25;
801                         set party_relay_lv,BaseLevel;
802                         mes "[Gatan]";
803                         mes "I'll go ahead and take";
804                         mes "your ticket now. Come";
805                         mes "back after you finish what";
806                         mes "I've asked, and then we can";
807                         mes "move on to the next part.";
808                         close;
809                 }
810                 else if (BaseLevel > 49) {
811                         mes "[Gatan]";
812                         mes "You know, you'd probably";
813                         mes "benefit from being just";
814                         mes "a little bit stronger. Now";
815                         mes "go out and gain 3 Base";
816                         mes "Levels for me, okay?";
817                         next;
818                         delitem 7738,1; //Mission_Certificate9
819                         set party_relay,26;
820                         set party_relay_lv,BaseLevel;
821                         mes "[Gatan]";
822                         mes "I'll go ahead and take";
823                         mes "your ticket now. Come";
824                         mes "back after you finish what";
825                         mes "I've asked, and then we can";
826                         mes "move on to the next part.";
827                         close;
828                 }
829                 else if (BaseLevel > 39) {
830                         mes "[Gatan]";
831                         mes "You know, you'd probably";
832                         mes "benefit from being just";
833                         mes "a little bit stronger. Now";
834                         mes "go out and gain 3 Base";
835                         mes "Levels for me, okay?";
836                         next;
837                         delitem 7738,1; //Mission_Certificate9
838                         set party_relay,26;
839                         set party_relay_lv,BaseLevel;
840                         mes "[Gatan]";
841                         mes "I'll go ahead and take";
842                         mes "your ticket now. Come";
843                         mes "back after you finish what";
844                         mes "I've asked, and then we can";
845                         mes "move on to the next part.";
846                         close;
847                 }
848         }
849         if ((countitem(7738) > 0) && ((BaseClass == Job_Swordman) || (BaseClass == Job_Mage))) {
850                 mes "[Gatan]";
851                 mes "Oh, um... Is that...?";
852                 mes "That's a ticket from";
853                 mes "Ledrion, huh? It's nice";
854                 mes "to meet you. I'm Gatan.";
855                 next;
856                 mes "[Gatan]";
857                 mes "I'm not on shift right";
858                 mes "now, though: even I need";
859                 mes "to take some off time to";
860                 mes "avoid getting swamped with";
861                 mes "work. Come back to me during";
862                 mes "my work hours, alright?";
863                 next;
864                 mes "[Gatan]";
865                 mes "I can't tell you exactly";
866                 mes "when I'm working (^666666well,";
867                 mes "I just want to avoid working";
868                 mes "altogether to be honest^000000) but";
869                 mes "come back in the afternoon,";
870                 mes "Pacific Standard Time, that is.";
871                 close;
872         }
873         if (party_relay == 17) {
874                 mes "[Gatan]";
875                 mes "Say, it's not time for";
876                 mes "you to meet up with me";
877                 mes "just yet. I think you need";
878                 mes "to ask an Acolyte Class";
879                 mes "member in your group to bring";
880                 mes "your sixth ticket to Bafhail.";
881                 close;
882         }
883         if (party_relay == 16) {
884                 mes "[Gatan]";
885                 mes "Ah, very nice! Please";
886                 mes "give this ticket to an";
887                 mes "Acolyte Class member";
888                 mes "of your group, and ask him";
889                 mes "to bring it to Bafhail. Ah, and";
890                 mes "here's a little reward for you~";
891                 set party_relay,17;
892                 getitem 7735,1; //Mission_Certificate6
893                 getitem 610,2; //Leaf_Of_Yggdrasil
894                 callfunc "F_PartyRelay_Exp";
895                 next;
896                 mes "[Gatan]";
897                 mes "Alright, get that done.";
898                 mes "I'll see you around.";
899                 close;
900         }
901         if ((party_relay == 15) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 8) && (.@relaytime < 11)) {
902                 mes "[Gatan]";
903                 mes "Great, you gained some";
904                 mes "levels, just like I asked.";
905                 mes "Let me find your next--I swore";
906                 mes "I left it around somewhere--";
907                 mes "and I'll give you your next set";
908                 mes "of instructions. Hang on...";
909                 set party_relay,16;
910                 close;
911         }
912         else if ((party_relay == 15) && (BaseLevel > (party_relay_lv + 2)) && (.@relaytime >= 21) && (.@relaytime < 1)) {
913                 mes "[Gatan]";
914                 mes "Great, you gained some";
915                 mes "levels, just like I asked.";
916                 mes "Let me find your next--I swore";
917                 mes "I left it around somewhere--";
918                 mes "and I'll give you your next set";
919                 mes "of instructions. Hang on...";
920                 set party_relay,16;
921                 close;
922         }
923         if (party_relay == 15) {
924                 mes "[Gatan]";
925                 mes "Your mission is to";
926                 mes "gain 3 more Base Levels.";
927                 mes "Come see me during my";
928                 mes "working hours once you";
929                 mes "accomplish that, alright?";
930                 next;
931                 mes "[Gatan]";
932                 mes "Now I work three hours";
933                 mes "just before I have lunch,";
934                 mes "and three hours around";
935                 mes "midnight. Go ahead and";
936                 mes "look me up around those";
937                 mes "times. A bit confusing, I know~";
938                 close;
939         }
940         if ((party_relay == 14) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 8)) {
941                 mes "[Gatan]";
942                 mes "Great, you gained some";
943                 mes "levels, just like I asked.";
944                 mes "Let me find your next--I swore";
945                 mes "I left it around somewhere--";
946                 mes "and I'll give you your next set";
947                 mes "of instructions. Hang on...";
948                 set party_relay,16;
949                 close;
950         }
951         else if ((party_relay == 14) && (BaseLevel > (party_relay_lv + 1)) && (.@relaytime >= 21)) {
952                 mes "[Gatan]";
953                 mes "Great, you gained some";
954                 mes "levels, just like I asked.";
955                 mes "Let me find your next--I swore";
956                 mes "I left it around somewhere--";
957                 mes "and I'll give you your next set";
958                 mes "of instructions. Hang on...";
959                 set party_relay,16;
960                 close;
961         }
962         if (party_relay == 14) {
963                 mes "[Gatan]";
964                 mes "Your mission is to";
965                 mes "gain 2 more Base Levels.";
966                 mes "Come see me during my";
967                 mes "working hours once you";
968                 mes "accomplish that, alright?";
969                 next;
970                 mes "[Gatan]";
971                 mes "Now I work three hours";
972                 mes "just before I have lunch,";
973                 mes "and three hours around";
974                 mes "midnight. Go ahead and";
975                 mes "look me up around those";
976                 mes "times. A bit confusing, I know~";
977                 close;
978         }
979         if ((party_relay == 13) && (BaseLevel > party_relay_lv) && (.@relaytime >= 8) && (.@relaytime < 11)) {
980                 mes "[Gatan]";
981                 mes "Great, you gained some";
982                 mes "levels, just like I asked.";
983                 mes "Let me find your next--I swore";
984                 mes "I left it around somewhere--";
985                 mes "and I'll give you your next set";
986                 mes "of instructions. Hang on...";
987                 set party_relay,16;
988                 close;
989         }
990         else if ((party_relay == 13) && (BaseLevel > party_relay_lv) && (.@relaytime >= 21)) {
991                 mes "[Gatan]";
992                 mes "Great, you gained some";
993                 mes "levels, just like I asked.";
994                 mes "Let me find your next--I swore";
995                 mes "I left it around somewhere--";
996                 mes "and I'll give you your next set";
997                 mes "of instructions. Hang on...";
998                 set party_relay,16;
999                 close;
1000         }
1001         if (party_relay == 13) {
1002                 mes "[Gatan]";
1003                 mes "Your mission is to";
1004                 mes "gain 1 more Base Level.";
1005                 mes "Come see me during my";
1006                 mes "working hours once you";
1007                 mes "accomplish that, alright?";
1008                 next;
1009                 mes "[Gatan]";
1010                 mes "Now I work three hours";
1011                 mes "just before I have lunch,";
1012                 mes "and three hours around";
1013                 mes "midnight. Go ahead and";
1014                 mes "look me up around those";
1015                 mes "times. A bit confusing, I know~";
1016                 close;
1017         }
1018         if ((BaseLevel > 39) && (countitem(7734) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && (BaseClass == Job_Mage)) {
1019                 mes "[Gatan]";
1020                 mes "Oh, um... Is that...?";
1021                 mes "That's a ticket from";
1022                 mes "Ledrion, huh? (^666666Nuts! I've";
1023                 mes "got to work now?^000000) It's nice";
1024                 mes "to meet you. I'm Gatan.";
1025                 next;
1026                 mes "[Gatan]";
1027                 mes "Well, now I've got a little";
1028                 mes "test for you. You ready?";
1029                 mes "Your objective is to gain";
1030                 mes "more levels! Let's see...";
1031                 mes "What would be fair?";
1032                 next;
1033                 if (BaseLevel > 94) {
1034                         mes "[Gatan]";
1035                         mes "Actually, you're already";
1036                         mes "pretty strong. I don't feel";
1037                         mes "like doing much work either,";
1038                         mes "so we'll just say that you";
1039                         mes "finished my test, alright?";
1040                         mes "Just don't tell anyone!";
1041                         next;
1042                         delitem 7734,1; //Mission_Certificate5
1043                         set party_relay,16;
1044                         mes "[Gatan]";
1045                         mes "Hold on a second...";
1046                         mes "I'm supposed to tell";
1047                         mes "you something... Give";
1048                         mes "me a minute, will you?";
1049                         close;
1050                 }
1051                 else if (BaseLevel > 89) {
1052                         mes "[Gatan]";
1053                         mes "You're pretty strong,";
1054                         mes "but it wouldn't kill";
1055                         mes "you to gain 1 more";
1056                         mes "Base Level. Go ahead";
1057                         mes "and do that, alright?";
1058                         next;
1059                         delitem 7734,1; //Mission_Certificate5
1060                         set party_relay,13;
1061                         set party_relay_lv,BaseLevel;
1062                         mes "[Gatan]";
1063                         mes "I'll go ahead and take";
1064                         mes "your ticket now. Come";
1065                         mes "back after you finish what";
1066                         mes "I've asked, and then we can";
1067                         mes "move on to the next part.";
1068                         close;
1069                 }
1070                 else if (BaseLevel > 79) {
1071                         mes "[Gatan]";
1072                         mes "You're pretty strong,";
1073                         mes "but it wouldn't kill";
1074                         mes "you to gain 1 more";
1075                         mes "Base Level. Go ahead";
1076                         mes "and do that, alright?";
1077                         next;
1078                         delitem 7734,1; //Mission_Certificate5
1079                         set party_relay,13;
1080                         set party_relay_lv,BaseLevel;
1081                         mes "[Gatan]";
1082                         mes "I'll go ahead and take";
1083                         mes "your ticket now. Come";
1084                         mes "back after you finish what";
1085                         mes "I've asked, and then we can";
1086                         mes "move on to the next part.";
1087                         close;
1088                 }
1089                 else if (BaseLevel > 69) {
1090                         mes "[Gatan]";
1091                         mes "You're pretty strong,";
1092                         mes "but it wouldn't kill";
1093                         mes "you to gain 2 more";
1094                         mes "Base Levels. Go ahead";
1095                         mes "and do that, alright?";
1096                         next;
1097                         delitem 7734,1; //Mission_Certificate5
1098                         set party_relay,14;
1099                         set party_relay_lv,BaseLevel;
1100                         mes "[Gatan]";
1101                         mes "I'll go ahead and take";
1102                         mes "your ticket now. Come";
1103                         mes "back after you finish what";
1104                         mes "I've asked, and then we can";
1105                         mes "move on to the next part.";
1106                         close;
1107                 }
1108                 else if (BaseLevel > 59) {
1109                         mes "[Gatan]";
1110                         mes "You're pretty strong,";
1111                         mes "but it wouldn't kill";
1112                         mes "you to gain 2 more";
1113                         mes "Base Levels. Go ahead";
1114                         mes "and do that, alright?";
1115                         next;
1116                         delitem 7734,1; //Mission_Certificate5
1117                         set party_relay,14;
1118                         set party_relay_lv,BaseLevel;
1119                         mes "[Gatan]";
1120                         mes "I'll go ahead and take";
1121                         mes "your ticket now. Come";
1122                         mes "back after you finish what";
1123                         mes "I've asked, and then we can";
1124                         mes "move on to the next part.";
1125                         close;
1126                 }
1127                 else if (BaseLevel > 49) {
1128                         mes "[Gatan]";
1129                         mes "You know, you'd probably";
1130                         mes "benefit from being just";
1131                         mes "a little bit stronger. Now";
1132                         mes "go out and gain 3 Base";
1133                         mes "Levels for me, okay?";
1134                         next;
1135                         delitem 7734,1; //Mission_Certificate5
1136                         set party_relay,15;
1137                         set party_relay_lv,BaseLevel;
1138                         mes "[Gatan]";
1139                         mes "I'll go ahead and take";
1140                         mes "your ticket now. Come";
1141                         mes "back after you finish what";
1142                         mes "I've asked, and then we can";
1143                         mes "move on to the next part.";
1144                         close;
1145                 }
1146                 else if (BaseLevel > 39) {
1147                         mes "[Gatan]";
1148                         mes "You know, you'd probably";
1149                         mes "benefit from being just";
1150                         mes "a little bit stronger. Now";
1151                         mes "go out and gain 3 Base";
1152                         mes "Levels for me, okay?";
1153                         next;
1154                         delitem 7734,1; //Mission_Certificate5
1155                         set party_relay,15;
1156                         set party_relay_lv,BaseLevel;
1157                         mes "[Gatan]";
1158                         mes "I'll go ahead and take";
1159                         mes "your ticket now. Come";
1160                         mes "back after you finish what";
1161                         mes "I've asked, and then we can";
1162                         mes "move on to the next part.";
1163                         close;
1164                 }
1165         }
1166         else if ((BaseLevel > 39) && (countitem(7734) > 0) && (.@relaytime >= 21) && (BaseClass == Job_Mage)) {
1167                 mes "[Gatan]";
1168                 mes "Oh, um... Is that...?";
1169                 mes "That's a ticket from";
1170                 mes "Ledrion, huh? (^666666Nuts! I've";
1171                 mes "got to work now?^000000) It's nice";
1172                 mes "to meet you. I'm Gatan.";
1173                 next;
1174                 mes "[Gatan]";
1175                 mes "Well, now I've got a little";
1176                 mes "test for you. You ready?";
1177                 mes "Your objective is to gain";
1178                 mes "more levels! Let's see...";
1179                 mes "What would be fair?";
1180                 next;
1181                 if (BaseLevel > 94) {
1182                         mes "[Gatan]";
1183                         mes "Actually, you're already";
1184                         mes "pretty strong. I don't feel";
1185                         mes "like doing much work either,";
1186                         mes "so we'll just say that you";
1187                         mes "finished my test, alright?";
1188                         mes "Just don't tell anyone!";
1189                         next;
1190                         delitem 7734,1; //Mission_Certificate5
1191                         set party_relay,16;
1192                         mes "[Gatan]";
1193                         mes "Hold on a second...";
1194                         mes "I'm supposed to tell";
1195                         mes "you something... Give";
1196                         mes "me a minute, will you?";
1197                         close;
1198                 }
1199                 else if (BaseLevel > 89) {
1200                         mes "[Gatan]";
1201                         mes "You're pretty strong,";
1202                         mes "but it wouldn't kill";
1203                         mes "you to gain 1 more";
1204                         mes "Base Level. Go ahead";
1205                         mes "and do that, alright?";
1206                         next;
1207                         delitem 7734,1; //Mission_Certificate5
1208                         set party_relay,13;
1209                         set party_relay_lv,BaseLevel;
1210                         mes "[Gatan]";
1211                         mes "I'll go ahead and take";
1212                         mes "your ticket now. Come";
1213                         mes "back after you finish what";
1214                         mes "I've asked, and then we can";
1215                         mes "move on to the next part.";
1216                         close;
1217                 }
1218                 else if (BaseLevel > 79) {
1219                         mes "[Gatan]";
1220                         mes "You're pretty strong,";
1221                         mes "but it wouldn't kill";
1222                         mes "you to gain 1 more";
1223                         mes "Base Level. Go ahead";
1224                         mes "and do that, alright?";
1225                         next;
1226                         delitem 7734,1; //Mission_Certificate5
1227                         set party_relay,13;
1228                         set party_relay_lv,BaseLevel;
1229                         mes "[Gatan]";
1230                         mes "I'll go ahead and take";
1231                         mes "your ticket now. Come";
1232                         mes "back after you finish what";
1233                         mes "I've asked, and then we can";
1234                         mes "move on to the next part.";
1235                         close;
1236                 }
1237                 else if (BaseLevel > 69) {
1238                         mes "[Gatan]";
1239                         mes "You're pretty strong,";
1240                         mes "but it wouldn't kill";
1241                         mes "you to gain 2 more";
1242                         mes "Base Levels. Go ahead";
1243                         mes "and do that, alright?";
1244                         next;
1245                         delitem 7734,1; //Mission_Certificate5
1246                         set party_relay,14;
1247                         set party_relay_lv,BaseLevel;
1248                         mes "[Gatan]";
1249                         mes "I'll go ahead and take";
1250                         mes "your ticket now. Come";
1251                         mes "back after you finish what";
1252                         mes "I've asked, and then we can";
1253                         mes "move on to the next part.";
1254                         close;
1255                 }
1256                 else if (BaseLevel > 59) {
1257                         mes "[Gatan]";
1258                         mes "You're pretty strong,";
1259                         mes "but it wouldn't kill";
1260                         mes "you to gain 2 more";
1261                         mes "Base Levels. Go ahead";
1262                         mes "and do that, alright?";
1263                         next;
1264                         delitem 7734,1; //Mission_Certificate5
1265                         set party_relay,14;
1266                         set party_relay_lv,BaseLevel;
1267                         mes "[Gatan]";
1268                         mes "I'll go ahead and take";
1269                         mes "your ticket now. Come";
1270                         mes "back after you finish what";
1271                         mes "I've asked, and then we can";
1272                         mes "move on to the next part.";
1273                         close;
1274                 }
1275                 else if (BaseLevel > 49) {
1276                         mes "[Gatan]";
1277                         mes "You know, you'd probably";
1278                         mes "benefit from being just";
1279                         mes "a little bit stronger. Now";
1280                         mes "go out and gain 3 Base";
1281                         mes "Levels for me, okay?";
1282                         next;
1283                         delitem 7734,1; //Mission_Certificate5
1284                         set party_relay,15;
1285                         set party_relay_lv,BaseLevel;
1286                         mes "[Gatan]";
1287                         mes "I'll go ahead and take";
1288                         mes "your ticket now. Come";
1289                         mes "back after you finish what";
1290                         mes "I've asked, and then we can";
1291                         mes "move on to the next part.";
1292                         close;
1293                 }
1294                 else if (BaseLevel > 39) {
1295                         mes "[Gatan]";
1296                         mes "You know, you'd probably";
1297                         mes "benefit from being just";
1298                         mes "a little bit stronger. Now";
1299                         mes "go out and gain 3 Base";
1300                         mes "Levels for me, okay?";
1301                         next;
1302                         delitem 7734,1; //Mission_Certificate5
1303                         set party_relay,15;
1304                         set party_relay_lv,BaseLevel;
1305                         mes "[Gatan]";
1306                         mes "I'll go ahead and take";
1307                         mes "your ticket now. Come";
1308                         mes "back after you finish what";
1309                         mes "I've asked, and then we can";
1310                         mes "move on to the next part.";
1311                         close;
1312                 }
1313         }
1314         if ((BaseLevel > 39) && (countitem(7734) > 0) && (BaseClass == Job_Mage)) {
1315                 mes "[Gatan]";
1316                 mes "Oh, um... Is that...?";
1317                 mes "That's a ticket from";
1318                 mes "Ledrion, huh? It's nice";
1319                 mes "to meet you. I'm Gatan.";
1320                 next;
1321                 mes "[Gatan]";
1322                 mes "I'm not on shift right";
1323                 mes "now, though: even I need";
1324                 mes "to take some off time to";
1325                 mes "avoid getting swamped with";
1326                 mes "work. Come back to me during";
1327                 mes "my work hours, alright?";
1328                 next;
1329                 mes "[Gatan]";
1330                 mes "Now I work three hours";
1331                 mes "just before I have lunch,";
1332                 mes "and three hours around";
1333                 mes "midnight. Go ahead and";
1334                 mes "look me up around those";
1335                 mes "times. A bit confusing, I know~";
1336                 close;
1337         }
1338         if (party_relay == 6) {
1339                 mes "[Gatan]";
1340                 mes "Did you give that ticket";
1341                 mes "to the Thief Class member";
1342                 mes "of your group? ^666666*Yawn*^000000 If you";
1343                 mes "wanna finish all of these";
1344                 mes "challenges, then that's";
1345                 mes "what you gotta do~";
1346                 close;
1347         }
1348         if (party_relay == 5) {
1349                 mes "[Gatan]";
1350                 mes "Ah, very nice!";
1351                 mes "Now please give this";
1352                 mes "ticket to the Thief Class";
1353                 mes "member of the your group,";
1354                 mes "and ask him to deliver";
1355                 mes "it to Bafhail. Easy, right?";
1356                 next;
1357                 mes "[Gatan]";
1358                 mes "Here you are...";
1359                 mes "Just a little";
1360                 mes "something for";
1361                 mes "your troubles~";
1362                 set party_relay,6;
1363                 getitem 7731,1; //Mission_Certificate2
1364                 getitem 607,2; //Yggdrasilberry
1365                 callfunc "F_PartyRelay_Exp";
1366                 next;
1367                 mes "[Gatan]";
1368                 mes "Don't forget to make";
1369                 mes "sure that Bafhail gets";
1370                 mes "that ticket from a Thief";
1371                 mes "Class character in your";
1372                 mes "group. I'll see you around.";
1373                 close;
1374         }
1375         if ((party_relay == 4) && (BaseLevel > (party_relay_lv + 2)) && ((.@relaytime >= 11) && (.@relaytime < 14))) {
1376                 mes "[Gatan]";
1377                 mes "Nice work. I guess";
1378                 mes "that Ledrion really knows";
1379                 mes "good adventurers when he";
1380                 mes "sees them. Now, you mind";
1381                 mes "waiting a bit? Um, there's";
1382                 mes "something I have to give you...";
1383                 set party_relay,5;
1384                 close;
1385         }
1386         else if ((party_relay == 4) && (BaseLevel > (party_relay_lv + 2)) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
1387                 mes "[Gatan]";
1388                 mes "Nice work. I guess";
1389                 mes "that Ledrion really knows";
1390                 mes "good adventurers when he";
1391                 mes "sees them. Now, you mind";
1392                 mes "waiting a bit? Um, there's";
1393                 mes "something I have to give you...";
1394                 set party_relay,5;
1395                 close;
1396         }
1397         if (party_relay == 4) {
1398                 mes "[Gatan]";
1399                 mes "You didn't forget that";
1400                 mes "you had to gain 3 more";
1401                 mes "Base Levels, did you?";
1402                 mes "Oh, and come back during";
1403                 mes "my regular working hours.";
1404                 mes "Don't bother me when I'm off~";
1405                 next;
1406                 mes "[Gatan]";
1407                 mes "I'll tell you when I work";
1408                 mes "one more time: come from";
1409                 mes "11 AM to 2 PM, or 12 AM to";
1410                 mes "3 AM, Pacific Standard Time.";
1411                 mes "Good luck to you, alright?";
1412                 close;
1413         }
1414         if ((party_relay == 3) && (BaseLevel > (party_relay_lv + 1)) && ((.@relaytime >= 11) && (.@relaytime < 14))) {
1415                 mes "[Gatan]";
1416                 mes "Nice work. I guess";
1417                 mes "that Ledrion really knows";
1418                 mes "good adventurers when he";
1419                 mes "sees them. Now, you mind";
1420                 mes "waiting a bit? Um, there's";
1421                 mes "something I have to give you...";
1422                 set party_relay,5;
1423                 close;
1424         }
1425         else if ((party_relay == 3) && (BaseLevel > (party_relay_lv + 1)) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
1426                 mes "[Gatan]";
1427                 mes "Nice work. I guess";
1428                 mes "that Ledrion really knows";
1429                 mes "good adventurers when he";
1430                 mes "sees them. Now, you mind";
1431                 mes "waiting a bit? Um, there's";
1432                 mes "something I have to give you...";
1433                 set party_relay,5;
1434                 close;
1435         }
1436         if (party_relay == 3) {
1437                 mes "[Gatan]";
1438                 mes "You didn't forget that";
1439                 mes "you had to gain 2 more";
1440                 mes "Base Levels, did you?";
1441                 mes "Oh, and come back during";
1442                 mes "my regular working hours.";
1443                 mes "Don't bother me when I'm off~";
1444                 next;
1445                 mes "[Gatan]";
1446                 mes "I'll tell you when I work";
1447                 mes "one more time: come from";
1448                 mes "11 AM to 2 PM, or 12 AM to";
1449                 mes "3 AM, Pacific Standard Time.";
1450                 mes "Good luck to you, alright?";
1451                 close;
1452         }
1453         if ((party_relay == 99) && (BaseLevel > party_relay_lv) && ((.@relaytime >= 11) && (.@relaytime < 14))) {
1454                 mes "[Gatan]";
1455                 mes "Nice work. I guess";
1456                 mes "that Ledrion really knows";
1457                 mes "good adventurers when he";
1458                 mes "sees them. Now, you mind";
1459                 mes "waiting a bit? Um, there's";
1460                 mes "something I have to give you...";
1461                 set party_relay,5;
1462                 close;
1463         }
1464         else if ((party_relay == 99) && (BaseLevel > party_relay_lv) && ((.@relaytime >= 0) && (.@relaytime < 3))) {
1465                 mes "[Gatan]";
1466                 mes "Nice work. I guess";
1467                 mes "that Ledrion really knows";
1468                 mes "good adventurers when he";
1469                 mes "sees them. Now, you mind";
1470                 mes "waiting a bit? Um, there's";
1471                 mes "something I have to give you...";
1472                 set party_relay,5;
1473                 close;
1474         }
1475         if (party_relay == 99) {
1476                 mes "[Gatan]";
1477                 mes "You didn't forget that";
1478                 mes "you had to gain 1 more";
1479                 mes "Base Level, did you?";
1480                 mes "Oh, and come back during";
1481                 mes "my regular working hours.";
1482                 mes "Don't bother me when I'm off~";
1483                 next;
1484                 mes "[Gatan]";
1485                 mes "I'll tell you when I work";
1486                 mes "one more time: come from";
1487                 mes "11 AM to 2 PM, or 12 AM to";
1488                 mes "3 AM, Pacific Standard Time.";
1489                 mes "Good luck to you, alright?";
1490                 close;
1491         }
1492         if ((BaseLevel > 39) && (countitem(7730) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Swordman)) {
1493                 mes "[Gatan]";
1494                 mes "Oh, um... Is that...?";
1495                 mes "That's a ticket from";
1496                 mes "Ledrion, huh? (^666666Nuts! I've";
1497                 mes "got to work now?^000000) It's nice";
1498                 mes "to meet you. I'm Gatan.";
1499                 next;
1500                 mes "[Gatan]";
1501                 mes "Ledrion wanted me to give";
1502                 mes "a little test if any Swordman";
1503                 mes "Class guys brought me a ticket,";
1504                 mes "and were working with a group.";
1505                 mes "Ready? Increasing your Base";
1506                 mes "Level will be my test for you.";
1507                 next;
1508                 if (BaseLevel > 94) {
1509                         mes "[Gatan]";
1510                         mes "Actually, you're already";
1511                         mes "pretty strong. I don't feel";
1512                         mes "like doing much work either,";
1513                         mes "so we'll just say that you";
1514                         mes "finished my test, alright?";
1515                         mes "Just don't tell anyone!";
1516                         next;
1517                         delitem 7730,1; //Mission_Certificate1
1518                         set party_relay,5;
1519                         mes "[Gatan]";
1520                         mes "Hold on a second...";
1521                         mes "I'm supposed to tell";
1522                         mes "you something... Give";
1523                         mes "me a minute, will you?";
1524                         close;
1525                 }
1526                 else if (BaseLevel > 89) {
1527                         mes "[Gatan]";
1528                         mes "You're pretty strong,";
1529                         mes "but it wouldn't kill";
1530                         mes "you to gain 1 more";
1531                         mes "Base Level. Go ahead";
1532                         mes "and do that, alright?";
1533                         next;
1534                         delitem 7730,1; //Mission_Certificate1
1535                         set party_relay,99;
1536                         set party_relay_lv,BaseLevel;
1537                         mes "[Gatan]";
1538                         mes "I'll go ahead and take";
1539                         mes "your ticket now. Come";
1540                         mes "back after you finish what";
1541                         mes "I've asked, and then we can";
1542                         mes "move on to the next part.";
1543                         close;
1544                 }
1545                 else if (BaseLevel > 79) {
1546                         mes "[Gatan]";
1547                         mes "You're pretty strong,";
1548                         mes "but it wouldn't kill";
1549                         mes "you to gain 1 more";
1550                         mes "Base Level. Go ahead";
1551                         mes "and do that, alright?";
1552                         next;
1553                         delitem 7730,1; //Mission_Certificate1
1554                         set party_relay,99;
1555                         set party_relay_lv,BaseLevel;
1556                         mes "[Gatan]";
1557                         mes "I'll go ahead and take";
1558                         mes "your ticket now. Come";
1559                         mes "back after you finish what";
1560                         mes "I've asked, and then we can";
1561                         mes "move on to the next part.";
1562                         close;
1563                 }
1564                 else if (BaseLevel > 69) {
1565                         mes "[Gatan]";
1566                         mes "You're pretty strong,";
1567                         mes "but it wouldn't kill";
1568                         mes "you to gain 2 more";
1569                         mes "Base Levels. Go ahead";
1570                         mes "and do that, alright?";
1571                         next;
1572                         delitem 7730,1; //Mission_Certificate1
1573                         set party_relay,3;
1574                         set party_relay_lv,BaseLevel;
1575                         mes "[Gatan]";
1576                         mes "I'll go ahead and take";
1577                         mes "your ticket now. Come";
1578                         mes "back after you finish what";
1579                         mes "I've asked, and then we can";
1580                         mes "move on to the next part.";
1581                         close;
1582                 }
1583                 else if (BaseLevel > 59) {
1584                         mes "[Gatan]";
1585                         mes "You're pretty strong,";
1586                         mes "but it wouldn't kill";
1587                         mes "you to gain 2 more";
1588                         mes "Base Levels. Go ahead";
1589                         mes "and do that, alright?";
1590                         next;
1591                         delitem 7730,1; //Mission_Certificate1
1592                         set party_relay,3;
1593                         set party_relay_lv,BaseLevel;
1594                         mes "[Gatan]";
1595                         mes "I'll go ahead and take";
1596                         mes "your ticket now. Come";
1597                         mes "back after you finish what";
1598                         mes "I've asked, and then we can";
1599                         mes "move on to the next part.";
1600                         close;
1601                 }
1602                 else if (BaseLevel > 49) {
1603                         mes "[Gatan]";
1604                         mes "You know, you'd probably";
1605                         mes "benefit from being just";
1606                         mes "a little bit stronger. Now";
1607                         mes "go out and gain 3 Base";
1608                         mes "Levels for me, okay?";
1609                         next;
1610                         delitem 7730,1; //Mission_Certificate1
1611                         set party_relay,4;
1612                         set party_relay_lv,BaseLevel;
1613                         mes "[Gatan]";
1614                         mes "I'll go ahead and take";
1615                         mes "your ticket now. Come";
1616                         mes "back after you finish what";
1617                         mes "I've asked, and then we can";
1618                         mes "move on to the next part.";
1619                         close;
1620                 }
1621                 else if (BaseLevel > 39) {
1622                         mes "[Gatan]";
1623                         mes "You know, you'd probably";
1624                         mes "benefit from being just";
1625                         mes "a little bit stronger. Now";
1626                         mes "go out and gain 3 Base";
1627                         mes "Levels for me, okay?";
1628                         next;
1629                         delitem 7730,1; //Mission_Certificate1
1630                         set party_relay,4;
1631                         set party_relay_lv,BaseLevel;
1632                         mes "[Gatan]";
1633                         mes "I'll go ahead and take";
1634                         mes "your ticket now. Come";
1635                         mes "back after you finish what";
1636                         mes "I've asked, and then we can";
1637                         mes "move on to the next part.";
1638                         close;
1639                 }
1640         }
1641         else if ((BaseLevel > 39) && (countitem(7730) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Swordman)) {
1642                 mes "[Gatan]";
1643                 mes "Oh, um... Is that...?";
1644                 mes "That's a ticket from";
1645                 mes "Ledrion, huh? (^666666Nuts! I've";
1646                 mes "got to work now?^000000) It's nice";
1647                 mes "to meet you. I'm Gatan.";
1648                 next;
1649                 mes "[Gatan]";
1650                 mes "Ledrion wanted me to give";
1651                 mes "a little test if any Swordman";
1652                 mes "Class guys brought me a ticket,";
1653                 mes "and were working with a group.";
1654                 mes "Ready? Increasing your Base";
1655                 mes "Level will be my test for you.";
1656                 next;
1657                 if (BaseLevel > 94) {
1658                         mes "[Gatan]";
1659                         mes "Actually, you're already";
1660                         mes "pretty strong. I don't feel";
1661                         mes "like doing much work either,";
1662                         mes "so we'll just say that you";
1663                         mes "finished my test, alright?";
1664                         mes "Just don't tell anyone!";
1665                         next;
1666                         delitem 7730,1; //Mission_Certificate1
1667                         set party_relay,5;
1668                         mes "[Gatan]";
1669                         mes "Hold on a second...";
1670                         mes "I'm supposed to tell";
1671                         mes "you something... Give";
1672                         mes "me a minute, will you?";
1673                         close;
1674                 }
1675                 else if (BaseLevel > 89) {
1676                         mes "[Gatan]";
1677                         mes "You're pretty strong,";
1678                         mes "but it wouldn't kill";
1679                         mes "you to gain 1 more";
1680                         mes "Base Level. Go ahead";
1681                         mes "and do that, alright?";
1682                         next;
1683                         delitem 7730,1; //Mission_Certificate1
1684                         set party_relay,99;
1685                         set party_relay_lv,BaseLevel;
1686                         mes "[Gatan]";
1687                         mes "I'll go ahead and take";
1688                         mes "your ticket now. Come";
1689                         mes "back after you finish what";
1690                         mes "I've asked, and then we can";
1691                         mes "move on to the next part.";
1692                         close;
1693                 }
1694                 else if (BaseLevel > 79) {
1695                         mes "[Gatan]";
1696                         mes "You're pretty strong,";
1697                         mes "but it wouldn't kill";
1698                         mes "you to gain 1 more";
1699                         mes "Base Level. Go ahead";
1700                         mes "and do that, alright?";
1701                         next;
1702                         delitem 7730,1; //Mission_Certificate1
1703                         set party_relay,99;
1704                         set party_relay_lv,BaseLevel;
1705                         mes "[Gatan]";
1706                         mes "I'll go ahead and take";
1707                         mes "your ticket now. Come";
1708                         mes "back after you finish what";
1709                         mes "I've asked, and then we can";
1710                         mes "move on to the next part.";
1711                         close;
1712                 }
1713                 else if (BaseLevel > 69) {
1714                         mes "[Gatan]";
1715                         mes "You're pretty strong,";
1716                         mes "but it wouldn't kill";
1717                         mes "you to gain 2 more";
1718                         mes "Base Levels. Go ahead";
1719                         mes "and do that, alright?";
1720                         next;
1721                         delitem 7730,1; //Mission_Certificate1
1722                         set party_relay,3;
1723                         set party_relay_lv,BaseLevel;
1724                         mes "[Gatan]";
1725                         mes "I'll go ahead and take";
1726                         mes "your ticket now. Come";
1727                         mes "back after you finish what";
1728                         mes "I've asked, and then we can";
1729                         mes "move on to the next part.";
1730                         close;
1731                 }
1732                 else if (BaseLevel > 59) {
1733                         mes "[Gatan]";
1734                         mes "You're pretty strong,";
1735                         mes "but it wouldn't kill";
1736                         mes "you to gain 2 more";
1737                         mes "Base Levels. Go ahead";
1738                         mes "and do that, alright?";
1739                         next;
1740                         delitem 7730,1; //Mission_Certificate1
1741                         set party_relay,3;
1742                         set party_relay_lv,BaseLevel;
1743                         mes "[Gatan]";
1744                         mes "I'll go ahead and take";
1745                         mes "your ticket now. Come";
1746                         mes "back after you finish what";
1747                         mes "I've asked, and then we can";
1748                         mes "move on to the next part.";
1749                         close;
1750                 }
1751                 else if (BaseLevel > 49) {
1752                         mes "[Gatan]";
1753                         mes "You know, you'd probably";
1754                         mes "benefit from being just";
1755                         mes "a little bit stronger. Now";
1756                         mes "go out and gain 3 Base";
1757                         mes "Levels for me, okay?";
1758                         next;
1759                         delitem 7730,1; //Mission_Certificate1
1760                         set party_relay,4;
1761                         set party_relay_lv,BaseLevel;
1762                         mes "[Gatan]";
1763                         mes "I'll go ahead and take";
1764                         mes "your ticket now. Come";
1765                         mes "back after you finish what";
1766                         mes "I've asked, and then we can";
1767                         mes "move on to the next part.";
1768                         close;
1769                 }
1770                 else if (BaseLevel > 39) {
1771                         mes "[Gatan]";
1772                         mes "You know, you'd probably";
1773                         mes "benefit from being just";
1774                         mes "a little bit stronger. Now";
1775                         mes "go out and gain 3 Base";
1776                         mes "Levels for me, okay?";
1777                         next;
1778                         delitem 7730,1; //Mission_Certificate1
1779                         set party_relay,4;
1780                         set party_relay_lv,BaseLevel;
1781                         mes "[Gatan]";
1782                         mes "I'll keep your ticket.";
1783                         mes "When you're finished, please come back.";
1784                         close;
1785                 }
1786         }
1787         else if ((BaseLevel > 39) && (countitem(7730) > 0) && (BaseClass == Job_Swordman)) {
1788                 mes "[Gatan]";
1789                 mes "Oh, um... Is that...?";
1790                 mes "That's a ticket from";
1791                 mes "Ledrion, huh? (^666666Nuts! I've";
1792                 mes "got to work now?^000000) It's nice";
1793                 mes "to meet you. I'm Gatan.";
1794                 next;
1795                 mes "[Gatan]";
1796                 mes "Hate to tell you, but";
1797                 mes "I'm not on duty right now.";
1798                 mes "You should really come back";
1799                 mes "and talk to me during my";
1800                 mes "work hours, okay? I need";
1801                 mes "my rest from work, you know?";
1802                 next;
1803                 mes "[Gatan]";
1804                 mes "I'll tell you when I work,";
1805                 mes "just don't forget: come from";
1806                 mes "11 AM to 2 PM, or 12 AM to";
1807                 mes "3 AM, Pacific Standard Time.";
1808                 mes "Good luck to you, alright?";
1809                 close;
1810         }
1811         mes "[Gatan]";
1812         mes "Hey, nice meeting you.";
1813         mes "I'm Gatan. I'm not up to";
1814         mes "much, just helping out";
1815         mes "a friend. He's loaded, but";
1816         mes "he's also a really good guy.";
1817         mes "Working me to the bone, though.";
1818         close;
1819 }
1820
1821 payon,204,221,3 script  Bafhail#payon::RelayBafhail     731,{
1822         getpartymember(getcharid(1));
1823         set .@partymembercount,$@partymembercount;
1824         set .@partyleader,getpartyleader(getcharid(1),2);
1825         if (checkweight(907,300) == 0) {
1826                 mes "^3355FFWait a minute! You're";
1827                 mes "carrying too many items";
1828                 mes "right now: store some of";
1829                 mes "your extra things in Kafra";
1830                 mes "Storage, and then come back.^000000";
1831                 close;
1832         }
1833         if (countitem(7730) > 0) || (countitem(7733) > 0) || (countitem(7734) > 0) || (countitem(7737) > 0) || (countitem(7738) > 0) || (countitem(7741) > 0) {
1834                 mes "[Bafhail]";
1835                 mes "You must be confused...";
1836                 mes "It's not time for you";
1837                 mes "to see me just yet.";
1838                 mes "Have you tried meeting";
1839                 mes "with any of the other guys?";
1840                 close;
1841         }
1842         set .@relaytime,gettime(DT_HOUR);
1843         if (party_relay == 30) {
1844                 mes "[Bafhail]";
1845                 mes "Did you give that ticket";
1846                 mes "to an Archer or Merchant";
1847                 mes "Class member of your group?";
1848                 mes "Just a reminder in case";
1849                 mes "you've already forgotten.";
1850                 close;
1851         }
1852         if ((party_relay == 29) && (.@relaytime >= 0) && (.@relaytime < 3) && (countitem(1012) > 19) && (countitem(1048) > 19) && (countitem(7003) > 19)) {
1853                 mes "[Bafhail]";
1854                 mes "Well, it looks like you came";
1855                 mes "at the right time and brought";
1856                 mes "everything I asked. Good work.";
1857                 mes "Please take your next ticket";
1858                 mes "and this small reward for you.";
1859                 next;
1860                 delitem 1012,20; //Lizard_Scruff
1861                 delitem 1048,20; //Slender_Snake
1862                 delitem 7003,20; //Anolian_Skin
1863                 set party_relay,30;
1864                 getitem 7740,1; //Mission_Certificate11
1865                 getitem 610,2; //Leaf_Of_Yggdrasil
1866                 getitem 607,2; //Yggdrasilberry
1867                 callfunc "F_PartyRelay_Exp";
1868                 mes "[Bafhail]";
1869                 mes "Make sure that you give";
1870                 mes "that ticket to an Archer";
1871                 mes "or Merchant Class member";
1872                 mes "of your group, and have him";
1873                 mes "bring it to a boy named Lospii.";
1874                 mes "Goodbye now, and good luck~";
1875                 close;
1876         }
1877         else if ((party_relay == 29) && (.@relaytime >= 11) && (.@relaytime < 14) && (countitem(1012) > 19) && (countitem(1048) > 19) && (countitem(7003) > 19)) {
1878                 mes "[Bafhail]";
1879                 mes "Well, it looks like you came";
1880                 mes "at the right time and brought";
1881                 mes "everything I asked. Good work.";
1882                 mes "Please take your next ticket";
1883                 mes "and this small reward for you.";
1884                 next;
1885                 delitem 1012,20; //Lizard_Scruff
1886                 delitem 1048,20; //Slender_Snake
1887                 delitem 7003,20; //Anolian_Skin
1888                 set party_relay,30;
1889                 getitem 7740,1; //Mission_Certificate11
1890                 getitem 610,2; //Leaf_Of_Yggdrasil
1891                 getitem 607,2; //Yggdrasilberry
1892                 callfunc "F_PartyRelay_Exp";
1893                 mes "[Bafhail]";
1894                 mes "Make sure that you give";
1895                 mes "that ticket to an Archer";
1896                 mes "or Merchant Class member";
1897                 mes "of your group, and have him";
1898                 mes "bring it to a boy named Lospii.";
1899                 mes "Goodbye now, and good luck~";
1900                 close;
1901         }
1902         if (party_relay == 29) {
1903                 mes "[Bafhail]";
1904                 mes "My mission for you is";
1905                 mes "to bring me some items";
1906                 mes "at the right time. I'll only";
1907                 mes "accept your items for 3 hours";
1908                 mes "once the day starts, and for 3";
1909                 mes "hours in the middle of the day.";
1910                 next;
1911                 mes "[Bafhail]";
1912                 mes "I need";
1913                 mes "^4D4DFF20 Frills^000000,";
1914                 mes "^4D4DFF20 Anolian Skins^000000, and";
1915                 mes "^4D4DFF20 Horrendous Hairs^000000.";
1916                 mes "Don't forget now, alright?";
1917                 close;
1918         }
1919         if ((countitem(7739) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
1920                 mes "[Bafhail]";
1921                 mes "Oh, isn't that ticket...?";
1922                 mes "Ah, good, good. Judging";
1923                 mes "from your Job, Gatan must";
1924                 mes "have sent you, right? Nice";
1925                 mes "to meet you, I'm Bafhail~";
1926                 mes "Now, let's get to business.";
1927                 next;
1928                 mes "[Bafhail]";
1929                 mes "My mission is";
1930                 mes "for you to collect";
1931                 mes "^4D4DFF20 Frills^000000,";
1932                 mes "^4D4DFF20 Anolian Skins^000000, and";
1933                 mes "^4D4DFF20 Horrendous Hairs^000000.";
1934                 next;
1935                 delitem 7739,1; //Mission_Certificate10
1936                 set party_relay,29;
1937                 mes "[Bafhail]";
1938                 mes "Understood?";
1939                 mes "Alright then, if you'll";
1940                 mes "just hand me your ticket,";
1941                 mes "you can start gathering";
1942                 mes "those items I listed.";
1943                 mes "I'll see you later~";
1944                 close;
1945         }
1946         else if ((countitem(7739) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
1947                 mes "[Bafhail]";
1948                 mes "Oh, isn't that ticket...?";
1949                 mes "Ah, good, good. Judging";
1950                 mes "from your Job, Gatan must";
1951                 mes "have sent you, right? Nice";
1952                 mes "to meet you, I'm Bafhail~";
1953                 mes "Now, let's get to business.";
1954                 next;
1955                 mes "[Bafhail]";
1956                 mes "My mission is";
1957                 mes "for you to collect";
1958                 mes "^4D4DFF20 Frills^000000,";
1959                 mes "^4D4DFF20 Anolian Skins^000000, and";
1960                 mes "^4D4DFF20 Horrendous Hairs^000000.";
1961                 next;
1962                 delitem 7739,1; //Mission_Certificate10
1963                 set party_relay,29;
1964                 mes "[Bafhail]";
1965                 mes "Understood?";
1966                 mes "Understood?";
1967                 mes "Alright then, if you'll";
1968                 mes "just hand me your ticket,";
1969                 mes "you can start gathering";
1970                 mes "those items I listed.";
1971                 mes "I'll see you later~";
1972                 close;
1973         }
1974         if ((countitem(7739) > 0) && ((BaseClass == Job_Thief) || (BaseClass == Job_Acolyte))) {
1975                 mes "[Bafhail]";
1976                 mes "Oh, isn't that ticket...?";
1977                 mes "Ah, good, good. Judging";
1978                 mes "from your Job, Gatan must";
1979                 mes "have sent you, right? Nice";
1980                 mes "to meet you, I'm Bafhail~";
1981                 next;
1982                 mes "[Bafhail]";
1983                 mes "Would you mind coming ";
1984                 mes "back to me later? Now";
1985                 mes "isn't the right time to talk";
1986                 mes "to me. I'm available for 3";
1987                 mes "hours at the start of the day,";
1988                 mes "and 3 hours in midday.";
1989                 close;
1990         }
1991         if (party_relay == 20) {
1992                 mes "[Bafhail]";
1993                 mes "Did you give that ticket";
1994                 mes "to an Archer or Merchant";
1995                 mes "Class member of your group?";
1996                 mes "Just a reminder in case";
1997                 mes "you've already forgotten.";
1998                 close;
1999         }
2000         if ((party_relay == 19) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(1015) > 9) && (countitem(7172) > 9) && (countitem(7155) > 9)) {
2001                 mes "[Bafhail]";
2002                 mes "Well, it looks like you came";
2003                 mes "at the right time and brought";
2004                 mes "everything I asked. Good work.";
2005                 mes "Please take your next ticket";
2006                 mes "and this small reward for you.";
2007                 next;
2008                 delitem 1015,10; //Thin_N'_Long_Tongue
2009                 delitem 7172,10; //Leopard_Talon
2010                 delitem 7155,10; //Poison_Toad's_Skin
2011                 set party_relay,20;
2012                 getitem 7736,1; //Mission_Certificate7
2013                 getitem 610,2; //Leaf_Of_Yggdrasil
2014                 callfunc "F_PartyRelay_Exp";
2015                 mes "[Bafhail]";
2016                 mes "Do me a favor and make";
2017                 mes "sure that the Merchant";
2018                 mes "Class character in your";
2019                 mes "group delivers that ticket";
2020                 mes "to Lospii. Alright, I guess";
2021                 mes "I'll see you later, then.";
2022                 close;
2023         }
2024         else if ((party_relay == 19) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(1015) > 9) && (countitem(7172) > 9) && (countitem(7155) > 9)) {
2025                 mes "[Bafhail]";
2026                 mes "Well, it looks like you came";
2027                 mes "at the right time and brought";
2028                 mes "everything I asked. Good work.";
2029                 mes "Please take your next ticket";
2030                 mes "and this small reward for you.";
2031                 next;
2032                 delitem 1015,10; //Thin_N'_Long_Tongue
2033                 delitem 7172,10; //Leopard_Talon
2034                 delitem 7155,10; //Poison_Toad's_Skin
2035                 set party_relay,20;
2036                 getitem 7736,1; //Mission_Certificate7
2037                 getitem 610,2; //Leaf_Of_Yggdrasil
2038                 callfunc "F_PartyRelay_Exp";
2039                 mes "[Bafhail]";
2040                 mes "Do me a favor and make";
2041                 mes "sure that the Merchant";
2042                 mes "Class character in your";
2043                 mes "group delivers that ticket";
2044                 mes "to Lospii. Alright, I guess";
2045                 mes "I'll see you later, then.";
2046                 close;
2047         }
2048         if (party_relay == 19) {
2049                 mes "[Bafhail]";
2050                 mes "Remember to bring me";
2051                 mes "the items I requested";
2052                 mes "at the right time, during";
2053                 mes "the 3 hours after noon or";
2054                 mes "3 hours in the early evening.";
2055                 mes "Now, I want you to bring...";
2056                 next;
2057                 mes "[Bafhail]";
2058                 mes "^4D4DFF10 Tongues^000000,";
2059                 mes "^4D4DFF10 Leopard Claws^000000, and";
2060                 mes "^4D4DFF10 Poisonous Toad Skins^000000.";
2061                 mes "I'll be waiting for you here";
2062                 mes "and will accept those items";
2063                 mes "when the time is right.";
2064                 close;
2065         }
2066         if ((party_relay == 18) && (.@relaytime >= 14) && (.@relaytime < 17) && (countitem(7157) > 9) && (countitem(1021) > 9) && (countitem(7101) >9)) {
2067                 mes "[Bafhail]";
2068                 mes "Well, it looks like you came";
2069                 mes "at the right time and brought";
2070                 mes "everything I asked. Good work.";
2071                 mes "Please take your next ticket";
2072                 mes "and this small reward for you.";
2073                 next;
2074                 delitem 7157,10; //Black_Mask
2075                 delitem 1021,10; //Dokkaebi_Horn
2076                 delitem 7101,10; //Peco_Wing_Feather
2077                 set party_relay,20;
2078                 getitem 7736,1; //Mission_Certificate7
2079                 getitem 610,2; //Leaf_Of_Yggdrasil
2080                 callfunc "F_PartyRelay_Exp";
2081                 mes "[Bafhail]";
2082                 mes "Do me a favor and make";
2083                 mes "sure that the Merchant";
2084                 mes "Class character in your";
2085                 mes "group delivers that ticket";
2086                 mes "to Lospii. Alright, I guess";
2087                 mes "I'll see you later, then.";
2088                 close;
2089         }
2090         else if ((party_relay == 18) && (.@relaytime >= 18) && (.@relaytime < 21) && (countitem(7157) > 9) && (countitem(1021) > 9) && (countitem(7101) >9)) {
2091                 mes "[Bafhail]";
2092                 mes "Well, it looks like you came";
2093                 mes "at the right time and brought";
2094                 mes "everything I asked. Good work.";
2095                 mes "Please take your next ticket";
2096                 mes "and this small reward for you.";
2097                 next;
2098                 delitem 7157,10; //Black_Mask
2099                 delitem 1021,10; //Dokkaebi_Horn
2100                 delitem 7101,10; //Peco_Wing_Feather
2101                 set party_relay,20;
2102                 getitem 7736,1; //Mission_Certificate7
2103                 getitem 610,2; //Leaf_Of_Yggdrasil
2104                 callfunc "F_PartyRelay_Exp";
2105                 mes "[Bafhail]";
2106                 mes "Do me a favor and make";
2107                 mes "sure that the Merchant";
2108                 mes "Class character in your";
2109                 mes "group delivers that ticket";
2110                 mes "to Lospii. Alright, I guess";
2111                 mes "I'll see you later, then.";
2112                 close;
2113         }
2114         if (party_relay == 18) {
2115                 mes "[Bafhail]";
2116                 mes "Remember that your";
2117                 mes "mission from me is";
2118                 mes "to collect some items,";
2119                 mes "and to bring them to";
2120                 mes "me at the right time.";
2121                 next;
2122                 mes "[Bafhail]";
2123                 mes "I'll only accept your";
2124                 mes "items for 3 hours after";
2125                 mes "the day starts, and for";
2126                 mes "3 hours during midday.";
2127                 mes "These are the items";
2128                 mes "that I want you to bring...";
2129                 next;
2130                 mes "[Bafhail]";
2131                 mes "^4D4DFF10 Dark Masks^000000,";
2132                 mes "^4D4DFF10 Dokebi Horns^000000, and";
2133                 mes "^4D4DFF10 PecoPeco Feathers^000000.";
2134                 mes "I'll be here waiting for";
2135                 mes "you during the hours";
2136                 mes "I just described, okay?";
2137                 close;
2138         }
2139         if ((countitem(7735) > 0) && (.@relaytime >= 14) && (.@relaytime < 17) && (BaseClass == Job_Acolyte)) {
2140                 mes "[Bafhail]";
2141                 mes "Oh, isn't that ticket...?";
2142                 mes "Ah, good, good. Judging";
2143                 mes "from your Job, Gatan must";
2144                 mes "have sent you, right? Nice";
2145                 mes "to meet you, I'm Bafhail~";
2146                 next;
2147                 mes "[Bafhail]";
2148                 mes "Alright, let's get down";
2149                 mes "to what you came for.";
2150                 mes "My mission is for you to";
2151                 mes "collect some items, and";
2152                 mes "for you to bring them at";
2153                 mes "the right time. Bring me...";
2154                 next;
2155                 mes "[Bafhail]";
2156                 mes "^4D4DFF10 Dark Masks^000000,";
2157                 mes "^4D4DFF10 Dokebi Horns^000000, and";
2158                 mes "^4D4DFF10 PecoPeco Feathers^000000.";
2159                 next;
2160                 delitem 7735,1; //Mission_Certificate6
2161                 set party_relay,18;
2162                 mes "[Bafhail]";
2163                 mes "Understood?";
2164                 mes "Alright then, if you'll";
2165                 mes "just hand me your ticket,";
2166                 mes "you can start gathering";
2167                 mes "those items I listed.";
2168                 mes "I'll see you later~";
2169                 close;
2170         }
2171         else if ((countitem(7735) > 0) && (.@relaytime >= 18) && (.@relaytime < 21) && (BaseClass == Job_Acolyte)) {
2172                 mes "[Bafhail]";
2173                 mes "Oh, isn't that ticket...?";
2174                 mes "Ah, good, good. Judging";
2175                 mes "from your Job, Gatan must";
2176                 mes "have sent you, right? Nice";
2177                 mes "to meet you, I'm Bafhail~";
2178                 next;
2179                 mes "[Bafhail]";
2180                 mes "Alright, let's get down";
2181                 mes "to what you came for.";
2182                 mes "My mission is for you to";
2183                 mes "collect some items, and";
2184                 mes "for you to bring them at";
2185                 mes "the right time. Bring me...";
2186                 next;
2187                 mes "[Bafhail]";
2188                 mes "^4D4DFF10 Tongues^000000,";
2189                 mes "^4D4DFF10 Leopard Claws^000000, and";
2190                 mes "^4D4DFF10 Poisonous Toad Skins^000000.";
2191                 next;
2192                 delitem 7735,1; //Mission_Certificate6
2193                 set party_relay,19;
2194                 mes "[Bafhail]";
2195                 mes "Understood?";
2196                 mes "Alright then, if you'll";
2197                 mes "just hand me your ticket,";
2198                 mes "you can start gathering";
2199                 mes "those items I listed.";
2200                 mes "I'll see you later~";
2201                 close;
2202         }
2203         if ((countitem(7735) > 0) && (BaseClass == Job_Acolyte)) {
2204                 mes "[Bafhail]";
2205                 mes "Oh, isn't that ticket...?";
2206                 mes "Ah, good, good. Judging";
2207                 mes "from your Job, Gatan must";
2208                 mes "have sent you, right? Nice";
2209                 mes "to meet you, I'm Bafhail~";
2210                 next;
2211                 mes "[Bafhail]";
2212                 mes "Would you mind coming ";
2213                 mes "back to me later? Now";
2214                 mes "isn't the right time to talk";
2215                 mes "to me. I'm available for 3";
2216                 mes "hours at the start of the day,";
2217                 mes "and 3 hours in midday.";
2218                 close;
2219         }
2220         if (party_relay == 9) {
2221                 mes "[Bafhail]";
2222                 mes "Oh, did you already";
2223                 mes "deliver the ticket that";
2224                 mes "I gave you? If that's the";
2225                 mes "case, we won't have any";
2226                 mes "business with each other";
2227                 mes "for a while, I suppose.";
2228                 close;
2229         }
2230         if ((party_relay == 8) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(7196) > 9) && (countitem(7184) > 9) && (countitem(920) > 9)) {
2231                 mes "[Bafhail]";
2232                 mes "Well, it looks like you came";
2233                 mes "at the right time and brought";
2234                 mes "everything I asked. Good work.";
2235                 mes "Please take your next ticket";
2236                 mes "and this small reward for you.";
2237                 next;
2238                 delitem 7196,10; //Shoulder_Protection
2239                 delitem 7189,10; //Heart_Of_Tree
2240                 delitem 920,10; //Claw_Of_Wolves
2241                 set party_relay,9;
2242                 getitem 7732,1; //Mission_Certificate3
2243                 getitem 607,2; //Yggdrasilberry
2244                 callfunc "F_PartyRelay_Exp";
2245                 mes "[Bafhail]";
2246                 mes "Please give that";
2247                 mes "ticket to the Archer";
2248                 mes "Class member of your";
2249                 mes "group, and have him";
2250                 mes "deliver it to Lospii, okay?";
2251                 mes "Good luck on your travels~";
2252                 close;
2253         }
2254         else if ((party_relay == 8) && ((.@relaytime >= 21) && (countitem(7196) > 9) && (countitem(7184) > 9) && (countitem(920) > 9))) {
2255                 mes "[Bafhail]";
2256                 mes "Well, it looks like you came";
2257                 mes "at the right time and brought";
2258                 mes "everything I asked. Good work.";
2259                 mes "Please take your next ticket";
2260                 mes "and this small reward for you.";
2261                 delitem 7196,10; //Shoulder_Protection
2262                 delitem 7189,10; //Heart_Of_Tree
2263                 delitem 920,10; //Claw_Of_Wolves
2264                 set party_relay,9;
2265                 getitem 7732,1; //Mission_Certificate3
2266                 getitem 607,2; //Yggdrasilberry
2267                 callfunc "F_PartyRelay_Exp";
2268                 next;
2269                 mes "[Bafhail]";
2270                 mes "Please give that";
2271                 mes "ticket to the Archer";
2272                 mes "Class member of your";
2273                 mes "group, and have him";
2274                 mes "deliver it to Lospii, okay?";
2275                 mes "Good luck on your travels~";
2276                 close;
2277         }
2278         if (party_relay == 8) {
2279                 mes "[Bafhail]";
2280                 mes "Your mission";
2281                 mes "is to bring me";
2282                 mes "^4D4DFF10 Wooden Hearts^000000,";
2283                 mes "^4D4DFF10 Wolf Claws^000000, and";
2284                 mes "^4D4DFF10 Shoulder Protectors^000000";
2285                 mes "during hours I accept items.";
2286                 next;
2287                 mes "[Bafhail]";
2288                 mes "Remember that I only";
2289                 mes "accept items from 8 AM";
2290                 mes "to 11 AM, and from 9 PM";
2291                 mes "to 12 AM. That's Pacific";
2292                 mes "Standard Time. Don't forget!";
2293                 close;
2294         }
2295         if ((party_relay == 7) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (countitem(1027) > 9) && (countitem(1040) > 9) && (countitem(1023) > 9)) {
2296                 mes "[Bafhail]";
2297                 mes "Well, it looks like you came";
2298                 mes "at the right time and brought";
2299                 mes "everything I asked. Good work.";
2300                 mes "Please take your next ticket";
2301                 mes "and this small reward for you.";
2302                 next;
2303                 delitem 1027,10; //Porcupine_Spike
2304                 delitem 1040,10; //Elder_Pixie's_Beard
2305                 delitem 1023,10; //Fish_Tail
2306                 set party_relay,9;
2307                 getitem 7732,1; //Mission_Certificate3
2308                 mes "[Bafhail]";
2309                 mes "Please give that";
2310                 mes "ticket to the Archer";
2311                 mes "Class member of your";
2312                 mes "group, and have him";
2313                 mes "deliver it to Lospii, okay?";
2314                 mes "Good luck on your travels~";
2315                 close;
2316         }
2317         else if ((party_relay == 7) && ((.@relaytime >= 21) && (countitem(1027) > 9) && (countitem(1040) > 9) && (countitem(1023) > 9))) {
2318                 mes "[Bafhail]";
2319                 mes "Well, it looks like you came";
2320                 mes "at the right time and brought";
2321                 mes "everything I asked. Good work.";
2322                 mes "Please take your next ticket";
2323                 mes "and this small reward for you.";
2324                 next;
2325                 delitem 1027,10; //Porcupine_Spike
2326                 delitem 1040,10; //Elder_Pixie's_Beard
2327                 delitem 1023,10; //Fish_Tail
2328                 set party_relay,9;
2329                 getitem 7732,1; //Mission_Certificate3
2330                 mes "[Bafhail]";
2331                 mes "Please give that";
2332                 mes "ticket to the Archer";
2333                 mes "Class member of your";
2334                 mes "group, and have him";
2335                 mes "deliver it to Lospii, okay?";
2336                 mes "Good luck on your travels~";
2337                 close;
2338         }
2339         if (party_relay == 7) {
2340                 mes "[Bafhail]";
2341                 mes "Your mission";
2342                 mes "is to bring me";
2343                 mes "^4D4DFF10 Fish Tails^000000,";
2344                 mes "^4D4DFF10 Porcupine Quills^000000, and";
2345                 mes "^4D4DFF10 Elder Pixie's Moustaches^000000";
2346                 mes "during hours I accept items.";
2347                 next;
2348                 mes "[Bafhail]";
2349                 mes "Remember that I only";
2350                 mes "accept items from 8 AM";
2351                 mes "to 11 AM, and from 9 PM";
2352                 mes "to 12 AM. That's Pacific";
2353                 mes "Standard Time. Don't forget!";
2354                 close;
2355         }
2356         if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (BaseClass == Job_Thief)) {
2357                 mes "[Bafhail]";
2358                 mes "Oh, isn't that ticket...?";
2359                 mes "Ah, good, good. Judging";
2360                 mes "from your Job, Gatan must";
2361                 mes "have sent you, right? Nice";
2362                 mes "to meet you, I'm Bafhail~";
2363                 next;
2364                 mes "[Bafhail]";
2365                 mes "Alright, let's get down";
2366                 mes "to what you came for.";
2367                 mes "My mission is for you to";
2368                 mes "collect some items, and";
2369                 mes "for you to bring them at";
2370                 mes "the right time. Bring me...";
2371                 next;
2372                 mes "[Bafhail]";
2373                 mes "^4D4DFF10 Wooden Hearts^000000,";
2374                 mes "^4D4DFF10 Wolf Claws^000000, and";
2375                 mes "^4D4DFF10 Shoulder Protectors^000000";
2376                 next;
2377                 delitem 7731,1; //Mission_Certificate2
2378                 set party_relay,8;
2379                 mes "[Bafhail]";
2380                 mes "Remember that I won't";
2381                 mes "accept your items, even";
2382                 mes "if you have everything,";
2383                 mes "if you don't come during";
2384                 mes "the hours when I accept";
2385                 mes "items for missions, okay?";
2386                 close;
2387         }
2388         else if ((countitem(7731) > 0) && (BaseLevel > 39) && ((.@relaytime >= 21) && (BaseClass == Job_Thief))) {
2389                 mes "[Bafhail]";
2390                 mes "Oh, isn't that ticket...?";
2391                 mes "Ah, good, good. Judging";
2392                 mes "from your Job, Gatan must";
2393                 mes "have sent you, right? Nice";
2394                 mes "to meet you, I'm Bafhail~";
2395                 next;
2396                 mes "[Bafhail]";
2397                 mes "Alright, let's get down";
2398                 mes "to what you came for.";
2399                 mes "My mission is for you to";
2400                 mes "collect some items, and";
2401                 mes "for you to bring them at";
2402                 mes "the right time. Bring me...";
2403                 next;
2404                 mes "[Bafhail]";
2405                 mes "^4D4DFF10 Fish Tails^000000,";
2406                 mes "^4D4DFF10 Porcupine Quills^000000, and";
2407                 mes "^4D4DFF10 Elder Pixie's Moustaches^000000";
2408                 next;
2409                 delitem 7731,1; //Mission_Certificate2
2410                 set party_relay,7;
2411                 mes "[Bafhail]";
2412                 mes "Remember that I won't";
2413                 mes "accept your items, even";
2414                 mes "if you have everything,";
2415                 mes "if you don't come during";
2416                 mes "the hours when I accept";
2417                 mes "items for missions, okay?";
2418                 close;
2419         }
2420         if ((countitem(7731) > 0) && (BaseLevel > 39) && (BaseClass == Job_Thief)) {
2421                 mes "[Bafhail]";
2422                 mes "Oh, isn't that ticket...?";
2423                 mes "Ah, good, good. Judging";
2424                 mes "from your Job, Gatan must";
2425                 mes "have sent you, right? Nice";
2426                 mes "to meet you, I'm Bafhail~";
2427                 next;
2428                 mes "[Bafhail]";
2429                 mes "Would you mind coming";
2430                 mes "back to me later? Now";
2431                 mes "isn't the right time to";
2432                 mes "talk to me. I'm available";
2433                 mes "from 8 AM to 11 AM, and";
2434                 mes "from 9 PM to 12 AM.";
2435                 close;
2436         }
2437         mes "[Bafhail]";
2438         mes "...Hm? I don't think";
2439         mes "we have any business";
2440         mes "with each other. You mind";
2441         mes "leaving me alone? I'm pretty";
2442         mes "busy administering a bunch";
2443         mes "of these missions for a friend.";
2444         next;
2445         mes "[Bafhail]";
2446         mes "If we're lucky, maybe";
2447         mes "you'll be one of those";
2448         mes "adventurers that'll carry";
2449         mes "out these fun little missions";
2450         mes "for my friend Ledrion.";
2451         close;
2452 }
2453
2454 payon,168,314,3 script  Lospii#payon::RelayLospii       706,{
2455         getpartymember(getcharid(1));
2456         set .@partymembercount,$@partymembercount;
2457         set .@partyleader,getpartyleader(getcharid(1),2);
2458         if (checkweight(907,300) == 0) {
2459                 mes "^3355FFWait a minute! You're";
2460                 mes "carrying too many items";
2461                 mes "right now: store some of";
2462                 mes "your extra things in Kafra";
2463                 mes "Storage, and then come back.^000000";
2464                 close;
2465         }
2466         if (countitem(7730) > 0) || (countitem(7731) > 0) || (countitem(7734) > 0) || (countitem(7735) > 0) || (countitem(7738) > 0) || (countitem(7739) > 0) {
2467                 mes "[Lospii]";
2468                 mes "Hey, didn't you figure";
2469                 mes "out what you need to do?";
2470                 mes "You're not supposed to";
2471                 mes "talk to me now! Mmm...";
2472                 mes "I don't know who you";
2473                 mes "have to meet either, but...";
2474                 close;
2475         }
2476         set .@relaytime,gettime(DT_HOUR);
2477         getmapxy(.@m$,.@x,.@y,UNITTYPE_NPC,strnpcinfo(3));
2478         set .@juwi,getareausers(.@m$,.@x-8,.@y-8,.@x+8,.@y+8);
2479         if (party_relay == 32) {
2480                 mes "[Lospii]";
2481                 mes "Hey! Did you give";
2482                 mes "that ticket to the";
2483                 mes "leader of your group";
2484                 mes "yet? The guy that started";
2485                 mes "this whole relay thing!";
2486                 close;
2487         }
2488         if ((party_relay == 31) && ((.@relaytime >= 8) && (.@relaytime < 11)) && (.@juwi > 13)) {
2489                 mes "[Lospii]";
2490                 mes "Oh! You brought so many";
2491                 mes "friends! One... T-two...";
2492                 mes "You brought " + .@juwi + "?! Hmpf.";
2493                 mes "Maybe I gave you something";
2494                 mes "too easy to do. I didn't know";
2495                 mes "you knew this many people!";
2496                 next;
2497                 mes "[Lospii]";
2498                 mes "Oh well, thanks for";
2499                 mes "bringing everyone here.";
2500                 mes "For that, you get this";
2501                 mes "gift from me. Cool, huh?";
2502                 next;
2503                 set party_relay,32;
2504                 getitem 7741,1; //Mission_Certificate12
2505                 getitem 610,2; //Leaf_Of_Yggdrasil
2506                 getitem 607,2; //Yggdrasilberry
2507                 callfunc "F_PartyRelay_Exp";
2508                 mes "[Lospii]";
2509                 mes "Okay, now take this";
2510                 mes "ticket, and give it to";
2511                 mes "your leader, the guy that";
2512                 mes "started this whole relay";
2513                 mes "thing. He needs to give";
2514                 mes "the ticket to Ledrion, okay?";
2515                 next;
2516                 mes "[Lospii]";
2517                 mes "You're almost done!";
2518                 mes "...I think. Um, I'm not";
2519                 mes "really sure what will";
2520                 mes "happen next. I can only";
2521                 mes "remember the parts I have";
2522                 mes "to do. C'mon! I'm just a kid!";
2523                 close;
2524         }
2525         else if ((party_relay == 31) && ((.@relaytime >= 21) && (.@juwi > 13))) {
2526                 mes "[Lospii]";
2527                 mes "Oh! You brought so many";
2528                 mes "friends! One... T-two...";
2529                 mes "You brought " + .@juwi + "?! Hmpf.";
2530                 mes "Maybe I gave you something";
2531                 mes "too easy to do. I didn't know";
2532                 mes "you knew this many people!";
2533                 next;
2534                 mes "[Lospii]";
2535                 mes "Oh well, thanks for";
2536                 mes "bringing everyone here.";
2537                 mes "For that, you get this";
2538                 mes "gift from me. Cool, huh?";
2539                 next;
2540                 set party_relay,32;
2541                 getitem 7741,1; //Mission_Certificate12
2542                 getitem 610,2; //Leaf_Of_Yggdrasil
2543                 getitem 607,2; //Yggdrasilberry
2544                 callfunc "F_PartyRelay_Exp";
2545                 mes "[Lospii]";
2546                 mes "Okay, now take this";
2547                 mes "ticket, and give it to";
2548                 mes "your leader, the guy that";
2549                 mes "started this whole relay";
2550                 mes "thing. He needs to give";
2551                 mes "the ticket to Ledrion, okay?";
2552                 next;
2553                 mes "[Lospii]";
2554                 mes "You're almost done!";
2555                 mes "...I think. Um, I'm not";
2556                 mes "really sure what will";
2557                 mes "happen next. I can only";
2558                 mes "remember the parts I have";
2559                 mes "to do. C'mon! I'm just a kid!";
2560                 close;
2561         }
2562         if (party_relay == 31) {
2563                 mes "[Lospii]";
2564                 mes "Okay, you have to bring";
2565                 mes "me 10 of your friends when";
2566                 mes "I'm working, okay? That's, uh,";
2567                 mes "3 hours before noon, and then";
2568                 mes "another 3 hours after midnight.";
2569                 mes "Just only those times, okay?";
2570                 close;
2571         }
2572         if ((countitem(7740) > 0) && (.@relaytime >= 8) && (.@relaytime < 11) && ((BaseJob == Job_Archer) || (BaseJob == Job_Merchant))) {
2573                 mes "[Lospii]";
2574                 mes "Hi, I'm Lospii! Maybe";
2575                 mes "I'm younger than you, but";
2576                 mes "I'm in charge of this mission!";
2577                 mes "So you have to listen, okay?";
2578                 mes "Heh heh! Don't be scared~";
2579                 next;
2580                 mes "[Lospii]";
2581                 mes "I'm working now for this";
2582                 mes "mission thing so you came";
2583                 mes "at a good time! Let's see...";
2584                 mes "I need to give you... Some";
2585                 mes "mission for you to doooo...";
2586                 mes "Oh! I know! I got it!";
2587                 next;
2588                 mes "[Lospii]";
2589                 mes "We're seeing if you";
2590                 mes "know about teamwork, right?";
2591                 mes "Why don't you show me a lot";
2592                 mes "of your friends? Bring me...";
2593                 mes "14 of them! Yes, that's good!";
2594                 next;
2595                 mes "[Lospii]";
2596                 mes "I need to be able to";
2597                 mes "see them, you know, so";
2598                 mes "I know you're not lying";
2599                 mes "to me. Bring them reeeally";
2600                 mes "close so I know they're your";
2601                 mes "friends, not some other guys.";
2602                 next;
2603                 delitem 7740,1; //Mission_Certificate11
2604                 set party_relay,31;
2605                 mes "[Lospii]";
2606                 mes "Okay, I'll be right";
2607                 mes "here! Oh! And you have";
2608                 mes "to come with your friends";
2609                 mes "while I'm at work! That's";
2610                 mes "important to know!";
2611                 close;
2612         }
2613         else if ((countitem(7740) > 0) && (.@relaytime >= 21) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
2614                 mes "[Lospii]";
2615                 mes "Hi, I'm Lospii! Maybe";
2616                 mes "I'm younger than you, but";
2617                 mes "I'm in charge of this mission!";
2618                 mes "So you have to listen, okay?";
2619                 mes "Heh heh! Don't be scared~";
2620                 next;
2621                 mes "[Lospii]";
2622                 mes "I'm working now for this";
2623                 mes "mission thing so you came";
2624                 mes "at a good time! Let's see...";
2625                 mes "I need to give you... Some";
2626                 mes "mission for you to doooo...";
2627                 mes "Oh! I know! I got it!";
2628                 next;
2629                 mes "[Lospii]";
2630                 mes "We're seeing if you";
2631                 mes "know about teamwork, right?";
2632                 mes "Why don't you show me a lot";
2633                 mes "of your friends? Bring me...";
2634                 mes "14 of them! Yes, that's good!";
2635                 next;
2636                 mes "[Lospii]";
2637                 mes "I need to be able to";
2638                 mes "see them, you know, so";
2639                 mes "I know you're not lying";
2640                 mes "to me. Bring them reeeally";
2641                 mes "close so I know they're your";
2642                 mes "friends, not some other guys.";
2643                 next;
2644                 delitem 7740,1; //Mission_Certificate11
2645                 set party_relay,31;
2646                 mes "[Lospii]";
2647                 mes "Okay, I'll be right";
2648                 mes "here! Oh! And you have";
2649                 mes "to come with your friends";
2650                 mes "while I'm at work! That's";
2651                 mes "important to know!";
2652                 close;
2653         }
2654         if ((countitem(7740) > 0) && ((BaseClass == Job_Archer) || (BaseClass == Job_Merchant))) {
2655                 mes "[Lospii]";
2656                 mes "Hi, I'm Lospii! Maybe";
2657                 mes "I'm younger than you, but";
2658                 mes "I'm in charge of this mission!";
2659                 mes "So you have to listen, okay?";
2660                 mes "Heh heh! Don't be scared~";
2661                 next;
2662                 mes "[Lospii]";
2663                 mes "Uh oh... I forgot";
2664                 mes "that I'm not supposed";
2665                 mes "to be working now. Come";
2666                 mes "back when I'm working, okay?";
2667                 next;
2668                 mes "[Lospii]";
2669                 mes "I... I work before";
2670                 mes "noon for 3 hours, and";
2671                 mes "then... 3 hours after";
2672                 mes "midnight? Yes, those";
2673                 mes "are the times when";
2674                 mes "I'm working!";
2675                 close;
2676         }
2677         if (party_relay == 22) {
2678                 mes "[Lospii]";
2679                 mes "Huh? No, no, you're";
2680                 mes "not supposed to be here!";
2681                 mes "Give the eighth ticket to";
2682                 mes "your leader so he can give";
2683                 mes "it to Ledrion! Your leader...";
2684                 mes "You know him, right?";
2685                 close;
2686         }
2687         if ((party_relay == 21) && ((.@relaytime >= 11) && (.@relaytime < 14)) && (.@juwi > 11)) {
2688                 mes "[Lospii]";
2689                 mes "Oh! You brought so many";
2690                 mes "friends! One... T-two...";
2691                 mes "You brought " + .@juwi + "?! Hmpf.";
2692                 mes "Maybe I gave you something";
2693                 mes "too easy to do. I didn't know";
2694                 mes "you knew this many people!";
2695                 next;
2696                 mes "[Lospii]";
2697                 mes "Oh well, thanks for";
2698                 mes "bringing everyone here.";
2699                 mes "For that, you get this";
2700                 mes "gift from me. Cool, huh?";
2701                 next;
2702                 set party_relay,22;
2703                 getitem 7737,1; //Mission_Certificate8
2704                 getitem 610,2; //Leaf_Of_Yggdrasil
2705                 callfunc "F_PartyRelay_Exp";
2706                 mes "[Lospii]";
2707                 mes "Okay, now take this";
2708                 mes "ticket, and give it to";
2709                 mes "your leader, the guy that";
2710                 mes "started this whole relay";
2711                 mes "thing. He needs to give";
2712                 mes "the ticket to Ledrion, okay?";
2713                 next;
2714                 mes "[Lospii]";
2715                 mes "You're almost done!";
2716                 mes "...I think. Um, I'm not";
2717                 mes "really sure what will";
2718                 mes "happen next. I can only";
2719                 mes "remember the parts I have";
2720                 mes "to do. C'mon! I'm just a kid!";
2721                 close;
2722         }
2723         else if ((party_relay == 21) && ((.@relaytime >= 0) && (.@relaytime < 3)) && (.@juwi > 11)) {
2724                 mes "[Lospii]";
2725                 mes "Oh! You brought so many";
2726                 mes "friends! One... T-two...";
2727                 mes "You brought " + .@juwi + "?! Hmpf.";
2728                 mes "Maybe I gave you something";
2729                 mes "too easy to do. I didn't know";
2730                 mes "you knew this many people!";
2731                 next;
2732                 mes "[Lospii]";
2733                 mes "Oh well, thanks for";
2734                 mes "bringing everyone here.";
2735                 mes "For that, you get this";
2736                 mes "gift from me. Cool, huh?";
2737                 next;
2738                 set party_relay,22;
2739                 getitem 7737,1; //Mission_Certificate8
2740                 getitem 610,2; //Leaf_Of_Yggdrasil
2741                 callfunc "F_PartyRelay_Exp";
2742                 mes "[Lospii]";
2743                 mes "Okay, now take this";
2744                 mes "ticket, and give it to";
2745                 mes "your leader, the guy that";
2746                 mes "started this whole relay";
2747                 mes "thing. He needs to give";
2748                 mes "the ticket to Ledrion, okay?";
2749                 next;
2750                 mes "[Lospii]";
2751                 mes "You're almost done!";
2752                 mes "...I think. Um, I'm not";
2753                 mes "really sure what will";
2754                 mes "happen next. I can only";
2755                 mes "remember the parts I have";
2756                 mes "to do. C'mon! I'm just a kid!";
2757                 close;
2758         }
2759         if (party_relay == 21) {
2760                 mes "[Lospii]";
2761                 mes "Okay, you have to bring";
2762                 mes "me 12 of your friends when";
2763                 mes "I'm working, okay? That's, uh,";
2764                 mes "3 hours before noon, and then";
2765                 mes "another 3 hours after midnight.";
2766                 mes "Just only those times, okay?";
2767                 close;
2768         }
2769         if ((countitem(7736) > 0) && (.@relaytime >= 11) && (.@relaytime < 14) && (BaseClass == Job_Merchant)) {
2770                 mes "[Lospii]";
2771                 mes "Hi, I'm Lospii! Maybe";
2772                 mes "I'm younger than you, but";
2773                 mes "I'm in charge of this mission!";
2774                 mes "So you have to listen, okay?";
2775                 mes "Heh heh! Don't be scared~";
2776                 next;
2777                 mes "[Lospii]";
2778                 mes "I'm working now for this";
2779                 mes "mission thing so you came";
2780                 mes "at a good time! Let's see...";
2781                 mes "I need to give you... Some";
2782                 mes "mission for you to doooo...";
2783                 mes "Oh! I know! I got it!";
2784                 next;
2785                 mes "[Lospii]";
2786                 mes "We're seeing if you";
2787                 mes "know about teamwork, right?";
2788                 mes "Why don't you show me a lot";
2789                 mes "of your friends? Bring me...";
2790                 mes "12 of them! Yes, that's good!";
2791                 next;
2792                 mes "[Lospii]";
2793                 mes "I need to be able to";
2794                 mes "see them, you know, so";
2795                 mes "I know you're not lying";
2796                 mes "to me. Bring them reeeally";
2797                 mes "close so I know they're your";
2798                 mes "friends, not some other guys.";
2799                 next;
2800                 delitem 7736,1; //Mission_Certificate7
2801                 set party_relay,21;
2802                 mes "[Lospii]";
2803                 mes "Okay, I'll be right";
2804                 mes "here! Oh! And you have";
2805                 mes "to come with your friends";
2806                 mes "while I'm at work! That's";
2807                 mes "important to know!";
2808                 close;
2809         }
2810         else if ((countitem(7736) > 0) && (.@relaytime >= 0) && (.@relaytime < 3) && (BaseClass == Job_Merchant)) {
2811                 mes "[Lospii]";
2812                 mes "Hi, I'm Lospii! Maybe";
2813                 mes "I'm younger than you, but";
2814                 mes "I'm in charge of this mission!";
2815                 mes "So you have to listen, okay?";
2816                 mes "Heh heh! Don't be scared~";
2817                 next;
2818                 mes "[Lospii]";
2819                 mes "I'm working now for this";
2820                 mes "mission thing so you came";
2821                 mes "at a good time! Let's see...";
2822                 mes "I need to give you... Some";
2823                 mes "mission for you to doooo...";
2824                 mes "Oh! I know! I got it!";
2825                 next;
2826                 mes "[Lospii]";
2827                 mes "We're seeing if you";
2828                 mes "know about teamwork, right?";
2829                 mes "Why don't you show me a lot";
2830                 mes "of your friends? Bring me...";
2831                 mes "12 of them! Yes, that's good!";
2832                 next;
2833                 mes "[Lospii]";
2834                 mes "I need to be able to";
2835                 mes "see them, you know, so";
2836                 mes "I know you're not lying";
2837                 mes "to me. Bring them reeeally";
2838                 mes "close so I know they're your";
2839                 mes "friends, not some other guys.";
2840                 next;
2841                 delitem 7736,1; //Mission_Certificate7
2842                 set party_relay,21;
2843                 mes "[Lospii]";
2844                 mes "Okay, I'll be right";
2845                 mes "here! Oh! And you have";
2846                 mes "to come with your friends";
2847                 mes "while I'm at work! That's";
2848                 mes "important to know!";
2849                 close;
2850         }
2851         if ((countitem(7736) > 0) && (BaseClass == Job_Merchant)) {
2852                 mes "[Lospii]";
2853                 mes "Hi, I'm Lospii! Maybe";
2854                 mes "I'm younger than you, but";
2855                 mes "I'm in charge of this mission!";
2856                 mes "So you have to listen, okay?";
2857                 mes "Heh heh! Don't be scared~";
2858                 next;
2859                 mes "[Lospii]";
2860                 mes "Uh oh... I forgot";
2861                 mes "that I'm not supposed";
2862                 mes "to be working now. Come";
2863                 mes "back when I'm working, okay?";
2864                 next;
2865                 mes "[Lospii]";
2866                 mes "I... I work before";
2867                 mes "noon for 3 hours, and";
2868                 mes "then... 3 hours after";
2869                 mes "midnight? Yes, those";
2870                 mes "are the times when";
2871                 mes "I'm working!";
2872                 close;
2873         }
2874         if (party_relay == 11) {
2875                 mes "[Lospii]";
2876                 mes "Umm... Did you bring";
2877                 mes "the fourth ticket to your";
2878                 mes "leader yet? You know,";
2879                 mes "the leader of the group.";
2880                 mes "The one that started this";
2881                 mes "whole relay test thingee.";
2882                 close;
2883         }
2884         if ((party_relay == 10) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (.@juwi > 9)) {
2885                 mes "[Lospii]";
2886                 mes "Oh! You brought so many";
2887                 mes "friends! One... T-two...";
2888                 mes "You brought " + .@juwi + "?! Hmpf.";
2889                 mes "Maybe I gave you something";
2890                 mes "too easy to do. I didn't know";
2891                 mes "you knew this many people!";
2892                 next;
2893                 mes "[Lospii]";
2894                 mes "Oh well, thanks for";
2895                 mes "bringing everyone here.";
2896                 mes "For that, you get this";
2897                 mes "gift from me. Cool, huh?";
2898                 next;
2899                 set party_relay,11;
2900                 getitem 7733,1; //Mission_Certificate4
2901                 getitem 607,2; //Yggdrasilberry
2902                 callfunc "F_PartyRelay_Exp";
2903                 mes "[Lospii]";
2904                 mes "Okay, now take this";
2905                 mes "ticket, and give it to";
2906                 mes "your leader, the guy that";
2907                 mes "started this whole relay";
2908                 mes "thing. He needs to give";
2909                 mes "the ticket to Ledrion, okay?";
2910                 next;
2911                 mes "[Lospii]";
2912                 mes "You're almost done!";
2913                 mes "...I think. Um, I'm not";
2914                 mes "really sure what will";
2915                 mes "happen next. I can only";
2916                 mes "remember the parts I have";
2917                 mes "to do. C'mon! I'm just a kid!";
2918                 close;
2919         }
2920         else if ((party_relay == 10) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (.@juwi > 9)) {
2921                 mes "[Lospii]";
2922                 mes "Oh! You brought so many";
2923                 mes "friends! One... T-two...";
2924                 mes "You brought " + .@juwi + "?! Hmpf.";
2925                 mes "Maybe I gave you something";
2926                 mes "too easy to do. I didn't know";
2927                 mes "you knew this many people!";
2928                 next;
2929                 mes "[Lospii]";
2930                 mes "Oh well, thanks for";
2931                 mes "bringing everyone here.";
2932                 mes "For that, you get this";
2933                 mes "gift from me. Cool, huh?";
2934                 next;
2935                 set party_relay,11;
2936                 getitem 7733,1; //Mission_Certificate4
2937                 getitem 607,2; //Yggdrasilberry
2938                 callfunc "F_PartyRelay_Exp";
2939                 mes "[Lospii]";
2940                 mes "Okay, now take this";
2941                 mes "ticket, and give it to";
2942                 mes "your leader, the guy that";
2943                 mes "started this whole relay";
2944                 mes "thing. He needs to give";
2945                 mes "the ticket to Ledrion, okay?";
2946                 next;
2947                 mes "[Lospii]";
2948                 mes "You're almost done!";
2949                 mes "...I think. Um, I'm not";
2950                 mes "really sure what will";
2951                 mes "happen next. I can only";
2952                 mes "remember the parts I have";
2953                 mes "to do. C'mon! I'm just a kid!";
2954                 close;
2955         }
2956         if (party_relay == 10) {
2957                 mes "[Lospii]";
2958                 mes "Bring 10 of your friends";
2959                 mes "here to me while I'm working,";
2960                 mes "okay? Umm... I work frooom...";
2961                 mes "2 PM to 5 PM, and 6 PM to 9 PM.";
2962                 mes "I think those are the times.";
2963                 mes "I... I can't read watches...";
2964                 close;
2965         }
2966         if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 14) && (.@relaytime < 17)) && (BaseClass == Job_Archer)) {
2967                 mes "[Lospii]";
2968                 mes "Hi, I'm Lospii! Maybe";
2969                 mes "I'm younger than you, but";
2970                 mes "I'm in charge of this mission!";
2971                 mes "So you have to listen, okay?";
2972                 mes "Heh heh! Don't be scared~";
2973                 next;
2974                 mes "[Lospii]";
2975                 mes "I'm working now for this";
2976                 mes "mission thing so you came";
2977                 mes "at a good time! Let's see...";
2978                 mes "I need to give you... Some";
2979                 mes "mission for you to doooo...";
2980                 mes "Oh! I know! I got it!";
2981                 next;
2982                 mes "[Lospii]";
2983                 mes "We're seeing if you";
2984                 mes "know about teamwork, right?";
2985                 mes "Why don't you show me a lot";
2986                 mes "of your friends? Bring me...";
2987                 mes "10 of them! Yes, that's good!";
2988                 next;
2989                 mes "[Lospii]";
2990                 mes "I need to be able to";
2991                 mes "see them, you know, so";
2992                 mes "I know you're not lying";
2993                 mes "to me. Bring them reeeally";
2994                 mes "close so I know they're your";
2995                 mes "friends, not some other guys.";
2996                 next;
2997                 delitem 7732,1; //Mission_Certificate3
2998                 set party_relay,10;
2999                 mes "[Lospii]";
3000                 mes "Okay, I'll be right";
3001                 mes "here! Oh! And you have";
3002                 mes "to come with your friends";
3003                 mes "while I'm at work! That's";
3004                 mes "important to know!";
3005                 close;
3006         }
3007         else if ((countitem(7732) > 0) && (BaseLevel > 39) && ((.@relaytime >= 18) && (.@relaytime < 21)) && (BaseClass == Job_Archer)) {
3008                 mes "[Lospii]";
3009                 mes "Hi, I'm Lospii! Maybe";
3010                 mes "I'm younger than you, but";
3011                 mes "I'm in charge of this mission!";
3012                 mes "So you have to listen, okay?";
3013                 mes "Heh heh! Don't be scared~";
3014                 next;
3015                 mes "[Lospii]";
3016                 mes "I'm working now for this";
3017                 mes "mission thing so you came";
3018                 mes "at a good time! Let's see...";
3019                 mes "I need to give you... Some";
3020                 mes "mission for you to doooo...";
3021                 mes "Oh! I know! I got it!";
3022                 next;
3023                 mes "[Lospii]";
3024                 mes "We're seeing if you";
3025                 mes "know about teamwork, right?";
3026                 mes "Why don't you show me a lot";
3027                 mes "of your friends? Bring me...";
3028                 mes "10 of them! Yes, that's good!";
3029                 next;
3030                 mes "[Lospii]";
3031                 mes "I need to be able to";
3032                 mes "see them, you know, so";
3033                 mes "I know you're not lying";
3034                 mes "to me. Bring them reeeally";
3035                 mes "close so I know they're your";
3036                 mes "friends, not some other guys.";
3037                 next;
3038                 delitem 7732,1; //Mission_Certificate3
3039                 set party_relay,10;
3040                 mes "[Lospii]";
3041                 mes "Okay, I'll be right";
3042                 mes "here! Oh! And you have";
3043                 mes "to come with your friends";
3044                 mes "while I'm at work! That's";
3045                 mes "important to know!";
3046                 close;
3047         }
3048         if ((countitem(7732) > 0) && (BaseLevel > 39) && (BaseClass == Job_Archer)) {
3049                 mes "[Lospii]";
3050                 mes "Hi, I'm Lospii! Maybe";
3051                 mes "I'm younger than you, but";
3052                 mes "I'm in charge of this mission!";
3053                 mes "So you have to listen, okay?";
3054                 mes "Heh heh! Don't be scared~";
3055                 next;
3056                 mes "[Lospii]";
3057                 mes "Uh oh... I forgot";
3058                 mes "that I'm not supposed";
3059                 mes "to be working now. Come";
3060                 mes "back when I'm working, okay?";
3061                 next;
3062                 mes "[Lospii]";
3063                 mes "I work frooom... Uh...";
3064                 mes "2 PM to 5 PM? Oh!";
3065                 mes "And also 6 PM to 9 PM.";
3066                 mes "I think those are the";
3067                 mes "times... I mean, clocks";
3068                 mes "are hard to read, man!";
3069                 close;
3070         }
3071         mes "[Lospii]";
3072         mes "Hi! I'm Lospii!";
3073         mes "Hey, does it look like";
3074         mes "I'm at work? Ha ha!";
3075         mes "I got a job! I'm helping";
3076         mes "my friends a lot!";
3077         close;
3078 }
3079
3080 // EXP Rewards
3081 function        script  F_PartyRelay_Exp        {
3082         if (checkre(3)) { //unconfirmed
3083                 if (BaseLevel > 94) getexp 104760,0;
3084                 else if (BaseLevel > 89) getexp 85920,0;
3085                 else if (BaseLevel > 79) getexp 38520,0;
3086                 else if (BaseLevel > 69) getexp 19560,0;
3087                 else if (BaseLevel > 59) getexp 6720,0;
3088                 else if (BaseLevel > 49) getexp 2880,0;
3089                 else getexp 1080,0;
3090         } else {
3091                 if (BaseLevel > 94) getexp 1047600,0;
3092                 else if (BaseLevel > 89) getexp 859200,0;
3093                 else if (BaseLevel > 79) getexp 385200,0;
3094                 else if (BaseLevel > 69) getexp 195600,0;
3095                 else if (BaseLevel > 59) getexp 67200,0;
3096                 else if (BaseLevel > 49) getexp 28800,0;
3097                 else getexp 10800,0;
3098         }
3099         return;
3100 }
3101
3102 // Comodo Relay
3103 comodo,71,137,3 duplicate(RelayLedrion) Ledrion#comodo  109
3104 comodo,236,197,3        duplicate(RelayGatan)   Gatan#comodo    86
3105 comodo,152,184,3        duplicate(RelayBafhail) Bafhail#comodo  731
3106 comodo,64,219,3 duplicate(RelayLospii)  Lospii#comodo   706
3107
3108 // Einbroch Relay
3109 einbroch,107,93,3       duplicate(RelayLedrion) Ledrion#einbroch        109
3110 einbroch,260,128,3      duplicate(RelayGatan)   Gatan#einbroch  86
3111 einbroch,251,178,3      duplicate(RelayBafhail) Bafhail#einbroch        731
3112 einbroch,173,72,3       duplicate(RelayLospii)  Lospii#einbroch 706
3113
3114 // Relay Hugel
3115 hugel,102,130,3 duplicate(RelayLedrion) Ledrion#hugel   109
3116 hugel,169,139,3 duplicate(RelayGatan)   Gatan#hugel     86
3117 hugel,55,200,3  duplicate(RelayBafhail) Bafhail#hugel   731
3118 hugel,144,201,3 duplicate(RelayLospii)  Lospii#hugel    706
3119
3120 // Relay Rachel
3121 rachel,215,71,3 duplicate(RelayLedrion) Ledrion#rachel  109
3122 rachel,45,163,3 duplicate(RelayGatan)   Gatan#rachel    86
3123 rachel,245,132,3        duplicate(RelayBafhail) Bafhail#rachel  731
3124 rachel,158,215,3        duplicate(RelayLospii)  Lospii#rachel   706
3125
3126 // Relay Veins
3127 veins,274,188,5 duplicate(RelayLedrion) Ledrion#veins   109
3128 veins,138,207,3 duplicate(RelayGatan)   Gatan#veins     86
3129 veins,202,235,3 duplicate(RelayBafhail) Bafhail#veins   731
3130 veins,97,245,5  duplicate(RelayLospii)  Lospii#veins    706