clans.txt 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600
  1. //===== rAthena Script =======================================
  2. //= Clan masters
  3. //===== Description: =========================================
  4. //= The clan master NPCs that allow you to join and leave
  5. //= one of the clans.
  6. //===== Changelogs: ==========================================
  7. //= 1.0 Initial release. [Lemongrass]
  8. //= 1.1 iRO translation. [RagnarokNova]
  9. //= 1.2 Dialogue cleanup. [Aleos]
  10. //============================================================
  11. prt_in,33,114,5 script Raffam Oranpere 10058,{
  12. cutin "laperm01.bmp", 2;
  13. mes "[Raffam Oranpere]";
  14. mes "Hi! I'm Raffam, master of the ^3131FFSword Clan^000000 in the Rune-Midgard Kingdom.";
  15. next;
  16. switch( select( "Clan Information:Join.:Leave." ) ){
  17. case 1:
  18. switch( select( "What are Clans?:About the Sword Clan:Cancel." ) ){
  19. case 1:
  20. mes "[Raffam Oranpere]";
  21. mes "The ^3131FFClans^000000 are a type of guild ran by the Kingdom.";
  22. mes "They don't participate in the Siege, so members are free to join/leave anytime.";
  23. next;
  24. mes "[Raffam Oranpere]";
  25. mes "I wish we could join the Siege. I'd love flying over on my dragon and burning everyone in my way!";
  26. mes "Oops, too thrilled!";
  27. next;
  28. mes "[Raffam Oranpere]";
  29. mes "Join us, if no Clan suits your taste.";
  30. mes "New members are given ^3131FFfree stat bonuses^000000.";
  31. next;
  32. mes "[Raffam Oranpere]";
  33. mes "Melee stats are offered as the name ^3131FFSword Clan^000000 suggests, but not all members are Melee classes.";
  34. mes "Don't feel pressured, just count on me!";
  35. next;
  36. cutin "laperm02.bmp", 2;
  37. mes "[Raffam Oranpere]";
  38. mes "Differences in variety creates the fun.";
  39. mes "These odd bunches never bore me in the party.";
  40. next;
  41. mes "[Raffam Oranpere]";
  42. mes "And who knows you might meet your soul mate in the Clan? Hahah!";
  43. break;
  44. case 2:
  45. mes "[Raffam Oranpere]";
  46. mes "The ^3131FFSword Clan^000000 mainly supports Melee adventurers.";
  47. mes "Join for free ^FF0000<STR+1, VIT+1, MHP+30, MSP+10>^000000!";
  48. next;
  49. mes "[Raffam Oranpere]";
  50. mes "Remember, no Siege participation.";
  51. mes "You should contact other guilds for Siege.";
  52. next;
  53. mes "[Raffam Oranpere]";
  54. mes "A question?";
  55. mes "Excited to join me? Hahah!";
  56. break;
  57. case 3:
  58. break;
  59. }
  60. break;
  61. case 2:
  62. mes "[Raffam Oranpere]";
  63. mes "Oh, you'll join? Good choice!";
  64. mes "Let's check the Clan policy then to begin admission procedures.";
  65. next;
  66. mes "[Raffam Oranpere]";
  67. mes "^3131FFClansmen^000000 cannot participate in the Siege.";
  68. mes "New members are given these stat bonuses: ^FF0000<STR+1, VIT+1, MHP+30, MSP+10>^000000.";
  69. mes "You with me so far?";
  70. next;
  71. if( select( "Yes.:No." ) == 1 ){
  72. mes "[Raffam Oranpere]";
  73. mes "You can join and leave a Clan anytime, but if you don't login for ^FF0000more than 2 weeks^000000, you'll be ^FF0000expelled^000000.";
  74. mes "Clan masters exist for reason, like I.";
  75. mes "Understood?";
  76. next;
  77. if( select( "Yes.:No." ) == 1 ){
  78. mes "[Raffam Oranpere]";
  79. mes "Great, sign your name here to register.";
  80. next;
  81. input .@name$;
  82. mes "[Raffam Oranpere]";
  83. mes "So, you're ^3131FF" + strcharinfo( 0 ) + "^000000! Nice name!";
  84. mes "Let me register you.";
  85. next;
  86. if( getcharid( 2 ) ){
  87. mes "[Raffam Oranpere]";
  88. mes "Come back to join after you leave your current guild.";
  89. close;
  90. }else if( getcharid( 5 ) != 0 ){
  91. cutin "laperm04.bmp", 2;
  92. mes "[Raffam Oranpere]";
  93. mes "Eh? Oh, you're in a Clan.";
  94. mes "Don't mess with me, it's not cool!";
  95. }else{
  96. cutin "laperm02.bmp", 2;
  97. if (clan_join(SWORDCLAN)) {
  98. sc_start2 SC_SWORDCLAN, -1, 0, SWORDCLAN;
  99. mes "[Raffam Oranpere]";
  100. mes "Welcome to the ^3131FFSword Clan^000000!";
  101. mes "You can review Clan info with ^3131FFCtrl+G^000000.";
  102. mes "At your service!";
  103. } else
  104. mes "An error has occurred.";
  105. }
  106. }else{
  107. mes "[Raffam Oranpere]";
  108. mes "Uh, oh. Let's go back to the beginning.";
  109. }
  110. }else{
  111. cutin "laperm03.bmp", 2;
  112. mes "[Raffam Oranpere]";
  113. mes "Uh, oh. Let's go back to the beginning.";
  114. }
  115. break;
  116. case 3:
  117. cutin "laperm01.bmp", 2;
  118. mes "[Raffam Oranpere]";
  119. mes "You want to leave?";
  120. mes "No problem. I hope you'll find a more suitable Clan.";
  121. mes "Ready for withdrawal?";
  122. next;
  123. if( select( "Continue.:Cancel." ) == 1 ){
  124. if( getcharid( 5 ) == 0 ){
  125. cutin "laperm04.bmp", 2;
  126. mes "[Raffam Oranpere]";
  127. mes "Wait, you're not with us! Grr, don't make me breathe fire at you!";
  128. }else if( getcharid( 5 ) != SWORDCLAN ){
  129. cutin "laperm04.bmp", 2;
  130. mes "[Raffam Oranpere]";
  131. mes "Hey, talk to your guild master if you want to leave.";
  132. }else{
  133. if (clan_leave()) {
  134. sc_end SC_SWORDCLAN;
  135. mes "[Raffam Oranpere]";
  136. mes "Okay, it's done. But let's not be strangers, okay?";
  137. mes "It was nice having you!";
  138. } else
  139. mes "An error has occurred.";
  140. }
  141. }
  142. break;
  143. }
  144. close2;
  145. cutin "", 255;
  146. end;
  147. }
  148. prt_in,35,114,5 script Devon Aire 10059,{
  149. cutin "debon01.bmp", 2;
  150. mes "[Devon Aire]";
  151. mes "I'm Devon, master of the ^3131FFArc Wand Clan^000000.";
  152. next;
  153. switch( select( "Clan Information:Join.:Leave." ) ){
  154. case 1:
  155. switch( select( "What are Clans?:About the Arc Wand Clan:Cancel." ) ){
  156. case 1:
  157. mes "[Devon Aire]";
  158. mes "The ^3131FFClans^000000 are ran by the Kingdom, not privately like others.";
  159. mes "And I manage one of them.";
  160. next;
  161. cutin "debon02.bmp", 2;
  162. mes "[Devon Aire]";
  163. mes "...";
  164. mes "What's with that look? You got a problem?";
  165. next;
  166. cutin "birman01.bmp", 2;
  167. mes "[Berman Aire]";
  168. mes "Brother, you're scaring a potential member, be nice.";
  169. next;
  170. cutin "debon02.bmp", 2;
  171. mes "[Devon Aire]";
  172. mes "...";
  173. next;
  174. cutin "debon01.bmp", 2;
  175. mes "[Devon Aire]";
  176. mes "Join if you are seeking a place to fit in. We give ^3131FFfree bonus stats^000000. But no Siege participation.";
  177. next;
  178. mes "[Devon Aire]";
  179. mes "Most members are offensive Mage classes as the name ^3131FFArc Wand Clan^000000 suggests, but that's no requirement.";
  180. next;
  181. cutin "debon02.bmp", 2;
  182. mes "[Devon Aire]";
  183. mes "...Hey, Shaam Rumi.";
  184. mes "Stop hitting on my brother and get to work.";
  185. next;
  186. cutin "sham03.bmp", 2;
  187. mes "[Shaam Rumi]";
  188. mes "Whatever!";
  189. next;
  190. cutin "debon02.bmp", 2;
  191. mes "[Devon Aire]";
  192. mes "...Hmpf!";
  193. mes "Listen, Crossbow Clan's master is evil.";
  194. next;
  195. cutin "sham02.bmp", 2;
  196. mes "[Shaam Rumi]";
  197. mes "Get over me, Devon! Don't spread rumors!";
  198. next;
  199. cutin "birman01.bmp", 2;
  200. mes "[Berman Aire]";
  201. mes "Haha. Stop it. You two are making a scene.";
  202. mes "Come on, back to work guys.";
  203. break;
  204. case 2:
  205. cutin "debon01.bmp", 2;
  206. mes "[Devon Aire]";
  207. mes "The ^3131FFArc Wand Clan^000000 mainly supports offensive Mage classes.";
  208. mes "We offer ^FF0000<INT+1, DEX+1, MHP+30, MSP+10>^000000 to new members. Don't ask for more; it's the Kingdom's rule.";
  209. next;
  210. mes "[Devon Aire]";
  211. mes "^3131FFClansmen^000000 can't participate in the Siege.";
  212. mes "If you like the Siege, then go join a regular guild.";
  213. next;
  214. mes "[Devon Aire]";
  215. mes "That is all. No questions.";
  216. break;
  217. case 3:
  218. break;
  219. }
  220. break;
  221. case 2:
  222. cutin "debon01.bmp", 2;
  223. mes "[Devon Aire]";
  224. mes "...";
  225. mes "Let's check the Clan policy then to begin admission procedures.";
  226. next;
  227. mes "[Devon Aire]";
  228. mes "^3131FFClansmen^000000 cannot participate in the Siege.";
  229. mes "New members are given these stat bonuses: ^FF0000<INT+1, DEX+1, MHP+30, MSP+10>^000000.";
  230. mes "You with me so far?";
  231. next;
  232. if( select( "Yes.:No." ) == 1 ){
  233. mes "[Devon Aire]";
  234. mes "You can join and leave a Clan anytime, but if you don't login for ^FF0000more than 2 weeks^000000, you'll be ^FF0000expelled^000000.";
  235. mes "Do you agree?";
  236. next;
  237. if( select( "Yes.:No." ) == 1 ){
  238. mes "[Devon Aire]";
  239. mes "Sign your name here.";
  240. next;
  241. input .@name$;
  242. mes "[Devon Aire]";
  243. mes "^3131FF" + strcharinfo( 0 ) + "^000000.....";
  244. mes "Good, let me invite you in.";
  245. next;
  246. if( getcharid( 2 ) ){
  247. mes "[Devon Aire]";
  248. mes "Leave your guild first to join my Clan, duh.";
  249. close;
  250. }else if( getcharid( 5 ) != 0 ){
  251. cutin "debon03.bmp", 2;
  252. mes "[Devon Aire]";
  253. mes "You're already in a Clan. You joking?!";
  254. mes "Oh, I can be funny, too--FIRE PILLAR!";
  255. }else{
  256. if (clan_join(ARCWANDCLAN)) {
  257. sc_start2 SC_ARCWANDCLAN, -1, 0, ARCWANDCLAN;
  258. mes "[Devon Aire]";
  259. mes "You have joined the ^3131FFArc Wand Clan^000000.";
  260. next;
  261. mes "[Devon Aire]";
  262. mes "You can review Clan info with ^3131FFCtrl+G^000000.";
  263. mes "So don't bother me later.";
  264. next;
  265. mes "[Devon Aire]";
  266. mes "That's all. Visit often or be expelled. Dismissed.";
  267. } else
  268. mes "An error has occurred.";
  269. }
  270. }else{
  271. mes "[Devon Aire]";
  272. mes "Then I don't want you.";
  273. }
  274. }else{
  275. mes "[Devon Aire]";
  276. mes "Gosh, listen to the policy again.";
  277. }
  278. break;
  279. case 3:
  280. mes "[Devon Aire]";
  281. mes "Want to leave, huh?";
  282. mes "I understand, it's about Sieges. If not, why are..Never mind..";
  283. mes "I'll process your withdrawal.";
  284. next;
  285. if( select( "Continue.:Cancel." ) == 1 ){
  286. if( getcharid( 5 ) == 0 ){
  287. cutin "debon03.bmp", 2;
  288. mes "[Devon Aire]";
  289. mes "Naughty children deserve a good Jupitel Thunder.";
  290. }else if( getcharid( 5 ) != ARCWANDCLAN ){
  291. cutin "debon02.bmp", 2;
  292. mes "[Devon Aire]";
  293. mes "You're barking up the wrong tree. Go to your Clan master.";
  294. }else{
  295. if (clan_leave()) {
  296. sc_end SC_ARCWANDCLAN;
  297. mes "[Devon Aire]";
  298. mes "You are withdrawn from the Clan.";
  299. mes "Now leave. I don't feel like talking anymore.";
  300. } else
  301. mes "An error has occurred.";
  302. }
  303. }
  304. break;
  305. }
  306. close2;
  307. cutin "", 255;
  308. end;
  309. }
  310. prt_in,37,114,5 script Berman Aire 10060,{
  311. cutin "birman01.bmp", 2;
  312. mes "[Berman Aire]";
  313. mes "Nice to meet you. I'm Berman Aire, master of the ^3131FFGolden Mace Clan^000000.";
  314. mes "I'm also the older brother of Devon Aire. Devon looks tough, but he's kind hearted.";
  315. next;
  316. switch( select( "Clan Information:Join.:Leave." ) ){
  317. case 1:
  318. switch( select( "What are Clans?:About the Golden Mace Clan:Cancel." ) ){
  319. case 1:
  320. mes "[Berman Aire]";
  321. mes "The ^3131FFClans^000000 are established by the Kingdom to help adventurers connect and share information.";
  322. next;
  323. mes "[Berman Aire]";
  324. mes "Because the Kingdom runs the Clan, there is no Siege participation, but at least the members are given ^3131FFstat bonuses^000000.";
  325. mes "The stat bonuses are small, but can be very useful for beginning adventurers.";
  326. next;
  327. mes "[Berman Aire]";
  328. mes "We're named the ^3131FFGolden Mace Clan^000000, but we don't discriminate against applicants based on their classes.";
  329. mes "The name is just to help you easily choose your Clan.";
  330. next;
  331. cutin "sham02.bmp", 2;
  332. mes "[Shaam Rumi]";
  333. mes "Berman, enough with the explanation. Let's go hang out in Glast Heim.";
  334. next;
  335. cutin "debon03.bmp", 2;
  336. mes "[Devon Aire]";
  337. mes "... Hey.";
  338. next;
  339. cutin "sham03.bmp", 2;
  340. mes "[Shaam Rumi]";
  341. mes "Ooh, you're scaring me.";
  342. mes "Berman, call me when you can!~";
  343. next;
  344. cutin "birman03.bmp", 2;
  345. mes "[Berman Aire]";
  346. mes "Hah hah, I apologize for their bickering.";
  347. next;
  348. cutin "birman01.bmp", 2;
  349. mes "[Berman Aire]";
  350. mes "Do you have a question?";
  351. mes "If you're tired of traveling alone, join us! You can join and leave the Clan anytime you want.";
  352. break;
  353. case 2:
  354. mes "[Berman Aire]";
  355. mes "The ^3131FFGolden Mace Clan^000000 mainly helps supportive classes.";
  356. mes "We offer ^FF0000<INT+1, LUK+1, MHP+30, MSP+10>^000000 to new members.";
  357. next;
  358. mes "[Berman Aire]";
  359. mes "As I told you earlier, Clans cannot join the Siege because they already belong to the Kingdom.";
  360. mes "If you want to be in the Siege, then I recommend you join a regular guild.";
  361. next;
  362. mes "[Berman Aire]";
  363. mes "Do you understand what the Clans are about now?";
  364. break;
  365. case 3:
  366. break;
  367. }
  368. break;
  369. case 2:
  370. mes "[Berman Aire]";
  371. mes "Great!";
  372. mes "Let's check the Clan policy then to begin admission procedures.";
  373. next;
  374. mes "[Berman Aire]";
  375. mes "^3131FFClansmen^000000 cannot participate in the Siege.";
  376. mes "As our new member, you'll receive the following stat bonuses: ^FF0000<INT+1, LUK+1, MHP+30, MSP+10>^000000.";
  377. mes "Do you agree?";
  378. next;
  379. if( select( "Yes.:No." ) == 1 ){
  380. mes "[Berman Aire]";
  381. mes "You can join and leave a Clan anytime, but if you don't login for ^FF0000more than 2 weeks^000000, you'll be ^FF0000expelled^000000.";
  382. mes "Do you agree to maintain good standing in the Clan?";
  383. next;
  384. if( select( "Yes.:No." ) == 1 ){
  385. mes "[Berman Aire]";
  386. mes "Now, please write your name here.";
  387. next;
  388. input .@name$;
  389. mes "[Berman Aire]";
  390. mes "^3131FF" + strcharinfo( 0 ) + "^000000! What a good name!";
  391. mes "Okay, then...";
  392. next;
  393. if( getcharid( 2 ) ){
  394. mes "[Berman Aire]";
  395. mes "Oh, no.";
  396. mes "In order to join, you first have to leave your current guild.";
  397. close;
  398. }else if( getcharid( 5 ) != 0 ){
  399. mes "[Berman Aire]";
  400. mes "You're already in a Clan.";
  401. mes "You're just confused, right?";
  402. }else{
  403. if (clan_join(GOLDENMACECLAN)) {
  404. sc_start2 SC_GOLDENMACECLAN, -1, 0, GOLDENMACECLAN;
  405. cutin "birman02.bmp", 2;
  406. mes "[Berman Aire]";
  407. mes "Welcome to the ^3131FFGolden Mace Clan^000000!";
  408. next;
  409. mes "[Berman Aire]";
  410. mes "You can review Clan info with ^3131FFCtrl+G^000000.";
  411. next;
  412. mes "[Berman Aire]";
  413. mes "Please remember the few precautions I gave you, and enjoy your Clan activities!";
  414. } else
  415. mes "An error has occurred.";
  416. }
  417. }
  418. }
  419. break;
  420. case 3:
  421. mes "[Berman Aire]";
  422. mes "With meeting, there is parting.";
  423. mes "I hope you enjoyed your time in the ^3131FFGolden Mace Clan^000000.";
  424. mes "Now, should I process your withdrawal?";
  425. next;
  426. if( select( "Continue.:Cancel." ) == 1 ){
  427. if( getcharid( 5 ) == 0 ){
  428. mes "[Berman Aire]";
  429. mes "You can't leave the Clan without joining it first.";
  430. }else if( getcharid( 5 ) != GOLDENMACECLAN ){
  431. mes "[Berman Aire]";
  432. mes "I'm sorry, but I can't remove you from another Clan...";
  433. }else{
  434. if (clan_leave()) {
  435. sc_end SC_GOLDENMACECLAN;
  436. mes "[Berman Aire]";
  437. mes "It's processed.";
  438. mes "Come back anytime to the ^3131FFGolden Mace Clan^000000. I'll be here.";
  439. } else
  440. mes "An error has occurred.";
  441. }
  442. }
  443. break;
  444. }
  445. close2;
  446. cutin "", 255;
  447. end;
  448. }
  449. prt_in,39,114,5 script Shaam Rumi 10027,{
  450. cutin "sham01.bmp", 2;
  451. mes "[Shaam Rumi]";
  452. mes "Hi, there! I'm Shaam, master of the ^3131FFCrossbow Clan^000000";
  453. mes "What can I do for you?";
  454. next;
  455. switch( select( "Clan Information:Join.:Leave." ) ){
  456. case 1:
  457. switch( select( "What are Clans?:About the Crossbow Clan:Cancel." ) ){
  458. case 1:
  459. mes "[Shaam Rumi]";
  460. mes "The Clans were established by the Rune-Midgarts Kingdom to...";
  461. mes "Raffam, why were our ^3131FFclans^000000 made?";
  462. next;
  463. cutin "laperm01.bmp", 2;
  464. mes "[Raffam Oranpere]";
  465. mes "Did you sleep in class? Gosh.";
  466. mes "The Clans help lone adventurers connect with each other and share information.";
  467. next;
  468. cutin "sham01.bmp", 2;
  469. mes "[Shaam Rumi]";
  470. mes "A-ha, got it! Thank you, Captain!";
  471. mes "You heard that too, right?";
  472. next;
  473. mes "[Shaam Rumi]";
  474. mes "Run by the Kingdom itself, the Clans are not allowed to participate in the Siege, but the good news is that the members are given some ^3131FFstat bonuses^000000.";
  475. next;
  476. mes "[Shaam Rumi]";
  477. mes "In case you wonder if the ^3131FFCrossbow Clan^000000 only recruits Archers, no, it doesn't.";
  478. mes "All the Clans accept all classes. You can choose the one that suits your needs best.";
  479. next;
  480. cutin "sham02.bmp", 2;
  481. mes "[Shaam Rumi]";
  482. mes "That should cover everything there is to know.";
  483. mes "Berman, let's go hang out in Glast Heim.";
  484. next;
  485. cutin "debon03.bmp", 2;
  486. mes "[Devon Aire]";
  487. mes "You...";
  488. next;
  489. cutin "sham03.bmp", 2;
  490. mes "[Shaam Rumi]";
  491. mes "Ooh, scary! You're so protective of your brother.";
  492. break;
  493. case 2:
  494. mes "[Shaam Rumi]";
  495. mes "The ^3131FFCrossbow Clan^000000 is ideal for ranged classes.";
  496. next;
  497. mes "[Shaam Rumi]";
  498. mes "Eh, let me check the Clan manual. Ah, and we offer stat bonuses to new members: ^FF0000<DEX+1, AGI+1, MHP+30, MSP+10>^000000.";
  499. next;
  500. mes "[Shaam Rumi]";
  501. mes "The Clans are not allowed to participate in the Siege; you should join a private guild instead for Siege.";
  502. mes "The Clans are for adventurers that hate being tied down.";
  503. next;
  504. mes "[Shaam Rumi]";
  505. mes "Do you have a question?";
  506. break;
  507. case 3:
  508. break;
  509. }
  510. break;
  511. case 2:
  512. mes "[Shaam Rumi]";
  513. mes "Oh, yeah? Good choice!";
  514. mes "Let's check the Clan policy then to begin admission procedures.";
  515. next;
  516. mes "[Shaam Rumi]";
  517. mes "^3131FFClansmen^000000 cannot participate in the Siege.";
  518. mes "As our new member, you'll receive the following stat bonuses: ^FF0000<DEX+1, AGI+1, MHP+30, MSP+10>^000000.";
  519. mes "Do you agree?";
  520. next;
  521. if( select( "Yes.:No." ) == 1 ){
  522. mes "[Shaam Rumi]";
  523. mes "You can join and leave a Clan anytime, but if you don't login for ^FF0000more than 2 weeks^000000, you'll be ^FF0000expelled^000000.";
  524. mes "Do you promise you'll maintain good standing?";
  525. next;
  526. if( select( "Yes.:No." ) == 1 ){
  527. mes "[Shaam Rumi]";
  528. mes "Good, write your name here.";
  529. next;
  530. input .@name$;
  531. mes "[Shaam Rumi]";
  532. mes "^3131FF" + strcharinfo( 0 ) + "^000000..!";
  533. mes "Ugh, your penmanship needs work. Let me process your application.";
  534. next;
  535. if( getcharid( 2 ) ){
  536. mes "[Shaam Rumi]";
  537. mes "Did you finish things up with your guild?";
  538. close;
  539. }else if( getcharid( 5 ) != 0 ){
  540. mes "[Shaam Rumi]";
  541. mes "Eh, you're already in a Clan. Hey, this isn't funny.";
  542. }else{
  543. if (clan_join(CROSSBOWCLAN)) {
  544. sc_start2 SC_CROSSBOWCLAN, -1, 0, CROSSBOWCLAN;
  545. cutin "sham02.bmp", 2;
  546. mes "[Shaam Rumi]";
  547. mes "Welcome to the ^3131FFCrossbow Clan^000000!";
  548. next;
  549. cutin "sham01.bmp", 2;
  550. mes "[Shaam Rumi]";
  551. mes "You can review Clan info with ^3131FFCtrl+G^000000.";
  552. next;
  553. mes "[Shaam Rumi]";
  554. mes "Don't pick fights with other clansmen. Be social.";
  555. mes "If you need help, you can always whisper me, okay? See you around!";
  556. } else
  557. mes "An error has occurred.";
  558. }
  559. }else{
  560. mes "[Shaam Rumi]";
  561. mes "All right then. I'm just going to go have some fun.";
  562. }
  563. }else{
  564. mes "[Shaam Rumi]";
  565. mes "Ah, do you need time to think about this? No problem.";
  566. }
  567. break;
  568. case 3:
  569. mes "[Shaam Rumi]";
  570. mes "Why, did you find a better Clan?";
  571. mes "I'm disappointed, but it's your call. Let me process your withdrawal.";
  572. next;
  573. if( select( "Continue.:Cancel." ) == 1 ){
  574. if( getcharid( 5 ) == 0 ){
  575. cutin "sham04.bmp", 2;
  576. mes "[Shaam Rumi]";
  577. mes "I can't let you leave--you're not even in my Clan!";
  578. }else if( getcharid( 5 ) != CROSSBOWCLAN ){
  579. mes "[Shaam Rumi]";
  580. mes "Sorry, but I don't meddle with other Clans' business.";
  581. }else{
  582. if (clan_leave()) {
  583. sc_end SC_CROSSBOWCLAN;
  584. mes "[Shaam Rumi]";
  585. mes "It's done.";
  586. mes "If you ever miss us, don't hesitate to come back, alright?";
  587. } else
  588. mes "An error has occurred.";
  589. }
  590. }
  591. break;
  592. }
  593. close2;
  594. cutin "", 255;
  595. end;
  596. }