clans.txt 21 KB

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