viewing paste alootnpc | Lua

Posted on the
  1. //===== rAthena Script ========================================\\
  2. //= @alootid'ing Items at Login                               =\\
  3. //===== By: ===================================================\\
  4. //= by Terrijoo                                               =\\
  5. //===== Current Version: ======================================\\
  6. //= 1.2                                                       =\\
  7. //===== Versions Info: ========================================\\
  8. //= 1.0 First Version. Needs a few testings, but should work  =\\
  9. //= 1.1 Added Option to activate it immediately               =\\
  10. //= 1.2 Revamped the Toggle-OFF option                        =\\
  11. //===== Description: ==========================================\\
  12. //= NPC will create Sets (up to 5 different) for @alootid'ing =\\
  13. //= Items at next Login. Each Set has a Name and up to 10     =\\
  14. //= Items that can be stored.                                 =\\
  15. //=============================================================\\
  16. prontera,179,173,4	script	Howard#AlootSet1ID	600,{
  17. 	mes .NPCName$;
  18. 	mes "Heya. I can manage your @alootid for this Character on login.";
  19. 	if (set_alootid == 0)
  20. 	{
  21. 		mes "Current status is: ^BE1C1COff^000000";
  22. 	} else {
  23. 		mes "Current status is: ^0DB40DOn^000000";
  24. 		mes "Current name is: ^0DB40D"+set_alootid$+"^000000";
  25. 	}
  26. 	next;
  27. 	switch(select("Toggle:Create Sets:Edit A Set:Delete a Set:Cancel"))
  28. 	{
  29. 		case 1:
  30. 			if (set_alootid == 0)
  31. 			{
  32. L_Easyway:
  33. 				mes .NPCName$;
  34. 				mes "The @alootid has been toggled ^0DB40DON^000000";
  35. 				mes "Please choose a Set.";
  36. 				if (#LootSet1$ == "" && #LootSet2$ == "" && #LootSet3$ == "" && #LootSet4$ == "" && #LootSet5$ == "" && #LootSet6$ == "")
  37. 				{
  38. 					next;
  39. 					mes .NPCName$;
  40. 					mes "It seems like you don't have any Sets yet. Please make one first at the first menu ^0000FF\"Create Sets\"^000000";
  41. 					mes "I toggled the @alootid back to ^BE1C1COFF^000000 again.";
  42. 					close;
  43. 				}
  44. 				set set_alootid, 1;
  45. 				if (#LootSet1$ == "") { set @menu$[1], "Nothing"; } else { set @menu$[1], #LootSet1$; }
  46. 				if (#LootSet2$ == "") { set @menu$[2], "Nothing"; } else { set @menu$[2], #LootSet2$; }
  47. 				if (#LootSet3$ == "") { set @menu$[3], "Nothing"; } else { set @menu$[3], #LootSet3$; }
  48. 				if (#LootSet4$ == "") { set @menu$[4], "Nothing"; } else { set @menu$[4], #LootSet4$; }
  49. 				if (#LootSet5$ == "") { set @menu$[5], "Nothing"; } else { set @menu$[5], #LootSet5$; }
  50. 				if (#LootSet6$ == "") { set @menu$[6], "Nothing"; } else { set @menu$[6], #LootSet6$; }
  51. 				next;
  52. 				switch(select(@menu$[1],@menu$[2],@menu$[3],@menu$[4],@menu$[5],@menu$[6]))
  53. 				{
  54. 					case 1:
  55. 						if (@menu$[1] == "Nothing")
  56. 						{
  57. 							mes .NPCName$;
  58. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  59. 							close;
  60. 						} else {
  61. 							mes .NPCName$;
  62. 							mes "You set your Alootid-Set to \""+#LootSet1$+"\".";
  63. 							set set_alootid$, #LootSet1$;
  64. 							set set_alootidnr, 1;
  65. 							mes "Do you want to activate it now?";
  66. 							next;
  67. 							switch(select("Yes:No"))
  68. 							{
  69. 								case 1:
  70. 									mes .NPCName$;
  71. 									mes "Activated!";
  72. 									atcommand "@alootid reset";
  73. 									atcommand "@alootid +"+#AlootSet1ID1;
  74. 									if (#AlootSet1ID2 != 0) { atcommand "@alootid +"+#AlootSet1ID2; }
  75. 									if (#AlootSet1ID3 != 0) { atcommand "@alootid +"+#AlootSet1ID3; }
  76. 									if (#AlootSet1ID4 != 0) { atcommand "@alootid +"+#AlootSet1ID4; }
  77. 									if (#AlootSet1ID5 != 0) { atcommand "@alootid +"+#AlootSet1ID5; }
  78. 									if (#AlootSet1ID6 != 0) { atcommand "@alootid +"+#AlootSet1ID6; }
  79. 									if (#AlootSet1ID7 != 0) { atcommand "@alootid +"+#AlootSet1ID7; }
  80. 									if (#AlootSet1ID8 != 0) { atcommand "@alootid +"+#AlootSet1ID8; }
  81. 									if (#AlootSet1ID9 != 0) { atcommand "@alootid +"+#AlootSet1ID9; }
  82. 									if (#AlootSet1ID10 != 0) { atcommand "@alootid +"+#AlootSet1ID10; }
  83. 									if (#AlootSet1ID11 != 0) { atcommand "@alootid +"+#AlootSet1ID11; }
  84. 									if (#AlootSet1ID12 != 0) { atcommand "@alootid +"+#AlootSet1ID12; }
  85. 									if (#AlootSet1ID13 != 0) { atcommand "@alootid +"+#AlootSet1ID13; }
  86. 									if (#AlootSet1ID14 != 0) { atcommand "@alootid +"+#AlootSet1ID14; }
  87. 									if (#AlootSet1ID15 != 0) { atcommand "@alootid +"+#AlootSet1ID15; }
  88. 									if (#AlootSet1ID16 != 0) { atcommand "@alootid +"+#AlootSet1ID16; }
  89. 									if (#AlootSet1ID17 != 0) { atcommand "@alootid +"+#AlootSet1ID17; }
  90. 									if (#AlootSet1ID18 != 0) { atcommand "@alootid +"+#AlootSet1ID18; }
  91. 									if (#AlootSet1ID19 != 0) { atcommand "@alootid +"+#AlootSet1ID19; }
  92. 									if (#AlootSet1ID20 != 0) { atcommand "@alootid +"+#AlootSet1ID20; }
  93. 									if (#AlootSet1ID21 != 0) { atcommand "@alootid +"+#AlootSet1ID21; }
  94. 									if (#AlootSet1ID22 != 0) { atcommand "@alootid +"+#AlootSet1ID22; }
  95. 									if (#AlootSet1ID23 != 0) { atcommand "@alootid +"+#AlootSet1ID23; }
  96. 									if (#AlootSet1ID24 != 0) { atcommand "@alootid +"+#AlootSet1ID24; }
  97. 									if (#AlootSet1ID25 != 0) { atcommand "@alootid +"+#AlootSet1ID25; }
  98.  
  99.  
  100. 									close;
  101.  
  102. 								case 2:
  103. 									mes .NPCName$;
  104. 									mes "As you wish. Not activated.";
  105. 									close;
  106. 							}
  107. 							close;
  108. 						}
  109.  
  110. 					case 2:
  111. 						if (@menu$[2] == "Nothing")
  112. 						{
  113. 							mes .NPCName$;
  114. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  115. 							close;
  116. 						} else {
  117. 							mes .NPCName$;
  118. 							mes "You set your Alootid-Set to \""+#LootSet2$+"\".";
  119. 							set set_alootid$, #LootSet2$;
  120. 							set set_alootidnr, 2;
  121. 							mes "Do you want to activate it now?";
  122. 							next;
  123. 							switch(select("Yes:No"))
  124. 							{
  125. 								case 1:
  126. 									mes .NPCName$;
  127. 									mes "Activated!";
  128. 									atcommand "@alootid reset";
  129. 									atcommand "@alootid +"+#AlootSet2ID1;
  130. 									if (#AlootSet2ID2 != 0) { atcommand "@alootid +"+#AlootSet2ID2; }
  131. 									if (#AlootSet2ID3 != 0) { atcommand "@alootid +"+#AlootSet2ID3; }
  132. 									if (#AlootSet2ID4 != 0) { atcommand "@alootid +"+#AlootSet2ID4; }
  133. 									if (#AlootSet2ID5 != 0) { atcommand "@alootid +"+#AlootSet2ID5; }
  134. 									if (#AlootSet2ID6 != 0) { atcommand "@alootid +"+#AlootSet2ID6; }
  135. 									if (#AlootSet2ID7 != 0) { atcommand "@alootid +"+#AlootSet2ID7; }
  136. 									if (#AlootSet2ID8 != 0) { atcommand "@alootid +"+#AlootSet2ID8; }
  137. 									if (#AlootSet2ID9 != 0) { atcommand "@alootid +"+#AlootSet2ID9; }
  138. 									if (#AlootSet2ID10 != 0) { atcommand "@alootid +"+#AlootSet2ID10; }
  139. 									if (#AlootSet2ID11 != 0) { atcommand "@alootid +"+#AlootSet2ID11; }
  140. 									if (#AlootSet2ID12 != 0) { atcommand "@alootid +"+#AlootSet2ID12; }
  141. 									if (#AlootSet2ID13 != 0) { atcommand "@alootid +"+#AlootSet2ID13; }
  142. 									if (#AlootSet2ID14 != 0) { atcommand "@alootid +"+#AlootSet2ID14; }
  143. 									if (#AlootSet2ID15 != 0) { atcommand "@alootid +"+#AlootSet2ID15; }
  144. 									if (#AlootSet2ID16 != 0) { atcommand "@alootid +"+#AlootSet2ID16; }
  145. 									if (#AlootSet2ID17 != 0) { atcommand "@alootid +"+#AlootSet2ID17; }
  146. 									if (#AlootSet2ID18 != 0) { atcommand "@alootid +"+#AlootSet2ID18; }
  147. 									if (#AlootSet2ID19 != 0) { atcommand "@alootid +"+#AlootSet2ID19; }
  148. 									if (#AlootSet2ID20 != 0) { atcommand "@alootid +"+#AlootSet2ID20; }
  149. 									if (#AlootSet2ID21 != 0) { atcommand "@alootid +"+#AlootSet2ID21; }
  150. 									if (#AlootSet2ID22 != 0) { atcommand "@alootid +"+#AlootSet2ID22; }
  151. 									if (#AlootSet2ID23 != 0) { atcommand "@alootid +"+#AlootSet2ID23; }
  152. 									if (#AlootSet2ID24 != 0) { atcommand "@alootid +"+#AlootSet2ID24; }
  153. 									if (#AlootSet2ID25 != 0) { atcommand "@alootid +"+#AlootSet2ID25; }
  154.  
  155. 									close;
  156.  
  157. 								case 2:
  158. 									mes .NPCName$;
  159. 									mes "As you wish. Not activated.";
  160. 									close;
  161. 							}
  162. 							close;
  163. 						}
  164.  
  165. 					case 3:
  166. 						if (@menu$[3] == "Nothing")
  167. 						{
  168. 							mes .NPCName$;
  169. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  170. 							close;
  171. 						} else {
  172. 							mes .NPCName$;
  173. 							mes "You set your Alootid-Set to \""+#LootSet3$+"\".";
  174. 							set set_alootid$, #LootSet3$;
  175. 							set set_alootidnr, 3;
  176. 							mes "Do you want to activate it now?";
  177. 							next;
  178. 							switch(select("Yes:No"))
  179. 							{
  180. 								case 1:
  181. 									mes .NPCName$;
  182. 									mes "Activated!";
  183. 									atcommand "@alootid reset";
  184. 									atcommand "@alootid +"+#AlootSet3ID1;
  185. 									if (#AlootSet3ID2 != 0) { atcommand "@alootid +"+#AlootSet3ID2; }
  186. 									if (#AlootSet3ID3 != 0) { atcommand "@alootid +"+#AlootSet3ID3; }
  187. 									if (#AlootSet3ID4 != 0) { atcommand "@alootid +"+#AlootSet3ID4; }
  188. 									if (#AlootSet3ID5 != 0) { atcommand "@alootid +"+#AlootSet3ID5; }
  189. 									if (#AlootSet3ID6 != 0) { atcommand "@alootid +"+#AlootSet3ID6; }
  190. 									if (#AlootSet3ID7 != 0) { atcommand "@alootid +"+#AlootSet3ID7; }
  191. 									if (#AlootSet3ID8 != 0) { atcommand "@alootid +"+#AlootSet3ID8; }
  192. 									if (#AlootSet3ID9 != 0) { atcommand "@alootid +"+#AlootSet3ID9; }
  193. 									if (#AlootSet3ID10 != 0) { atcommand "@alootid +"+#AlootSet3ID10; }
  194. 									if (#AlootSet3ID11 != 0) { atcommand "@alootid +"+#AlootSet3ID11; }
  195. 									if (#AlootSet3ID12 != 0) { atcommand "@alootid +"+#AlootSet3ID12; }
  196. 									if (#AlootSet3ID13 != 0) { atcommand "@alootid +"+#AlootSet3ID13; }
  197. 									if (#AlootSet3ID14 != 0) { atcommand "@alootid +"+#AlootSet3ID14; }
  198. 									if (#AlootSet3ID15 != 0) { atcommand "@alootid +"+#AlootSet3ID15; }
  199. 									if (#AlootSet3ID16 != 0) { atcommand "@alootid +"+#AlootSet3ID16; }
  200. 									if (#AlootSet3ID17 != 0) { atcommand "@alootid +"+#AlootSet3ID17; }
  201. 									if (#AlootSet3ID18 != 0) { atcommand "@alootid +"+#AlootSet3ID18; }
  202. 									if (#AlootSet3ID19 != 0) { atcommand "@alootid +"+#AlootSet3ID19; }
  203. 									if (#AlootSet3ID20 != 0) { atcommand "@alootid +"+#AlootSet3ID20; }
  204. 									if (#AlootSet3ID21 != 0) { atcommand "@alootid +"+#AlootSet3ID21; }
  205. 									if (#AlootSet3ID22 != 0) { atcommand "@alootid +"+#AlootSet3ID22; }
  206. 									if (#AlootSet3ID23 != 0) { atcommand "@alootid +"+#AlootSet3ID23; }
  207. 									if (#AlootSet3ID24 != 0) { atcommand "@alootid +"+#AlootSet3ID24; }
  208. 									if (#AlootSet3ID25 != 0) { atcommand "@alootid +"+#AlootSet3ID25; }
  209. 									close;
  210.  
  211. 								case 2:
  212. 									mes .NPCName$;
  213. 									mes "As you wish. Not activated.";
  214. 									close;
  215. 							}
  216. 							close;
  217. 						}
  218.  
  219. 					case 4:
  220. 						if (@menu$[4] == "Nothing")
  221. 						{
  222. 							mes .NPCName$;
  223. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  224. 							close;
  225. 						} else {
  226. 							mes .NPCName$;
  227. 							mes "You set your Alootid-Set to \""+#LootSet4$+"\".";
  228. 							set set_alootid$, #LootSet4$;
  229. 							set set_alootidnr, 4;
  230. 							mes "Do you want to activate it now?";
  231. 							next;
  232. 							switch(select("Yes:No"))
  233. 							{
  234. 								case 1:
  235. 									mes .NPCName$;
  236. 									mes "Activated!";
  237. 									atcommand "@alootid reset";
  238. 									atcommand "@alootid +"+#AlootSet4ID1;
  239. 									if (#AlootSet4ID2 != 0) { atcommand "@alootid +"+#AlootSet4ID2; }
  240. 									if (#AlootSet4ID3 != 0) { atcommand "@alootid +"+#AlootSet4ID3; }
  241. 									if (#AlootSet4ID4 != 0) { atcommand "@alootid +"+#AlootSet4ID4; }
  242. 									if (#AlootSet4ID5 != 0) { atcommand "@alootid +"+#AlootSet4ID5; }
  243. 									if (#AlootSet4ID6 != 0) { atcommand "@alootid +"+#AlootSet4ID6; }
  244. 									if (#AlootSet4ID7 != 0) { atcommand "@alootid +"+#AlootSet4ID7; }
  245. 									if (#AlootSet4ID8 != 0) { atcommand "@alootid +"+#AlootSet4ID8; }
  246. 									if (#AlootSet4ID9 != 0) { atcommand "@alootid +"+#AlootSet4ID9; }
  247. 									if (#AlootSet4ID10 != 0) { atcommand "@alootid +"+#AlootSet4ID10; }
  248. 									if (#AlootSet4ID11 != 0) { atcommand "@alootid +"+#AlootSet4ID11; }
  249. 									if (#AlootSet4ID12 != 0) { atcommand "@alootid +"+#AlootSet4ID12; }
  250. 									if (#AlootSet4ID13 != 0) { atcommand "@alootid +"+#AlootSet4ID13; }
  251. 									if (#AlootSet4ID14 != 0) { atcommand "@alootid +"+#AlootSet4ID14; }
  252. 									if (#AlootSet4ID15 != 0) { atcommand "@alootid +"+#AlootSet4ID15; }
  253. 									if (#AlootSet4ID16 != 0) { atcommand "@alootid +"+#AlootSet4ID16; }
  254. 									if (#AlootSet4ID17 != 0) { atcommand "@alootid +"+#AlootSet4ID17; }
  255. 									if (#AlootSet4ID18 != 0) { atcommand "@alootid +"+#AlootSet4ID18; }
  256. 									if (#AlootSet4ID19 != 0) { atcommand "@alootid +"+#AlootSet4ID19; }
  257. 									if (#AlootSet4ID20 != 0) { atcommand "@alootid +"+#AlootSet4ID20; }
  258. 									if (#AlootSet4ID21 != 0) { atcommand "@alootid +"+#AlootSet4ID21; }
  259. 									if (#AlootSet4ID22 != 0) { atcommand "@alootid +"+#AlootSet4ID22; }
  260. 									if (#AlootSet4ID23 != 0) { atcommand "@alootid +"+#AlootSet4ID23; }
  261. 									if (#AlootSet4ID24 != 0) { atcommand "@alootid +"+#AlootSet4ID24; }
  262. 									if (#AlootSet4ID25 != 0) { atcommand "@alootid +"+#AlootSet4ID25; }
  263. 									close;
  264.  
  265. 								case 2:
  266. 									mes .NPCName$;
  267. 									mes "As you wish. Not activated.";
  268. 									close;
  269. 							}
  270. 							close;
  271. 						}
  272.  
  273. 					case 5:
  274. 						if (@menu$[5] == "Nothing")
  275. 						{
  276. 							mes .NPCName$;
  277. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  278. 							close;
  279. 						} else {
  280. 							mes .NPCName$;
  281. 							mes "You set your Alootid-Set to \""+#LootSet5$+"\".";
  282. 							set set_alootid$, #LootSet5$;
  283. 							set set_alootidnr, 5;
  284. 							mes "Do you want to activate it now?";
  285. 							next;
  286. 							switch(select("Yes:No"))
  287. 							{
  288. 								case 1:
  289. 									mes .NPCName$;
  290. 									mes "Activated!";
  291. 									atcommand "@alootid reset";
  292. 									atcommand "@alootid +"+#AlootSet5ID1;
  293. 									if (#AlootSet5ID2 != 0) { atcommand "@alootid +"+#AlootSet5ID2; }
  294. 									if (#AlootSet5ID3 != 0) { atcommand "@alootid +"+#AlootSet5ID3; }
  295. 									if (#AlootSet5ID4 != 0) { atcommand "@alootid +"+#AlootSet5ID4; }
  296. 									if (#AlootSet5ID5 != 0) { atcommand "@alootid +"+#AlootSet5ID5; }
  297. 									if (#AlootSet5ID6 != 0) { atcommand "@alootid +"+#AlootSet5ID6; }
  298. 									if (#AlootSet5ID7 != 0) { atcommand "@alootid +"+#AlootSet5ID7; }
  299. 									if (#AlootSet5ID8 != 0) { atcommand "@alootid +"+#AlootSet5ID8; }
  300. 									if (#AlootSet5ID9 != 0) { atcommand "@alootid +"+#AlootSet5ID9; }
  301. 									if (#AlootSet5ID10 != 0) { atcommand "@alootid +"+#AlootSet5ID10; }
  302. 									if (#AlootSet5ID11 != 0) { atcommand "@alootid +"+#AlootSet5ID11; }
  303. 									if (#AlootSet5ID12 != 0) { atcommand "@alootid +"+#AlootSet5ID12; }
  304. 									if (#AlootSet5ID13 != 0) { atcommand "@alootid +"+#AlootSet5ID13; }
  305. 									if (#AlootSet5ID14 != 0) { atcommand "@alootid +"+#AlootSet5ID14; }
  306. 									if (#AlootSet5ID15 != 0) { atcommand "@alootid +"+#AlootSet5ID15; }
  307. 									if (#AlootSet5ID16 != 0) { atcommand "@alootid +"+#AlootSet5ID16; }
  308. 									if (#AlootSet5ID17 != 0) { atcommand "@alootid +"+#AlootSet5ID17; }
  309. 									if (#AlootSet5ID18 != 0) { atcommand "@alootid +"+#AlootSet5ID18; }
  310. 									if (#AlootSet5ID19 != 0) { atcommand "@alootid +"+#AlootSet5ID19; }
  311. 									if (#AlootSet5ID20 != 0) { atcommand "@alootid +"+#AlootSet5ID20; }
  312. 									if (#AlootSet5ID21 != 0) { atcommand "@alootid +"+#AlootSet5ID21; }
  313. 									if (#AlootSet5ID22 != 0) { atcommand "@alootid +"+#AlootSet5ID22; }
  314. 									if (#AlootSet5ID23 != 0) { atcommand "@alootid +"+#AlootSet5ID23; }
  315. 									if (#AlootSet5ID24 != 0) { atcommand "@alootid +"+#AlootSet5ID24; }
  316. 									if (#AlootSet5ID25 != 0) { atcommand "@alootid +"+#AlootSet5ID25; }
  317. 									close;
  318.  
  319. 								case 2:
  320. 									mes .NPCName$;
  321. 									mes "As you wish. Not activated.";
  322. 									close;
  323. 							}
  324. 							close;
  325. 						}
  326.  
  327. 						case 6:
  328. 						if (@menu$[6] == "Nothing")
  329. 						{
  330. 							mes .NPCName$;
  331. 							mes "Sorry, but you don't have a set here. Please make one or choose another.";
  332. 							close;
  333. 						} else {
  334. 							mes .NPCName$;
  335. 							mes "You set your Alootid-Set to \""+#LootSet6$+"\".";
  336. 							set set_alootid$, #LootSet6$;
  337. 							set set_alootidnr, 6;
  338. 							mes "Do you want to activate it now?";
  339. 							next;
  340. 							switch(select("Yes:No"))
  341. 							{
  342. 								case 1:
  343. 									mes .NPCName$;
  344. 									mes "Activated!";
  345. 									atcommand "@alootid reset";
  346. 									atcommand "@alootid +"+#AlootSet6ID1;
  347. 									if (#AlootSet6ID2 != 0) { atcommand "@alootid +"+#AlootSet6ID2; }
  348. 									if (#AlootSet6ID3 != 0) { atcommand "@alootid +"+#AlootSet6ID3; }
  349. 									if (#AlootSet6ID4 != 0) { atcommand "@alootid +"+#AlootSet6ID4; }
  350. 									if (#AlootSet6ID5 != 0) { atcommand "@alootid +"+#AlootSet6ID5; }
  351. 									if (#AlootSet6ID6 != 0) { atcommand "@alootid +"+#AlootSet6ID6; }
  352. 									if (#AlootSet6ID7 != 0) { atcommand "@alootid +"+#AlootSet6ID7; }
  353. 									if (#AlootSet6ID8 != 0) { atcommand "@alootid +"+#AlootSet6ID8; }
  354. 									if (#AlootSet6ID9 != 0) { atcommand "@alootid +"+#AlootSet6ID9; }
  355. 									if (#AlootSet6ID10 != 0) { atcommand "@alootid +"+#AlootSet6ID10; }
  356. 									if (#AlootSet6ID11 != 0) { atcommand "@alootid +"+#AlootSet6ID11; }
  357. 									if (#AlootSet6ID12 != 0) { atcommand "@alootid +"+#AlootSet6ID12; }
  358. 									if (#AlootSet6ID13 != 0) { atcommand "@alootid +"+#AlootSet6ID13; }
  359. 									if (#AlootSet6ID14 != 0) { atcommand "@alootid +"+#AlootSet6ID14; }
  360. 									if (#AlootSet6ID15 != 0) { atcommand "@alootid +"+#AlootSet6ID15; }
  361. 									if (#AlootSet6ID16 != 0) { atcommand "@alootid +"+#AlootSet6ID16; }
  362. 									if (#AlootSet6ID17 != 0) { atcommand "@alootid +"+#AlootSet6ID17; }
  363. 									if (#AlootSet6ID18 != 0) { atcommand "@alootid +"+#AlootSet6ID18; }
  364. 									if (#AlootSet6ID19 != 0) { atcommand "@alootid +"+#AlootSet6ID19; }
  365. 									if (#AlootSet6ID20 != 0) { atcommand "@alootid +"+#AlootSet6ID20; }
  366. 									if (#AlootSet6ID21 != 0) { atcommand "@alootid +"+#AlootSet6ID21; }
  367. 									if (#AlootSet6ID22 != 0) { atcommand "@alootid +"+#AlootSet6ID22; }
  368. 									if (#AlootSet6ID23 != 0) { atcommand "@alootid +"+#AlootSet6ID23; }
  369. 									if (#AlootSet6ID24 != 0) { atcommand "@alootid +"+#AlootSet6ID24; }
  370. 									if (#AlootSet6ID25 != 0) { atcommand "@alootid +"+#AlootSet6ID25; }
  371. 									close;
  372.  
  373. 								case 2:
  374. 									mes .NPCName$;
  375. 									mes "As you wish. Not activated.";
  376. 									close;
  377. 							}
  378. 							close;
  379. 						}
  380. 				}
  381. 			} else {
  382. 				mes .NPCName$;
  383. 				mes "The @alootid has been toggled ^BE1C1COFF^000000";
  384. 				set set_alootid, 0;
  385. 				atcommand "@alootid reset";
  386. 				mes "Do you want to toggle it on with a new Set?";
  387. 				next;
  388. 				switch(select("Yes:No"))
  389. 				{
  390. 					case 1:
  391. 						goto L_Easyway;
  392. 						break;
  393.  
  394. 					case 2:
  395. 						mes .NPCName$;
  396. 						mes "Okay~";
  397. 						close;
  398. 				}
  399. 				close;
  400. 			}
  401.  
  402. 		case 2:
  403. 			mes .NPCName$;
  404. 			mes "Here I can create your Alootid-Sets.";
  405. 			mes "Please choose an empty Set.";
  406. 			mes "Empty/Unused Sets are shown with \"Nothing\".";
  407. 			if (#LootSet1$ == "") { set @menu$[1], "Nothing"; } else { set @menu$[1], #LootSet1$; }
  408. 			if (#LootSet2$ == "") { set @menu$[2], "Nothing"; } else { set @menu$[2], #LootSet2$; }
  409. 			if (#LootSet3$ == "") { set @menu$[3], "Nothing"; } else { set @menu$[3], #LootSet3$; }
  410. 			if (#LootSet4$ == "") { set @menu$[4], "Nothing"; } else { set @menu$[4], #LootSet4$; }
  411. 			if (#LootSet5$ == "") { set @menu$[5], "Nothing"; } else { set @menu$[5], #LootSet5$; }
  412. 			if (#LootSet6$ == "") { set @menu$[6], "Nothing"; } else { set @menu$[6], #LootSet6$; }
  413. 			next;
  414. 			switch(select(@menu$[1],@menu$[2],@menu$[3],@menu$[4],@menu$[5],@menu$[6]))
  415. 			{
  416. 				case 1:
  417. 					if(#LootSet1$ == "")
  418. 					{
  419. 						mes .NPCName$;
  420. 						mes "This is an empty Set. Please choose a name for this Set first.";
  421. 						next;
  422. 						input @input$;
  423. 						if (@input$ == "")
  424. 						{
  425. 							mes .NPCName$;
  426. 							mes "Sorry, this is not a valid name.";
  427. 							close;
  428. 						}
  429. 						set #LootSet1$, @input$;
  430. 						mes .NPCName$;
  431. 						mes "Your Set got called: \""+#LootSet1$+"\".";
  432. 						mes "Now please input the Item ID for the first Item.";
  433. 						mes "(If you want to finish, type in 0)";
  434. 						set .@counter, 1;
  435. 						next;
  436. 						do
  437. 						{
  438. 							input @input;
  439. 							if(@input == 0)
  440. 							{
  441. 								next;
  442. 							} else {
  443. 								if(getiteminfo(@input,0) == -1)
  444. 								{
  445. 									mes .NPCName$;
  446. 									mes "Sorry, there is no such Item ID.";
  447. 									mes "Please try again.";
  448. 									next;
  449. 								} else {
  450. 									set .@IDsleft, 25 - .@counter;
  451. 									if (.@IDsleft == 0)
  452. 									{
  453. 										mes .NPCName$;
  454. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  455. 										next;
  456. 									} else {
  457. 										mes .NPCName$;
  458. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  459. 										mes "You may add "+.@IDsleft+" Items.";
  460. 										setd "#AlootSet1ID"+.@counter,@input;
  461. 										set .@counter, .@counter + 1;
  462. 										next;
  463. 									}
  464. 								}
  465. 							}
  466. 						} while(@input != 0);
  467. 						if (#AlootSet1ID1 == 0)
  468. 						{
  469. 							mes .NPCName$;
  470. 							mes "You canceled at the first Item. I'll reset this Set then.";
  471. 							set #LootSet1$, "";
  472. 							close;
  473. 						}
  474. 						mes .NPCName$;
  475. 						mes "You have finished this Set.";
  476. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  477. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  478. 						next;
  479. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  480. 						{
  481. 							case 1:
  482. 								mes .NPCName$;
  483. 								mes "Activated!";
  484. 								atcommand "@alootid reset";
  485. 									atcommand "@alootid +"+#AlootSet1ID1;
  486. 									if (#AlootSet1ID2 != 0) { atcommand "@alootid +"+#AlootSet1ID2; }
  487. 									if (#AlootSet1ID3 != 0) { atcommand "@alootid +"+#AlootSet1ID3; }
  488. 									if (#AlootSet1ID4 != 0) { atcommand "@alootid +"+#AlootSet1ID4; }
  489. 									if (#AlootSet1ID5 != 0) { atcommand "@alootid +"+#AlootSet1ID5; }
  490. 									if (#AlootSet1ID6 != 0) { atcommand "@alootid +"+#AlootSet1ID6; }
  491. 									if (#AlootSet1ID7 != 0) { atcommand "@alootid +"+#AlootSet1ID7; }
  492. 									if (#AlootSet1ID8 != 0) { atcommand "@alootid +"+#AlootSet1ID8; }
  493. 									if (#AlootSet1ID9 != 0) { atcommand "@alootid +"+#AlootSet1ID9; }
  494. 									if (#AlootSet1ID10 != 0) { atcommand "@alootid +"+#AlootSet1ID10; }
  495. 									if (#AlootSet1ID11 != 0) { atcommand "@alootid +"+#AlootSet1ID11; }
  496. 									if (#AlootSet1ID12 != 0) { atcommand "@alootid +"+#AlootSet1ID12; }
  497. 									if (#AlootSet1ID13 != 0) { atcommand "@alootid +"+#AlootSet1ID13; }
  498. 									if (#AlootSet1ID14 != 0) { atcommand "@alootid +"+#AlootSet1ID14; }
  499. 									if (#AlootSet1ID15 != 0) { atcommand "@alootid +"+#AlootSet1ID15; }
  500. 									if (#AlootSet1ID16 != 0) { atcommand "@alootid +"+#AlootSet1ID16; }
  501. 									if (#AlootSet1ID17 != 0) { atcommand "@alootid +"+#AlootSet1ID17; }
  502. 									if (#AlootSet1ID18 != 0) { atcommand "@alootid +"+#AlootSet1ID18; }
  503. 									if (#AlootSet1ID19 != 0) { atcommand "@alootid +"+#AlootSet1ID19; }
  504. 									if (#AlootSet1ID20 != 0) { atcommand "@alootid +"+#AlootSet1ID20; }
  505. 									if (#AlootSet1ID21 != 0) { atcommand "@alootid +"+#AlootSet1ID21; }
  506. 									if (#AlootSet1ID22 != 0) { atcommand "@alootid +"+#AlootSet1ID22; }
  507. 									if (#AlootSet1ID23 != 0) { atcommand "@alootid +"+#AlootSet1ID23; }
  508. 									if (#AlootSet1ID24 != 0) { atcommand "@alootid +"+#AlootSet1ID24; }
  509. 									if (#AlootSet1ID25 != 0) { atcommand "@alootid +"+#AlootSet1ID25; }
  510. 								close;
  511.  
  512. 							case 2:
  513. 								mes .NPCName$;
  514. 								mes "Then come back, if you want to activate it.";
  515. 								close;
  516. 						}
  517. 						close;
  518. 					} else {
  519. 						mes .NPCName$;
  520. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  521. 						mes "The Items you used in this set are:";
  522. 						mes "Item 1: "+getitemname(#AlootSet1ID1);
  523. 						if (#AlootSet1ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet1ID2); }
  524. 						if (#AlootSet1ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet1ID3); }
  525. 						if (#AlootSet1ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet1ID4); }
  526. 						if (#AlootSet1ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet1ID5); }
  527. 						if (#AlootSet1ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet1ID6); }
  528. 						if (#AlootSet1ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet1ID7); }
  529. 						if (#AlootSet1ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet1ID8); }
  530. 						if (#AlootSet1ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet1ID9); }
  531. 						if (#AlootSet1ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet1ID10); }
  532. 						if (#AlootSet1ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet1ID11); }
  533. 						if (#AlootSet1ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet1ID12); }
  534. 						if (#AlootSet1ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet1ID13); }
  535. 						if (#AlootSet1ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet1ID14); }
  536. 						if (#AlootSet1ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet1ID15); }
  537. 						if (#AlootSet1ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet1ID16); }
  538. 						if (#AlootSet1ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet1ID17); }
  539. 						if (#AlootSet1ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet1ID18); }
  540. 						if (#AlootSet1ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet1ID19); }
  541. 						if (#AlootSet1ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet1ID20); }
  542. 						if (#AlootSet1ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet1ID21); }
  543. 						if (#AlootSet1ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet1ID22); }
  544. 						if (#AlootSet1ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet1ID23); }
  545. 						if (#AlootSet1ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet1ID24); }
  546. 						if (#AlootSet1ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet1ID25); }
  547.  
  548. 						close;
  549. 					}
  550.  
  551. 				case 2:
  552. 					if(#LootSet2$ == "")
  553. 					{
  554. 						mes .NPCName$;
  555. 						mes "This is an empty Set. Please choose a name for this Set first.";
  556. 						next;
  557. 						input @input$;
  558. 						if (@input$ == "")
  559. 						{
  560. 							mes .NPCName$;
  561. 							mes "Sorry, this is not a valid name.";
  562. 							close;
  563. 						}
  564. 						set #LootSet2$, @input$;
  565. 						mes .NPCName$;
  566. 						mes "Your Set got called: \""+#LootSet2$+"\".";
  567. 						mes "Now please input the Item ID for the first Item.";
  568. 						mes "(If you want to finish, type in 0)";
  569. 						set .@counter, 1;
  570. 						next;
  571. 						do
  572. 						{
  573. 							input @input;
  574. 							if(@input == 0)
  575. 							{
  576. 								next;
  577. 							} else {
  578. 								if(getiteminfo(@input,0) == -1)
  579. 								{
  580. 									mes .NPCName$;
  581. 									mes "Sorry, there is no such Item ID.";
  582. 									mes "Please try again.";
  583. 									next;
  584. 								} else {
  585. 									set .@IDsleft, 25 - .@counter;
  586. 									if (.@IDsleft == 0)
  587. 									{
  588. 										mes .NPCName$;
  589. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  590. 										next;
  591. 									} else {
  592. 										mes .NPCName$;
  593. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  594. 										mes "You may add "+.@IDsleft+" Items.";
  595. 										setd "#AlootSet2ID"+.@counter,@input;
  596. 										set .@counter, .@counter + 1;
  597. 										next;
  598. 									}
  599. 								}
  600. 							}
  601. 						} while(@input != 0);
  602. 						if (#AlootSet2ID1 == 0)
  603. 						{
  604. 							mes .NPCName$;
  605. 							mes "You canceled at the first Item. I'll reset this Set then.";
  606. 							set #LootSet2$, "";
  607. 							close;
  608. 						}
  609. 						mes .NPCName$;
  610. 						mes "You have finished this Set.";
  611. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  612. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  613. 						next;
  614. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  615. 						{
  616. 							case 1:
  617. 								mes .NPCName$;
  618. 								mes "Activated!";
  619. 								atcommand "@alootid reset";
  620. 									atcommand "@alootid +"+#AlootSet2ID1;
  621. 									if (#AlootSet2ID2 != 0) { atcommand "@alootid +"+#AlootSet2ID2; }
  622. 									if (#AlootSet2ID3 != 0) { atcommand "@alootid +"+#AlootSet2ID3; }
  623. 									if (#AlootSet2ID4 != 0) { atcommand "@alootid +"+#AlootSet2ID4; }
  624. 									if (#AlootSet2ID5 != 0) { atcommand "@alootid +"+#AlootSet2ID5; }
  625. 									if (#AlootSet2ID6 != 0) { atcommand "@alootid +"+#AlootSet2ID6; }
  626. 									if (#AlootSet2ID7 != 0) { atcommand "@alootid +"+#AlootSet2ID7; }
  627. 									if (#AlootSet2ID8 != 0) { atcommand "@alootid +"+#AlootSet2ID8; }
  628. 									if (#AlootSet2ID9 != 0) { atcommand "@alootid +"+#AlootSet2ID9; }
  629. 									if (#AlootSet2ID10 != 0) { atcommand "@alootid +"+#AlootSet2ID10; }
  630. 									if (#AlootSet2ID11 != 0) { atcommand "@alootid +"+#AlootSet2ID11; }
  631. 									if (#AlootSet2ID12 != 0) { atcommand "@alootid +"+#AlootSet2ID12; }
  632. 									if (#AlootSet2ID13 != 0) { atcommand "@alootid +"+#AlootSet2ID13; }
  633. 									if (#AlootSet2ID14 != 0) { atcommand "@alootid +"+#AlootSet2ID14; }
  634. 									if (#AlootSet2ID15 != 0) { atcommand "@alootid +"+#AlootSet2ID15; }
  635. 									if (#AlootSet2ID16 != 0) { atcommand "@alootid +"+#AlootSet2ID16; }
  636. 									if (#AlootSet2ID17 != 0) { atcommand "@alootid +"+#AlootSet2ID17; }
  637. 									if (#AlootSet2ID18 != 0) { atcommand "@alootid +"+#AlootSet2ID18; }
  638. 									if (#AlootSet2ID19 != 0) { atcommand "@alootid +"+#AlootSet2ID19; }
  639. 									if (#AlootSet2ID20 != 0) { atcommand "@alootid +"+#AlootSet2ID20; }
  640. 									if (#AlootSet2ID21 != 0) { atcommand "@alootid +"+#AlootSet2ID21; }
  641. 									if (#AlootSet2ID22 != 0) { atcommand "@alootid +"+#AlootSet2ID22; }
  642. 									if (#AlootSet2ID23 != 0) { atcommand "@alootid +"+#AlootSet2ID23; }
  643. 									if (#AlootSet2ID24 != 0) { atcommand "@alootid +"+#AlootSet2ID24; }
  644. 									if (#AlootSet2ID25 != 0) { atcommand "@alootid +"+#AlootSet2ID25; }
  645. 								close;
  646.  
  647. 							case 2:
  648. 								mes .NPCName$;
  649. 								mes "Then come back, if you want to activate it.";
  650. 								close;
  651. 						}
  652. 						close;
  653. 					} else {
  654. 						mes .NPCName$;
  655. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  656. 						mes "The Items you used in this set are:";
  657. 						mes "Item 1: "+getitemname(#AlootSet2ID1);
  658. 						if (#AlootSet2ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet2ID2); }
  659. 						if (#AlootSet2ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet2ID3); }
  660. 						if (#AlootSet2ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet2ID4); }
  661. 						if (#AlootSet2ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet2ID5); }
  662. 						if (#AlootSet2ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet2ID6); }
  663. 						if (#AlootSet2ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet2ID7); }
  664. 						if (#AlootSet2ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet2ID8); }
  665. 						if (#AlootSet2ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet2ID9); }
  666. 						if (#AlootSet2ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet2ID10); }
  667. 						if (#AlootSet2ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet2ID11); }
  668. 						if (#AlootSet2ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet2ID12); }
  669. 						if (#AlootSet2ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet2ID13); }
  670. 						if (#AlootSet2ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet2ID14); }
  671. 						if (#AlootSet2ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet2ID15); }
  672. 						if (#AlootSet2ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet2ID16); }
  673. 						if (#AlootSet2ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet2ID17); }
  674. 						if (#AlootSet2ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet2ID18); }
  675. 						if (#AlootSet2ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet2ID19); }
  676. 						if (#AlootSet2ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet2ID20); }
  677. 						if (#AlootSet2ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet2ID21); }
  678. 						if (#AlootSet2ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet2ID22); }
  679. 						if (#AlootSet2ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet2ID23); }
  680. 						if (#AlootSet2ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet2ID24); }
  681. 						if (#AlootSet2ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet2ID25); }
  682. 						close;
  683. 					}
  684.  
  685. 				case 3:
  686. 					if(#LootSet3$ == "")
  687. 					{
  688. 						mes .NPCName$;
  689. 						mes "This is an empty Set. Please choose a name for this Set first.";
  690. 						next;
  691. 						input @input$;
  692. 						if (@input$ == "")
  693. 						{
  694. 							mes .NPCName$;
  695. 							mes "Sorry, this is not a valid name.";
  696. 							close;
  697. 						}
  698. 						set #LootSet3$, @input$;
  699. 						mes .NPCName$;
  700. 						mes "Your Set got called: \""+#LootSet3$+"\".";
  701. 						mes "Now please input the Item ID for the first Item.";
  702. 						mes "(If you want to finish, type in 0)";
  703. 						set .@counter, 1;
  704. 						next;
  705. 						do
  706. 						{
  707. 							input @input;
  708. 							if(@input == 0)
  709. 							{
  710. 								next;
  711. 							} else {
  712. 								if(getiteminfo(@input,0) == -1)
  713. 								{
  714. 									mes .NPCName$;
  715. 									mes "Sorry, there is no such Item ID.";
  716. 									mes "Please try again.";
  717. 									next;
  718. 								} else {
  719. 									set .@IDsleft, 25 - .@counter;
  720. 									if (.@IDsleft == 0)
  721. 									{
  722. 										mes .NPCName$;
  723. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  724. 										next;
  725. 									} else {
  726. 										mes .NPCName$;
  727. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  728. 										mes "You may add "+.@IDsleft+" Items.";
  729. 										setd "#AlootSet3ID"+.@counter,@input;
  730. 										set .@counter, .@counter + 1;
  731. 										next;
  732. 									}
  733. 								}
  734. 							}
  735. 						} while(@input != 0);
  736. 						if (#AlootSet3ID1 == 0)
  737. 						{
  738. 							mes .NPCName$;
  739. 							mes "You canceled at the first Item. I'll reset this Set then.";
  740. 							set #LootSet3$, "";
  741. 							close;
  742. 						}
  743. 						mes .NPCName$;
  744. 						mes "You have finished this Set.";
  745. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  746. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  747. 						next;
  748. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  749. 						{
  750. 							case 1:
  751. 								mes .NPCName$;
  752. 								mes "Activated!";
  753. 								atcommand "@alootid reset";
  754. 									atcommand "@alootid +"+#AlootSet3ID1;
  755. 									if (#AlootSet3ID2 != 0) { atcommand "@alootid +"+#AlootSet3ID2; }
  756. 									if (#AlootSet3ID3 != 0) { atcommand "@alootid +"+#AlootSet3ID3; }
  757. 									if (#AlootSet3ID4 != 0) { atcommand "@alootid +"+#AlootSet3ID4; }
  758. 									if (#AlootSet3ID5 != 0) { atcommand "@alootid +"+#AlootSet3ID5; }
  759. 									if (#AlootSet3ID6 != 0) { atcommand "@alootid +"+#AlootSet3ID6; }
  760. 									if (#AlootSet3ID7 != 0) { atcommand "@alootid +"+#AlootSet3ID7; }
  761. 									if (#AlootSet3ID8 != 0) { atcommand "@alootid +"+#AlootSet3ID8; }
  762. 									if (#AlootSet3ID9 != 0) { atcommand "@alootid +"+#AlootSet3ID9; }
  763. 									if (#AlootSet3ID10 != 0) { atcommand "@alootid +"+#AlootSet3ID10; }
  764. 									if (#AlootSet3ID11 != 0) { atcommand "@alootid +"+#AlootSet3ID11; }
  765. 									if (#AlootSet3ID12 != 0) { atcommand "@alootid +"+#AlootSet3ID12; }
  766. 									if (#AlootSet3ID13 != 0) { atcommand "@alootid +"+#AlootSet3ID13; }
  767. 									if (#AlootSet3ID14 != 0) { atcommand "@alootid +"+#AlootSet3ID14; }
  768. 									if (#AlootSet3ID15 != 0) { atcommand "@alootid +"+#AlootSet3ID15; }
  769. 									if (#AlootSet3ID16 != 0) { atcommand "@alootid +"+#AlootSet3ID16; }
  770. 									if (#AlootSet3ID17 != 0) { atcommand "@alootid +"+#AlootSet3ID17; }
  771. 									if (#AlootSet3ID18 != 0) { atcommand "@alootid +"+#AlootSet3ID18; }
  772. 									if (#AlootSet3ID19 != 0) { atcommand "@alootid +"+#AlootSet3ID19; }
  773. 									if (#AlootSet3ID20 != 0) { atcommand "@alootid +"+#AlootSet3ID20; }
  774. 									if (#AlootSet3ID21 != 0) { atcommand "@alootid +"+#AlootSet3ID21; }
  775. 									if (#AlootSet3ID22 != 0) { atcommand "@alootid +"+#AlootSet3ID22; }
  776. 									if (#AlootSet3ID23 != 0) { atcommand "@alootid +"+#AlootSet3ID23; }
  777. 									if (#AlootSet3ID24 != 0) { atcommand "@alootid +"+#AlootSet3ID24; }
  778. 									if (#AlootSet3ID25 != 0) { atcommand "@alootid +"+#AlootSet3ID25; }
  779. 								close;
  780.  
  781. 							case 2:
  782. 								mes .NPCName$;
  783. 								mes "Then come back, if you want to activate it.";
  784. 								close;
  785. 						}
  786. 						close;
  787. 					} else {
  788. 						mes .NPCName$;
  789. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  790. 						mes "The Items you used in this set are:";
  791. 						mes "Item 1: "+getitemname(#AlootSet3ID1);
  792. 						if (#AlootSet3ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet3ID2); }
  793. 						if (#AlootSet3ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet3ID3); }
  794. 						if (#AlootSet3ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet3ID4); }
  795. 						if (#AlootSet3ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet3ID5); }
  796. 						if (#AlootSet3ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet3ID6); }
  797. 						if (#AlootSet3ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet3ID7); }
  798. 						if (#AlootSet3ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet3ID8); }
  799. 						if (#AlootSet3ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet3ID9); }
  800. 						if (#AlootSet3ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet3ID10); }
  801. 						if (#AlootSet3ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet3ID11); }
  802. 						if (#AlootSet3ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet3ID12); }
  803. 						if (#AlootSet3ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet3ID13); }
  804. 						if (#AlootSet3ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet3ID14); }
  805. 						if (#AlootSet3ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet3ID15); }
  806. 						if (#AlootSet3ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet3ID16); }
  807. 						if (#AlootSet3ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet3ID17); }
  808. 						if (#AlootSet3ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet3ID18); }
  809. 						if (#AlootSet3ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet3ID19); }
  810. 						if (#AlootSet3ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet3ID20); }
  811. 						if (#AlootSet3ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet3ID21); }
  812. 						if (#AlootSet3ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet3ID22); }
  813. 						if (#AlootSet3ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet3ID23); }
  814. 						if (#AlootSet3ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet3ID24); }
  815. 						if (#AlootSet3ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet3ID25); }
  816. 						close;
  817. 					}
  818.  
  819. 				case 4:
  820. 					if(#LootSet4$ == "")
  821. 					{
  822. 						mes .NPCName$;
  823. 						mes "This is an empty Set. Please choose a name for this Set first.";
  824. 						next;
  825. 						input @input$;
  826. 						if (@input$ == "")
  827. 						{
  828. 							mes .NPCName$;
  829. 							mes "Sorry, this is not a valid name.";
  830. 							close;
  831. 						}
  832. 						set #LootSet4$, @input$;
  833. 						mes .NPCName$;
  834. 						mes "Your Set got called: \""+#LootSet4$+"\".";
  835. 						mes "Now please input the Item ID for the first Item.";
  836. 						mes "(If you want to finish, type in 0)";
  837. 						set .@counter, 1;
  838. 						next;
  839. 						do
  840. 						{
  841. 							input @input;
  842. 							if(@input == 0)
  843. 							{
  844. 								next;
  845. 							} else {
  846. 								if(getiteminfo(@input,0) == -1)
  847. 								{
  848. 									mes .NPCName$;
  849. 									mes "Sorry, there is no such Item ID.";
  850. 									mes "Please try again.";
  851. 									next;
  852. 								} else {
  853. 									set .@IDsleft, 25 - .@counter;
  854. 									if (.@IDsleft == 0)
  855. 									{
  856. 										mes .NPCName$;
  857. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  858. 										next;
  859. 									} else {
  860. 										mes .NPCName$;
  861. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  862. 										mes "You may add "+.@IDsleft+" Items.";
  863. 										setd "#AlootSet4ID"+.@counter,@input;
  864. 										set .@counter, .@counter + 1;
  865. 										next;
  866. 									}
  867. 								}
  868. 							}
  869. 						} while(@input != 0);
  870. 						if (#AlootSet4ID1 == 0)
  871. 						{
  872. 							mes .NPCName$;
  873. 							mes "You canceled at the first Item. I'll reset this Set then.";
  874. 							set #LootSet4$, "";
  875. 							close;
  876. 						}
  877. 						mes .NPCName$;
  878. 						mes "You have finished this Set.";
  879. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  880. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  881. 						next;
  882. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  883. 						{
  884. 							case 1:
  885. 								mes .NPCName$;
  886. 								mes "Activated!";
  887. 								atcommand "@alootid reset";
  888. 									atcommand "@alootid +"+#AlootSet4ID1;
  889. 									if (#AlootSet4ID2 != 0) { atcommand "@alootid +"+#AlootSet4ID2; }
  890. 									if (#AlootSet4ID3 != 0) { atcommand "@alootid +"+#AlootSet4ID3; }
  891. 									if (#AlootSet4ID4 != 0) { atcommand "@alootid +"+#AlootSet4ID4; }
  892. 									if (#AlootSet4ID5 != 0) { atcommand "@alootid +"+#AlootSet4ID5; }
  893. 									if (#AlootSet4ID6 != 0) { atcommand "@alootid +"+#AlootSet4ID6; }
  894. 									if (#AlootSet4ID7 != 0) { atcommand "@alootid +"+#AlootSet4ID7; }
  895. 									if (#AlootSet4ID8 != 0) { atcommand "@alootid +"+#AlootSet4ID8; }
  896. 									if (#AlootSet4ID9 != 0) { atcommand "@alootid +"+#AlootSet4ID9; }
  897. 									if (#AlootSet4ID10 != 0) { atcommand "@alootid +"+#AlootSet4ID10; }
  898. 									if (#AlootSet4ID11 != 0) { atcommand "@alootid +"+#AlootSet4ID11; }
  899. 									if (#AlootSet4ID12 != 0) { atcommand "@alootid +"+#AlootSet4ID12; }
  900. 									if (#AlootSet4ID13 != 0) { atcommand "@alootid +"+#AlootSet4ID13; }
  901. 									if (#AlootSet4ID14 != 0) { atcommand "@alootid +"+#AlootSet4ID14; }
  902. 									if (#AlootSet4ID15 != 0) { atcommand "@alootid +"+#AlootSet4ID15; }
  903. 									if (#AlootSet4ID16 != 0) { atcommand "@alootid +"+#AlootSet4ID16; }
  904. 									if (#AlootSet4ID17 != 0) { atcommand "@alootid +"+#AlootSet4ID17; }
  905. 									if (#AlootSet4ID18 != 0) { atcommand "@alootid +"+#AlootSet4ID18; }
  906. 									if (#AlootSet4ID19 != 0) { atcommand "@alootid +"+#AlootSet4ID19; }
  907. 									if (#AlootSet4ID20 != 0) { atcommand "@alootid +"+#AlootSet4ID20; }
  908. 									if (#AlootSet4ID21 != 0) { atcommand "@alootid +"+#AlootSet4ID21; }
  909. 									if (#AlootSet4ID22 != 0) { atcommand "@alootid +"+#AlootSet4ID22; }
  910. 									if (#AlootSet4ID23 != 0) { atcommand "@alootid +"+#AlootSet4ID23; }
  911. 									if (#AlootSet4ID24 != 0) { atcommand "@alootid +"+#AlootSet4ID24; }
  912. 									if (#AlootSet4ID25 != 0) { atcommand "@alootid +"+#AlootSet4ID25; }
  913. 								close;
  914.  
  915. 							case 2:
  916. 								mes .NPCName$;
  917. 								mes "Then come back, if you want to activate it.";
  918. 								close;
  919. 						}
  920. 						close;
  921. 					} else {
  922. 						mes .NPCName$;
  923. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  924. 						mes "The Items you used in this set are:";
  925. 						mes "Item 1: "+getitemname(#AlootSet4ID1);
  926. 						if (#AlootSet4ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet4ID2); }
  927. 						if (#AlootSet4ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet4ID3); }
  928. 						if (#AlootSet4ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet4ID4); }
  929. 						if (#AlootSet4ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet4ID5); }
  930. 						if (#AlootSet4ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet4ID6); }
  931. 						if (#AlootSet4ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet4ID7); }
  932. 						if (#AlootSet4ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet4ID8); }
  933. 						if (#AlootSet4ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet4ID9); }
  934. 						if (#AlootSet4ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet4ID10); }
  935. 						if (#AlootSet4ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet4ID11); }
  936. 						if (#AlootSet4ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet4ID12); }
  937. 						if (#AlootSet4ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet4ID13); }
  938. 						if (#AlootSet4ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet4ID14); }
  939. 						if (#AlootSet4ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet4ID15); }
  940. 						if (#AlootSet4ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet4ID16); }
  941. 						if (#AlootSet4ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet4ID17); }
  942. 						if (#AlootSet4ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet4ID18); }
  943. 						if (#AlootSet4ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet4ID19); }
  944. 						if (#AlootSet4ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet4ID20); }
  945. 						if (#AlootSet4ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet4ID21); }
  946. 						if (#AlootSet4ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet4ID22); }
  947. 						if (#AlootSet4ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet4ID23); }
  948. 						if (#AlootSet4ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet4ID24); }
  949. 						if (#AlootSet4ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet4ID25); }
  950. 						close;
  951. 					}
  952.  
  953. 				case 5:
  954. 					if(#LootSet5$ == "")
  955. 					{
  956. 						mes .NPCName$;
  957. 						mes "This is an empty Set. Please choose a name for this Set first.";
  958. 						next;
  959. 						input @input$;
  960. 						if (@input$ == "")
  961. 						{
  962. 							mes .NPCName$;
  963. 							mes "Sorry, this is not a valid name.";
  964. 							close;
  965. 						}
  966. 						set #LootSet5$, @input$;
  967. 						mes .NPCName$;
  968. 						mes "Your Set got called: \""+#LootSet5$+"\".";
  969. 						mes "Now please input the Item ID for the first Item.";
  970. 						mes "(If you want to finish, type in 0)";
  971. 						set .@counter, 1;
  972. 						next;
  973. 						do
  974. 						{
  975. 							input @input;
  976. 							if(@input == 0)
  977. 							{
  978. 								next;
  979. 							} else {
  980. 								if(getiteminfo(@input,0) == -1)
  981. 								{
  982. 									mes .NPCName$;
  983. 									mes "Sorry, there is no such Item ID.";
  984. 									mes "Please try again.";
  985. 									next;
  986. 								} else {
  987. 									set .@IDsleft, 25 - .@counter;
  988. 									if (.@IDsleft == 0)
  989. 									{
  990. 										mes .NPCName$;
  991. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  992. 										next;
  993. 									} else {
  994. 										mes .NPCName$;
  995. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  996. 										mes "You may add "+.@IDsleft+" Items.";
  997. 										setd "#AlootSet5ID"+.@counter,@input;
  998. 										set .@counter, .@counter + 1;
  999. 										next;
  1000. 									}
  1001. 								}
  1002. 							}
  1003. 						} while(@input != 0);
  1004. 						if (#AlootSet5ID1 == 0)
  1005. 						{
  1006. 							mes .NPCName$;
  1007. 							mes "You canceled at the first Item. I'll reset this Set then.";
  1008. 							set #LootSet5$, "";
  1009. 							close;
  1010. 						}
  1011. 						mes .NPCName$;
  1012. 						mes "You have finished this Set.";
  1013. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  1014. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  1015. 						next;
  1016. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  1017. 						{
  1018. 							case 1:
  1019. 								mes .NPCName$;
  1020. 								mes "Activated!";
  1021. 								atcommand "@alootid reset";
  1022. 									atcommand "@alootid +"+#AlootSet5ID1;
  1023. 									if (#AlootSet5ID2 != 0) { atcommand "@alootid +"+#AlootSet5ID2; }
  1024. 									if (#AlootSet5ID3 != 0) { atcommand "@alootid +"+#AlootSet5ID3; }
  1025. 									if (#AlootSet5ID4 != 0) { atcommand "@alootid +"+#AlootSet5ID4; }
  1026. 									if (#AlootSet5ID5 != 0) { atcommand "@alootid +"+#AlootSet5ID5; }
  1027. 									if (#AlootSet5ID6 != 0) { atcommand "@alootid +"+#AlootSet5ID6; }
  1028. 									if (#AlootSet5ID7 != 0) { atcommand "@alootid +"+#AlootSet5ID7; }
  1029. 									if (#AlootSet5ID8 != 0) { atcommand "@alootid +"+#AlootSet5ID8; }
  1030. 									if (#AlootSet5ID9 != 0) { atcommand "@alootid +"+#AlootSet5ID9; }
  1031. 									if (#AlootSet5ID10 != 0) { atcommand "@alootid +"+#AlootSet5ID10; }
  1032. 									if (#AlootSet5ID11 != 0) { atcommand "@alootid +"+#AlootSet5ID11; }
  1033. 									if (#AlootSet5ID12 != 0) { atcommand "@alootid +"+#AlootSet5ID12; }
  1034. 									if (#AlootSet5ID13 != 0) { atcommand "@alootid +"+#AlootSet5ID13; }
  1035. 									if (#AlootSet5ID14 != 0) { atcommand "@alootid +"+#AlootSet5ID14; }
  1036. 									if (#AlootSet5ID15 != 0) { atcommand "@alootid +"+#AlootSet5ID15; }
  1037. 									if (#AlootSet5ID16 != 0) { atcommand "@alootid +"+#AlootSet5ID16; }
  1038. 									if (#AlootSet5ID17 != 0) { atcommand "@alootid +"+#AlootSet5ID17; }
  1039. 									if (#AlootSet5ID18 != 0) { atcommand "@alootid +"+#AlootSet5ID18; }
  1040. 									if (#AlootSet5ID19 != 0) { atcommand "@alootid +"+#AlootSet5ID19; }
  1041. 									if (#AlootSet5ID20 != 0) { atcommand "@alootid +"+#AlootSet5ID20; }
  1042. 									if (#AlootSet5ID21 != 0) { atcommand "@alootid +"+#AlootSet5ID21; }
  1043. 									if (#AlootSet5ID22 != 0) { atcommand "@alootid +"+#AlootSet5ID22; }
  1044. 									if (#AlootSet5ID23 != 0) { atcommand "@alootid +"+#AlootSet5ID23; }
  1045. 									if (#AlootSet5ID24 != 0) { atcommand "@alootid +"+#AlootSet5ID24; }
  1046. 									if (#AlootSet5ID25 != 0) { atcommand "@alootid +"+#AlootSet5ID25; }
  1047. 								close;
  1048.  
  1049. 							case 2:
  1050. 								mes .NPCName$;
  1051. 								mes "Then come back, if you want to activate it.";
  1052. 								close;
  1053. 						}
  1054. 						close;
  1055. 					} else {
  1056. 						mes .NPCName$;
  1057. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  1058. 						mes "The Items you used in this set are:";
  1059. 						mes "Item 1: "+getitemname(#AlootSet5ID1);
  1060. 						if (#AlootSet5ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet5ID2); }
  1061. 						if (#AlootSet5ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet5ID3); }
  1062. 						if (#AlootSet5ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet5ID4); }
  1063. 						if (#AlootSet5ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet5ID5); }
  1064. 						if (#AlootSet5ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet5ID6); }
  1065. 						if (#AlootSet5ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet5ID7); }
  1066. 						if (#AlootSet5ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet5ID8); }
  1067. 						if (#AlootSet5ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet5ID9); }
  1068. 						if (#AlootSet5ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet5ID10); }
  1069. 						if (#AlootSet5ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet5ID11); }
  1070. 						if (#AlootSet5ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet5ID12); }
  1071. 						if (#AlootSet5ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet5ID13); }
  1072. 						if (#AlootSet5ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet5ID14); }
  1073. 						if (#AlootSet5ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet5ID15); }
  1074. 						if (#AlootSet5ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet5ID16); }
  1075. 						if (#AlootSet5ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet5ID17); }
  1076. 						if (#AlootSet5ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet5ID18); }
  1077. 						if (#AlootSet5ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet5ID19); }
  1078. 						if (#AlootSet5ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet5ID20); }
  1079. 						if (#AlootSet5ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet5ID21); }
  1080. 						if (#AlootSet5ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet5ID22); }
  1081. 						if (#AlootSet5ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet5ID23); }
  1082. 						if (#AlootSet5ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet5ID24); }
  1083. 						if (#AlootSet5ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet5ID25); }
  1084. 						close;
  1085. 					}
  1086.  
  1087. 				case 6:
  1088. 					if(#LootSet6$ == "")
  1089. 					{
  1090. 						mes .NPCName$;
  1091. 						mes "This is an empty Set. Please choose a name for this Set first.";
  1092. 						next;
  1093. 						input @input$;
  1094. 						if (@input$ == "")
  1095. 						{
  1096. 							mes .NPCName$;
  1097. 							mes "Sorry, this is not a valid name.";
  1098. 							close;
  1099. 						}
  1100. 						set #LootSet6$, @input$;
  1101. 						mes .NPCName$;
  1102. 						mes "Your Set got called: \""+#LootSet6$+"\".";
  1103. 						mes "Now please input the Item ID for the first Item.";
  1104. 						mes "(If you want to finish, type in 0)";
  1105. 						set .@counter, 1;
  1106. 						next;
  1107. 						do
  1108. 						{
  1109. 							input @input;
  1110. 							if(@input == 0)
  1111. 							{
  1112. 								next;
  1113. 							} else {
  1114. 								if(getiteminfo(@input,0) == -1)
  1115. 								{
  1116. 									mes .NPCName$;
  1117. 									mes "Sorry, there is no such Item ID.";
  1118. 									mes "Please try again.";
  1119. 									next;
  1120. 								} else {
  1121. 									set .@IDsleft, 25 - .@counter;
  1122. 									if (.@IDsleft == 0)
  1123. 									{
  1124. 										mes .NPCName$;
  1125. 										mes "Sorry, but you already have 25 Items in your Set. Please enter a 0 to finish.";
  1126. 										next;
  1127. 									} else {
  1128. 										mes .NPCName$;
  1129. 										mes "Item ID "+@input+" ("+getitemname(@input)+") has been added to the list.";
  1130. 										mes "You may add "+.@IDsleft+" Items.";
  1131. 										setd "#AlootSet6ID"+.@counter,@input;
  1132. 										set .@counter, .@counter + 1;
  1133. 										next;
  1134. 									}
  1135. 								}
  1136. 							}
  1137. 						} while(@input != 0);
  1138. 						if (#AlootSet6ID1 == 0)
  1139. 						{
  1140. 							mes .NPCName$;
  1141. 							mes "You canceled at the first Item. I'll reset this Set then.";
  1142. 							set #LootSet6$, "";
  1143. 							close;
  1144. 						}
  1145. 						mes .NPCName$;
  1146. 						mes "You have finished this Set.";
  1147. 						mes "Now you may ask me again to toggle the Alootid to ON and choose this set.";
  1148. 						mes "Or do you want to activate it right now? (That WON'T toggle the alootid on Login though. So you need to speak to me again, if you want that as well.)";
  1149. 						next;
  1150. 						switch(select("Yes, activate it now:No, don't activate this Set"))
  1151. 						{
  1152. 							case 1:
  1153. 								mes .NPCName$;
  1154. 								mes "Activated!";
  1155. 								atcommand "@alootid reset";
  1156. 									atcommand "@alootid +"+#AlootSet6ID1;
  1157. 									if (#AlootSet6ID2 != 0) { atcommand "@alootid +"+#AlootSet6ID2; }
  1158. 									if (#AlootSet6ID3 != 0) { atcommand "@alootid +"+#AlootSet6ID3; }
  1159. 									if (#AlootSet6ID4 != 0) { atcommand "@alootid +"+#AlootSet6ID4; }
  1160. 									if (#AlootSet6ID5 != 0) { atcommand "@alootid +"+#AlootSet6ID5; }
  1161. 									if (#AlootSet6ID6 != 0) { atcommand "@alootid +"+#AlootSet6ID6; }
  1162. 									if (#AlootSet6ID7 != 0) { atcommand "@alootid +"+#AlootSet6ID7; }
  1163. 									if (#AlootSet6ID8 != 0) { atcommand "@alootid +"+#AlootSet6ID8; }
  1164. 									if (#AlootSet6ID9 != 0) { atcommand "@alootid +"+#AlootSet6ID9; }
  1165. 									if (#AlootSet6ID10 != 0) { atcommand "@alootid +"+#AlootSet6ID10; }
  1166. 									if (#AlootSet6ID11 != 0) { atcommand "@alootid +"+#AlootSet6ID11; }
  1167. 									if (#AlootSet6ID12 != 0) { atcommand "@alootid +"+#AlootSet6ID12; }
  1168. 									if (#AlootSet6ID13 != 0) { atcommand "@alootid +"+#AlootSet6ID13; }
  1169. 									if (#AlootSet6ID14 != 0) { atcommand "@alootid +"+#AlootSet6ID14; }
  1170. 									if (#AlootSet6ID15 != 0) { atcommand "@alootid +"+#AlootSet6ID15; }
  1171. 									if (#AlootSet6ID16 != 0) { atcommand "@alootid +"+#AlootSet6ID16; }
  1172. 									if (#AlootSet6ID17 != 0) { atcommand "@alootid +"+#AlootSet6ID17; }
  1173. 									if (#AlootSet6ID18 != 0) { atcommand "@alootid +"+#AlootSet6ID18; }
  1174. 									if (#AlootSet6ID19 != 0) { atcommand "@alootid +"+#AlootSet6ID19; }
  1175. 									if (#AlootSet6ID20 != 0) { atcommand "@alootid +"+#AlootSet6ID20; }
  1176. 									if (#AlootSet6ID21 != 0) { atcommand "@alootid +"+#AlootSet6ID21; }
  1177. 									if (#AlootSet6ID22 != 0) { atcommand "@alootid +"+#AlootSet6ID22; }
  1178. 									if (#AlootSet6ID23 != 0) { atcommand "@alootid +"+#AlootSet6ID23; }
  1179. 									if (#AlootSet6ID24 != 0) { atcommand "@alootid +"+#AlootSet6ID24; }
  1180. 									if (#AlootSet6ID25 != 0) { atcommand "@alootid +"+#AlootSet6ID25; }
  1181. 								close;
  1182.  
  1183. 							case 2:
  1184. 								mes .NPCName$;
  1185. 								mes "Then come back, if you want to activate it.";
  1186. 								close;
  1187. 						}
  1188. 						close;
  1189. 					} else {
  1190. 						mes .NPCName$;
  1191. 						mes "Sorry, but this Set is already used. Please delete it first and then re-create it.";
  1192. 						mes "The Items you used in this set are:";
  1193. 						mes "Item 1: "+getitemname(#AlootSet6ID1);
  1194. 						if (#AlootSet6ID2 != 0) { mes "Item 2: "+getitemname(#AlootSet6ID2); }
  1195. 						if (#AlootSet6ID3 != 0) { mes "Item 3: "+getitemname(#AlootSet6ID3); }
  1196. 						if (#AlootSet6ID4 != 0) { mes "Item 4: "+getitemname(#AlootSet6ID4); }
  1197. 						if (#AlootSet6ID5 != 0) { mes "Item 5: "+getitemname(#AlootSet6ID5); }
  1198. 						if (#AlootSet6ID6 != 0) { mes "Item 6: "+getitemname(#AlootSet6ID6); }
  1199. 						if (#AlootSet6ID7 != 0) { mes "Item 7: "+getitemname(#AlootSet6ID7); }
  1200. 						if (#AlootSet6ID8 != 0) { mes "Item 8: "+getitemname(#AlootSet6ID8); }
  1201. 						if (#AlootSet6ID9 != 0) { mes "Item 9: "+getitemname(#AlootSet6ID9); }
  1202. 						if (#AlootSet6ID10 != 0) { mes "Item 10: "+getitemname(#AlootSet6ID10); }
  1203. 						if (#AlootSet6ID11 != 0) { mes "Item 11: "+getitemname(#AlootSet6ID11); }
  1204. 						if (#AlootSet6ID12 != 0) { mes "Item 12: "+getitemname(#AlootSet6ID12); }
  1205. 						if (#AlootSet6ID13 != 0) { mes "Item 13: "+getitemname(#AlootSet6ID13); }
  1206. 						if (#AlootSet6ID14 != 0) { mes "Item 14: "+getitemname(#AlootSet6ID14); }
  1207. 						if (#AlootSet6ID15 != 0) { mes "Item 15: "+getitemname(#AlootSet6ID15); }
  1208. 						if (#AlootSet6ID16 != 0) { mes "Item 16: "+getitemname(#AlootSet6ID16); }
  1209. 						if (#AlootSet6ID17 != 0) { mes "Item 17: "+getitemname(#AlootSet6ID17); }
  1210. 						if (#AlootSet6ID18 != 0) { mes "Item 18: "+getitemname(#AlootSet6ID18); }
  1211. 						if (#AlootSet6ID19 != 0) { mes "Item 19: "+getitemname(#AlootSet6ID19); }
  1212. 						if (#AlootSet6ID20 != 0) { mes "Item 20: "+getitemname(#AlootSet6ID20); }
  1213. 						if (#AlootSet6ID21 != 0) { mes "Item 21: "+getitemname(#AlootSet6ID21); }
  1214. 						if (#AlootSet6ID22 != 0) { mes "Item 22: "+getitemname(#AlootSet6ID22); }
  1215. 						if (#AlootSet6ID23 != 0) { mes "Item 23: "+getitemname(#AlootSet6ID23); }
  1216. 						if (#AlootSet6ID24 != 0) { mes "Item 24: "+getitemname(#AlootSet6ID24); }
  1217. 						if (#AlootSet6ID25 != 0) { mes "Item 25: "+getitemname(#AlootSet6ID25); }
  1218. 						close;
  1219. 					}		
  1220. 			}
  1221. 		case 3:
  1222. 			mes .NPCName$;
  1223. 			mes "Alright, let's edit an existing set!";
  1224. 			mes "What set do you want to edit?";
  1225. 			mes "Empty/Unused Sets are shown with \"Nothing\" and can't be edited.";
  1226. 			if (#LootSet1$ == "") { set @menu$[1], "Nothing"; } else { set @menu$[1], #LootSet1$; }
  1227. 			if (#LootSet2$ == "") { set @menu$[2], "Nothing"; } else { set @menu$[2], #LootSet2$; }
  1228. 			if (#LootSet3$ == "") { set @menu$[3], "Nothing"; } else { set @menu$[3], #LootSet3$; }
  1229. 			if (#LootSet4$ == "") { set @menu$[4], "Nothing"; } else { set @menu$[4], #LootSet4$; }
  1230. 			if (#LootSet5$ == "") { set @menu$[5], "Nothing"; } else { set @menu$[5], #LootSet5$; }
  1231. 			if (#LootSet6$ == "") { set @menu$[6], "Nothing"; } else { set @menu$[6], #LootSet6$; }
  1232. 			next;
  1233. 			switch(select(@menu$[1],@menu$[2],@menu$[3],@menu$[4],@menu$[5],@menu$[6]))
  1234. 			{
  1235. 				case 1:
  1236. 					if (@menu$[1] != "Nothing")
  1237. 					{
  1238. 					L_EasyMode:
  1239. 						mes .NPCName$;
  1240. 						mes "Let's edit what's listed in this set.";
  1241. 						mes "You can Delete any item by entering 0.";
  1242. 						mes "Or edit the item ID by entering it in place of an existing one.";
  1243. //						next;
  1244. 						for (.@i=1; .@i> 26; .@i++){
  1245.     .@menu$ = .@menu$ +""+ (getd("#AlootSet1ID"+.@i) != 0)?"Item ID "+getd("#AlootSet1ID"+.@i)+" - ("+getitemname(getd("#AlootSet1ID"+.@i))+")":"Add Item";
  1246. }
  1247. //						switch (select ( #AlootSet1ID1 != 0? "Item ID "+#AlootSet1ID1+" - ("+getitemname(#AlootSet1ID1)+")": "Add Item",#AlootSet1ID2 != 0? "Item ID "+#AlootSet1ID2+" - ("+getitemname(#AlootSet1ID2)+")": "Add Item",#AlootSet1ID3 != 0? "Item ID "+#AlootSet1ID3+" - ("+getitemname(#AlootSet1ID3)+")": "Add Item",#AlootSet1ID4 != 0? "Item ID "+#AlootSet1ID4+" - ("+getitemname(#AlootSet1ID4)+")": "Add Item",#AlootSet1ID5 != 0? "Item ID "+#AlootSet1ID5+" - ("+getitemname(#AlootSet1ID5)+")": "Add Item",#AlootSet1ID6 != 0? "Item ID "+#AlootSet1ID6+" - ("+getitemname(#AlootSet1ID6)+")": "Add Item",#AlootSet1ID7 != 0? "Item ID "+#AlootSet1ID7+" - ("+getitemname(#AlootSet1ID7)+")": "Add Item",#AlootSet1ID8 != 0? "Item ID "+#AlootSet1ID8+" - ("+getitemname(#AlootSet1ID8)+")": "Add Item",#AlootSet1ID9 != 0? "Item ID "+#AlootSet1ID9+" - ("+getitemname(#AlootSet1ID9)+")": "Add Item",#AlootSet1ID10 != 0? "Item ID "+#AlootSet1ID10+" - ("+getitemname(#AlootSet1ID10)+")": "Add Item",#AlootSet1ID11 != 0? "Item ID "+#AlootSet1ID11+" - ("+getitemname(#AlootSet1ID11)+")": "Add Item",#AlootSet1ID12 != 0? "Item ID "+#AlootSet1ID12+" - ("+getitemname(#AlootSet1ID12)+")": "Add Item",#AlootSet1ID13 != 0? "Item ID "+#AlootSet1ID13+" - ("+getitemname(#AlootSet1ID13)+")": "Add Item",#AlootSet1ID14 != 0? "Item ID "+#AlootSet1ID14+" - ("+getitemname(#AlootSet1ID14)+")": "Add Item",#AlootSet1ID15 != 0? "Item ID "+#AlootSet1ID15+" - ("+getitemname(#AlootSet1ID15)+")": "Add Item",#AlootSet1ID16 != 0? "Item ID "+#AlootSet1ID16+" - ("+getitemname(#AlootSet1ID16)+")": "Add Item",#AlootSet1ID17 != 0? "Item ID "+#AlootSet1ID17+" - ("+getitemname(#AlootSet1ID17)+")": "Add Item",#AlootSet1ID18 != 0? "Item ID "+#AlootSet1ID18+" - ("+getitemname(#AlootSet1ID18)+")": "Add Item",#AlootSet1ID19 != 0? "Item ID "+#AlootSet1ID19+" - ("+getitemname(#AlootSet1ID19)+")": "Add Item",#AlootSet1ID20 != 0? "Item ID "+#AlootSet1ID20+" - ("+getitemname(#AlootSet1ID20)+")": "Add Item",#AlootSet1ID21 != 0? "Item ID "+#AlootSet1ID21+" - ("+getitemname(#AlootSet1ID21)+")": "Add Item",#AlootSet1ID22 != 0? "Item ID "+#AlootSet1ID22+" - ("+getitemname(#AlootSet1ID22)+")": "Add Item",#AlootSet1ID23 != 0? "Item ID "+#AlootSet1ID23+" - ("+getitemname(#AlootSet1ID23)+")": "Add Item",#AlootSet1ID24 != 0? "Item ID "+#AlootSet1ID24+" - ("+getitemname(#AlootSet1ID24)+")": "Add Item",#AlootSet1ID25 != 0? "Item ID "+#AlootSet1ID25+" - ("+getitemname(#AlootSet1ID25)+")": "Add Item" )) {
  1248. 							switch(select(.@menu$)){
  1249. 							case 1:
  1250. 							next;
  1251. 								mes .NPCName$;
  1252. 								mes "Please input the item ID for what you want to autoloot.";
  1253. 								mes "Enter 0 if you wish to leave this option blank.";
  1254. 								input @input;
  1255. 								if (@input == 0)
  1256. 								{
  1257. 								next;
  1258. 								mes .NPCName$;
  1259. 								mes "Alright, deleted!";
  1260. 								set #AlootSet1ID1,0;
  1261. 								next;
  1262. 								goto L_EasyMode;
  1263. 								close;
  1264. 								} else {
  1265. 								if(getiteminfo(@input,0) == -1)
  1266. 								{
  1267. 								next;
  1268. 								mes .NPCName$;
  1269. 								mes "Sorry, this is not a valid Item ID";
  1270. 								mes "Please try again.";
  1271. 								next;
  1272. 								goto L_EasyMode;
  1273. 								next;
  1274. 								} else {
  1275. 								next;
  1276. 								mes .NPCName$;
  1277. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1278. 								set #AlootSet1ID1,@input;
  1279. 								next;
  1280. 								goto L_EasyMode;
  1281. 								}
  1282. 							}
  1283. 							case 2:
  1284. 							next;
  1285. 								mes .NPCName$;
  1286. 								mes "Please input the item ID for what you want to autoloot.";
  1287. 								mes "Enter 0 if you wish to leave this option blank.";
  1288. 								input @input;
  1289. 								if (@input == 0)
  1290. 								{
  1291. 								next;
  1292. 								mes .NPCName$;
  1293. 								mes "Alright, deleted!";
  1294. 								set #AlootSet1ID2,0;
  1295. 								next;
  1296. 								goto L_EasyMode;
  1297. 								close;
  1298. 								} else {
  1299. 								if(getiteminfo(@input,0) == -1)
  1300. 								{
  1301. 								next;
  1302. 								mes .NPCName$;
  1303. 								mes "Sorry, this is not a valid Item ID";
  1304. 								mes "Please try again.";
  1305. 								next;
  1306. 								goto L_EasyMode;
  1307. 								next;
  1308. 								} else {
  1309. 								next;
  1310. 								mes .NPCName$;
  1311. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1312. 								set #AlootSet1ID2,@input;
  1313. 								next;
  1314. 								goto L_EasyMode;
  1315. 								}
  1316. 							}
  1317. 							case 3:
  1318. 							next;
  1319. 								mes .NPCName$;
  1320. 								mes "Please input the item ID for what you want to autoloot.";
  1321. 								mes "Enter 0 if you wish to leave this option blank.";
  1322. 								input @input;
  1323. 								if (@input == 0)
  1324. 								{
  1325. 								next;
  1326. 								mes .NPCName$;
  1327. 								mes "Alright, deleted!";
  1328. 								set #AlootSet1ID3,0;
  1329. 								next;
  1330. 								goto L_EasyMode;
  1331. 								close;
  1332. 								} else {
  1333. 								if(getiteminfo(@input,0) == -1)
  1334. 								{
  1335. 								next;
  1336. 								mes .NPCName$;
  1337. 								mes "Sorry, this is not a valid Item ID";
  1338. 								mes "Please try again.";
  1339. 								next;
  1340. 								goto L_EasyMode;
  1341. 								next;
  1342. 								} else {
  1343. 								next;
  1344. 								mes .NPCName$;
  1345. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1346. 								set #AlootSet1ID3,@input;
  1347. 								next;
  1348. 								goto L_EasyMode;
  1349. 								}
  1350. 							}							
  1351. 							case 4:
  1352. 							next;
  1353. 								mes .NPCName$;
  1354. 								mes "Please input the item ID for what you want to autoloot.";
  1355. 								mes "Enter 0 if you wish to leave this option blank.";
  1356. 								input @input;
  1357. 								if (@input == 0)
  1358. 								{
  1359. 								next;
  1360. 								mes .NPCName$;
  1361. 								mes "Alright, deleted!";
  1362. 								set #AlootSet1ID4,0;
  1363. 								next;
  1364. 								goto L_EasyMode;
  1365. 								close;
  1366. 								} else {
  1367. 								if(getiteminfo(@input,0) == -1)
  1368. 								{
  1369. 								next;
  1370. 								mes .NPCName$;
  1371. 								mes "Sorry, this is not a valid Item ID";
  1372. 								mes "Please try again.";
  1373. 								next;
  1374. 								goto L_EasyMode;
  1375. 								next;
  1376. 								} else {
  1377. 								next;
  1378. 								mes .NPCName$;
  1379. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1380. 								set #AlootSet1ID4,@input;
  1381. 								next;
  1382. 								goto L_EasyMode;
  1383. 								}
  1384. 							}
  1385. 							case 5:
  1386. 							next;
  1387. 								mes .NPCName$;
  1388. 								mes "Please input the item ID for what you want to autoloot.";
  1389. 								mes "Enter 0 if you wish to leave this option blank.";
  1390. 								input @input;
  1391. 								if (@input == 0)
  1392. 								{
  1393. 								next;
  1394. 								mes .NPCName$;
  1395. 								mes "Alright, deleted!";
  1396. 								set #AlootSet1ID5,0;
  1397. 								next;
  1398. 								goto L_EasyMode;
  1399. 								close;
  1400. 								} else {
  1401. 								if(getiteminfo(@input,0) == -1)
  1402. 								{
  1403. 								next;
  1404. 								mes .NPCName$;
  1405. 								mes "Sorry, this is not a valid Item ID";
  1406. 								mes "Please try again.";
  1407. 								next;
  1408. 								goto L_EasyMode;
  1409. 								next;
  1410. 								} else {
  1411. 								next;
  1412. 								mes .NPCName$;
  1413. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1414. 								set #AlootSet1ID5,@input;
  1415. 								next;
  1416. 								goto L_EasyMode;
  1417. 								}
  1418. 							}			
  1419. 							case 6:
  1420. 								next;
  1421. 								mes .NPCName$;
  1422. 								mes "Please input the item ID for what you want to autoloot.";
  1423. 								mes "Enter 0 if you wish to leave this option blank.";
  1424. 								input @input;
  1425. 								if (@input == 0)
  1426. 								{
  1427. 								next;
  1428. 								mes .NPCName$;
  1429. 								mes "Alright, deleted!";
  1430. 								set #AlootSet1ID6,0;
  1431. 								next;
  1432. 								goto L_EasyMode;
  1433. 								close;
  1434. 								} else {
  1435. 								if(getiteminfo(@input,0) == -1)
  1436. 								{
  1437. 								next;
  1438. 								mes .NPCName$;
  1439. 								mes "Sorry, this is not a valid Item ID";
  1440. 								mes "Please try again.";
  1441. 								next;
  1442. 								goto L_EasyMode;
  1443. 								next;
  1444. 								} else {
  1445. 								next;
  1446. 								mes .NPCName$;
  1447. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1448. 								set #AlootSet1ID6,@input;
  1449. 								next;
  1450. 								goto L_EasyMode;
  1451. 								}
  1452. 							}	
  1453. 							case 7:
  1454. 							next;
  1455. 								mes .NPCName$;
  1456. 								mes "Please input the item ID for what you want to autoloot.";
  1457. 								mes "Enter 0 if you wish to leave this option blank.";
  1458. 								input @input;
  1459. 								if (@input == 0)
  1460. 								{
  1461. 								next;
  1462. 								mes .NPCName$;
  1463. 								mes "Alright, deleted!";
  1464. 								set #AlootSet1ID7,0;
  1465. 								next;
  1466. 								goto L_EasyMode;
  1467. 								close;
  1468. 								} else {
  1469. 								if(getiteminfo(@input,0) == -1)
  1470. 								{
  1471. 								next;
  1472. 								mes .NPCName$;
  1473. 								mes "Sorry, this is not a valid Item ID";
  1474. 								mes "Please try again.";
  1475. 								next;
  1476. 								goto L_EasyMode;
  1477. 								next;
  1478. 								} else {
  1479. 								next;
  1480. 								mes .NPCName$;
  1481. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1482. 								set #AlootSet1ID7,@input;
  1483. 								next;
  1484. 								goto L_EasyMode;
  1485. 								}
  1486. 							}		
  1487. 							case 8:
  1488. 							next;
  1489. 								mes .NPCName$;
  1490. 								mes "Please input the item ID for what you want to autoloot.";
  1491. 								mes "Enter 0 if you wish to leave this option blank.";
  1492. 								input @input;
  1493. 								if (@input == 0)
  1494. 								{
  1495. 								next;
  1496. 								mes .NPCName$;
  1497. 								mes "Alright, deleted!";
  1498. 								set #AlootSet1ID8,0;
  1499. 								next;
  1500. 								goto L_EasyMode;
  1501. 								close;
  1502. 								} else {
  1503. 								if(getiteminfo(@input,0) == -1)
  1504. 								{
  1505. 								next;
  1506. 								mes .NPCName$;
  1507. 								mes "Sorry, this is not a valid Item ID";
  1508. 								mes "Please try again.";
  1509. 								next;
  1510. 								goto L_EasyMode;
  1511. 								next;
  1512. 								} else {
  1513. 								next;
  1514. 								mes .NPCName$;
  1515. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1516. 								set #AlootSet1ID8,@input;
  1517. 								next;
  1518. 								goto L_EasyMode;
  1519. 								}
  1520. 							}		
  1521. 							case 9:
  1522. 							next;
  1523. 								mes .NPCName$;
  1524. 								mes "Please input the item ID for what you want to autoloot.";
  1525. 								mes "Enter 0 if you wish to leave this option blank.";
  1526. 								input @input;
  1527. 								if (@input == 0)
  1528. 								{
  1529. 								next;
  1530. 								mes .NPCName$;
  1531. 								mes "Alright, deleted!";
  1532. 								set #AlootSet1ID9,0;
  1533. 								next;
  1534. 								goto L_EasyMode;
  1535. 								close;
  1536. 								} else {
  1537. 								if(getiteminfo(@input,0) == -1)
  1538. 								{
  1539. 								next;
  1540. 								mes .NPCName$;
  1541. 								mes "Sorry, this is not a valid Item ID";
  1542. 								mes "Please try again.";
  1543. 								next;
  1544. 								goto L_EasyMode;
  1545. 								next;
  1546. 								} else {
  1547. 								next;
  1548. 								mes .NPCName$;
  1549. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1550. 								set #AlootSet1ID9,@input;
  1551. 								next;
  1552. 								goto L_EasyMode;
  1553. 								}
  1554. 							}	
  1555. 							case 10:
  1556. 								next;
  1557. 								mes .NPCName$;
  1558. 								mes "Please input the item ID for what you want to autoloot.";
  1559. 								mes "Enter 0 if you wish to leave this option blank.";
  1560. 								input @input;
  1561. 								if (@input == 0)
  1562. 								{
  1563. 								next;
  1564. 								mes .NPCName$;
  1565. 								mes "Alright, deleted!";
  1566. 								set #AlootSet1ID10,0;
  1567. 								next;
  1568. 								goto L_EasyMode;
  1569. 								close;
  1570. 								} else {
  1571. 								if(getiteminfo(@input,0) == -1)
  1572. 								{
  1573. 								next;
  1574. 								mes .NPCName$;
  1575. 								mes "Sorry, this is not a valid Item ID";
  1576. 								mes "Please try again.";
  1577. 								next;
  1578. 								goto L_EasyMode;
  1579. 								next;
  1580. 								} else {
  1581. 								next;
  1582. 								mes .NPCName$;
  1583. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1584. 								set #AlootSet1ID10,@input;
  1585. 								next;
  1586. 								goto L_EasyMode;
  1587. 								}
  1588. 							}	
  1589. 							case 11:
  1590. 								next;
  1591. 								mes .NPCName$;
  1592. 								mes "Please input the item ID for what you want to autoloot.";
  1593. 								mes "Enter 0 if you wish to leave this option blank.";
  1594. 								input @input;
  1595. 								if (@input == 0)
  1596. 								{
  1597. 								next;
  1598. 								mes .NPCName$;
  1599. 								mes "Alright, deleted!";
  1600. 								set #AlootSet1ID11,0;
  1601. 								next;
  1602. 								goto L_EasyMode;
  1603. 								close;
  1604. 								} else {
  1605. 								if(getiteminfo(@input,0) == -1)
  1606. 								{
  1607. 								next;
  1608. 								mes .NPCName$;
  1609. 								mes "Sorry, this is not a valid Item ID";
  1610. 								mes "Please try again.";
  1611. 								next;
  1612. 								goto L_EasyMode;
  1613. 								next;
  1614. 								} else {
  1615. 								next;
  1616. 								mes .NPCName$;
  1617. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1618. 								set #AlootSet1ID11,@input;
  1619. 								next;
  1620. 								goto L_EasyMode;
  1621. 								}
  1622. 							}	
  1623. 							case 12:
  1624. 							next;
  1625. 								mes .NPCName$;
  1626. 								mes "Please input the item ID for what you want to autoloot.";
  1627. 								mes "Enter 0 if you wish to leave this option blank.";
  1628. 								input @input;
  1629. 								if (@input == 0)
  1630. 								{
  1631. 								next;
  1632. 								mes .NPCName$;
  1633. 								mes "Alright, deleted!";
  1634. 								set #AlootSet1ID12,0;
  1635. 								next;
  1636. 								goto L_EasyMode;
  1637. 								close;
  1638. 								} else {
  1639. 								if(getiteminfo(@input,0) == -1)
  1640. 								{
  1641. 								next;
  1642. 								mes .NPCName$;
  1643. 								mes "Sorry, this is not a valid Item ID";
  1644. 								mes "Please try again.";
  1645. 								next;
  1646. 								goto L_EasyMode;
  1647. 								next;
  1648. 								} else {
  1649. 								next;
  1650. 								mes .NPCName$;
  1651. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1652. 								set #AlootSet1ID12,@input;
  1653. 								next;
  1654. 								goto L_EasyMode;
  1655. 								}
  1656. 							}			
  1657. 							case 13:
  1658. 								next;
  1659. 								mes .NPCName$;
  1660. 								mes "Please input the item ID for what you want to autoloot.";
  1661. 								mes "Enter 0 if you wish to leave this option blank.";
  1662. 								input @input;
  1663. 								if (@input == 0)
  1664. 								{
  1665. 								next;
  1666. 								mes .NPCName$;
  1667. 								mes "Alright, deleted!";
  1668. 								set #AlootSet1ID13,0;
  1669. 								next;
  1670. 								goto L_EasyMode;
  1671. 								close;
  1672. 								} else {
  1673. 								if(getiteminfo(@input,0) == -1)
  1674. 								{
  1675. 								next;
  1676. 								mes .NPCName$;
  1677. 								mes "Sorry, this is not a valid Item ID";
  1678. 								mes "Please try again.";
  1679. 								next;
  1680. 								goto L_EasyMode;
  1681. 								next;
  1682. 								} else {
  1683. 								next;
  1684. 								mes .NPCName$;
  1685. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1686. 								set #AlootSet1ID13,@input;
  1687. 								next;
  1688. 								goto L_EasyMode;
  1689. 								}
  1690. 							}	
  1691. 							case 14:
  1692. 							next;
  1693. 								mes .NPCName$;
  1694. 								mes "Please input the item ID for what you want to autoloot.";
  1695. 								mes "Enter 0 if you wish to leave this option blank.";
  1696. 								input @input;
  1697. 								if (@input == 0)
  1698. 								{
  1699. 								next;
  1700. 								mes .NPCName$;
  1701. 								mes "Alright, deleted!";
  1702. 								set #AlootSet1ID14,0;
  1703. 								next;
  1704. 								goto L_EasyMode;
  1705. 								close;
  1706. 								} else {
  1707. 								if(getiteminfo(@input,0) == -1)
  1708. 								{
  1709. 								next;
  1710. 								mes .NPCName$;
  1711. 								mes "Sorry, this is not a valid Item ID";
  1712. 								mes "Please try again.";
  1713. 								next;
  1714. 								goto L_EasyMode;
  1715. 								next;
  1716. 								} else {
  1717. 								next;
  1718. 								mes .NPCName$;
  1719. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1720. 								set #AlootSet1ID14,@input;
  1721. 								next;
  1722. 								goto L_EasyMode;
  1723. 								}
  1724. 							}	
  1725. 							case 15:
  1726. 							next;
  1727. 								mes .NPCName$;
  1728. 								mes "Please input the item ID for what you want to autoloot.";
  1729. 								mes "Enter 0 if you wish to leave this option blank.";
  1730. 								input @input;
  1731. 								if (@input == 0)
  1732. 								{
  1733. 								next;
  1734. 								mes .NPCName$;
  1735. 								mes "Alright, deleted!";
  1736. 								set #AlootSet1ID15,0;
  1737. 								next;
  1738. 								goto L_EasyMode;
  1739. 								close;
  1740. 								} else {
  1741. 								if(getiteminfo(@input,0) == -1)
  1742. 								{
  1743. 								next;
  1744. 								mes .NPCName$;
  1745. 								mes "Sorry, this is not a valid Item ID";
  1746. 								mes "Please try again.";
  1747. 								next;
  1748. 								goto L_EasyMode;
  1749. 								next;
  1750. 								} else {
  1751. 								next;
  1752. 								mes .NPCName$;
  1753. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1754. 								set #AlootSet1ID15,@input;
  1755. 								next;
  1756. 								goto L_EasyMode;
  1757. 								}
  1758. 							}		
  1759. 							case 16:
  1760. 							next;
  1761. 								mes .NPCName$;
  1762. 								mes "Please input the item ID for what you want to autoloot.";
  1763. 								mes "Enter 0 if you wish to leave this option blank.";
  1764. 								input @input;
  1765. 								if (@input == 0)
  1766. 								{
  1767. 								next;
  1768. 								mes .NPCName$;
  1769. 								mes "Alright, deleted!";
  1770. 								set #AlootSet1ID16,0;
  1771. 								next;
  1772. 								goto L_EasyMode;
  1773. 								close;
  1774. 								} else {
  1775. 								if(getiteminfo(@input,0) == -1)
  1776. 								{
  1777. 								next;
  1778. 								mes .NPCName$;
  1779. 								mes "Sorry, this is not a valid Item ID";
  1780. 								mes "Please try again.";
  1781. 								next;
  1782. 								goto L_EasyMode;
  1783. 								next;
  1784. 								} else {
  1785. 								next;
  1786. 								mes .NPCName$;
  1787. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1788. 								set #AlootSet1ID16,@input;
  1789. 								next;
  1790. 								goto L_EasyMode;
  1791. 								}
  1792. 							}		
  1793. 							case 17:
  1794. 							next;
  1795. 								mes .NPCName$;
  1796. 								mes "Please input the item ID for what you want to autoloot.";
  1797. 								mes "Enter 0 if you wish to leave this option blank.";
  1798. 								input @input;
  1799. 								if (@input == 0)
  1800. 								{
  1801. 								next;
  1802. 								mes .NPCName$;
  1803. 								mes "Alright, deleted!";
  1804. 								set #AlootSet1ID17,0;
  1805. 								next;
  1806. 								goto L_EasyMode;
  1807. 								close;
  1808. 								} else {
  1809. 								if(getiteminfo(@input,0) == -1)
  1810. 								{
  1811. 								next;
  1812. 								mes .NPCName$;
  1813. 								mes "Sorry, this is not a valid Item ID";
  1814. 								mes "Please try again.";
  1815. 								next;
  1816. 								goto L_EasyMode;
  1817. 								next;
  1818. 								} else {
  1819. 								next;
  1820. 								mes .NPCName$;
  1821. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1822. 								set #AlootSet1ID17,@input;
  1823. 								next;
  1824. 								goto L_EasyMode;
  1825. 								}
  1826. 							}		
  1827. 							case 18:
  1828. 							next;
  1829. 								mes .NPCName$;
  1830. 								mes "Please input the item ID for what you want to autoloot.";
  1831. 								mes "Enter 0 if you wish to leave this option blank.";
  1832. 								input @input;
  1833. 								if (@input == 0)
  1834. 								{
  1835. 								next;
  1836. 								mes .NPCName$;
  1837. 								mes "Alright, deleted!";
  1838. 								set #AlootSet1ID18,0;
  1839. 								next;
  1840. 								goto L_EasyMode;
  1841. 								close;
  1842. 								} else {
  1843. 								if(getiteminfo(@input,0) == -1)
  1844. 								{
  1845. 								next;
  1846. 								mes .NPCName$;
  1847. 								mes "Sorry, this is not a valid Item ID";
  1848. 								mes "Please try again.";
  1849. 								next;
  1850. 								goto L_EasyMode;
  1851. 								next;
  1852. 								} else {
  1853. 								next;
  1854. 								mes .NPCName$;
  1855. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1856. 								set #AlootSet1ID18,@input;
  1857. 								next;
  1858. 								goto L_EasyMode;
  1859. 								}
  1860. 							}		
  1861. 							case 19:
  1862. 							next;
  1863. 								mes .NPCName$;
  1864. 								mes "Please input the item ID for what you want to autoloot.";
  1865. 								mes "Enter 0 if you wish to leave this option blank.";
  1866. 								input @input;
  1867. 								if (@input == 0)
  1868. 								{
  1869. 								next;
  1870. 								mes .NPCName$;
  1871. 								mes "Alright, deleted!";
  1872. 								set #AlootSet1ID19,0;
  1873. 								next;
  1874. 								goto L_EasyMode;
  1875. 								close;
  1876. 								} else {
  1877. 								if(getiteminfo(@input,0) == -1)
  1878. 								{
  1879. 								next;
  1880. 								mes .NPCName$;
  1881. 								mes "Sorry, this is not a valid Item ID";
  1882. 								mes "Please try again.";
  1883. 								next;
  1884. 								goto L_EasyMode;
  1885. 								next;
  1886. 								} else {
  1887. 								next;
  1888. 								mes .NPCName$;
  1889. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1890. 								set #AlootSet1ID19,@input;
  1891. 								next;
  1892. 								goto L_EasyMode;
  1893. 								}
  1894. 							}		
  1895. 							case 20:
  1896. 							next;
  1897. 								mes .NPCName$;
  1898. 								mes "Please input the item ID for what you want to autoloot.";
  1899. 								mes "Enter 0 if you wish to leave this option blank.";
  1900. 								input @input;
  1901. 								if (@input == 0)
  1902. 								{
  1903. 								next;
  1904. 								mes .NPCName$;
  1905. 								mes "Alright, deleted!";
  1906. 								set #AlootSet1ID20,0;
  1907. 								next;
  1908. 								goto L_EasyMode;
  1909. 								close;
  1910. 								} else {
  1911. 								if(getiteminfo(@input,0) == -1)
  1912. 								{
  1913. 								next;
  1914. 								mes .NPCName$;
  1915. 								mes "Sorry, this is not a valid Item ID";
  1916. 								mes "Please try again.";
  1917. 								next;
  1918. 								goto L_EasyMode;
  1919. 								next;
  1920. 								} else {
  1921. 								next;
  1922. 								mes .NPCName$;
  1923. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1924. 								set #AlootSet1ID20,@input;
  1925. 								next;
  1926. 								goto L_EasyMode;
  1927. 								}
  1928. 							}			
  1929. 							case 21:
  1930. 								next;
  1931. 								mes .NPCName$;
  1932. 								mes "Please input the item ID for what you want to autoloot.";
  1933. 								mes "Enter 0 if you wish to leave this option blank.";
  1934. 								input @input;
  1935. 								if (@input == 0)
  1936. 								{
  1937. 								next;
  1938. 								mes .NPCName$;
  1939. 								mes "Alright, deleted!";
  1940. 								set #AlootSet1ID21,0;
  1941. 								next;
  1942. 								goto L_EasyMode;
  1943. 								close;
  1944. 								} else {
  1945. 								if(getiteminfo(@input,0) == -1)
  1946. 								{
  1947. 								next;
  1948. 								mes .NPCName$;
  1949. 								mes "Sorry, this is not a valid Item ID";
  1950. 								mes "Please try again.";
  1951. 								next;
  1952. 								goto L_EasyMode;
  1953. 								next;
  1954. 								} else {
  1955. 								next;
  1956. 								mes .NPCName$;
  1957. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1958. 								set #AlootSet1ID21,@input;
  1959. 								next;
  1960. 								goto L_EasyMode;
  1961. 								}
  1962. 							}	
  1963. 							case 22:
  1964. 							next;
  1965. 								mes .NPCName$;
  1966. 								mes "Please input the item ID for what you want to autoloot.";
  1967. 								mes "Enter 0 if you wish to leave this option blank.";
  1968. 								input @input;
  1969. 								if (@input == 0)
  1970. 								{
  1971. 								next;
  1972. 								mes .NPCName$;
  1973. 								mes "Alright, deleted!";
  1974. 								set #AlootSet1ID22,0;
  1975. 								next;
  1976. 								goto L_EasyMode;
  1977. 								close;
  1978. 								} else {
  1979. 								if(getiteminfo(@input,0) == -1)
  1980. 								{
  1981. 								next;
  1982. 								mes .NPCName$;
  1983. 								mes "Sorry, this is not a valid Item ID";
  1984. 								mes "Please try again.";
  1985. 								next;
  1986. 								goto L_EasyMode;
  1987. 								next;
  1988. 								} else {
  1989. 								next;
  1990. 								mes .NPCName$;
  1991. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  1992. 								set #AlootSet1ID22,@input;
  1993. 								next;
  1994. 								goto L_EasyMode;
  1995. 								}
  1996. 							}		
  1997. 							case 23:
  1998. 							next;
  1999. 								mes .NPCName$;
  2000. 								mes "Please input the item ID for what you want to autoloot.";
  2001. 								mes "Enter 0 if you wish to leave this option blank.";
  2002. 								input @input;
  2003. 								if (@input == 0)
  2004. 								{
  2005. 								next;
  2006. 								mes .NPCName$;
  2007. 								mes "Alright, deleted!";
  2008. 								set #AlootSet1ID23,0;
  2009. 								next;
  2010. 								goto L_EasyMode;
  2011. 								close;
  2012. 								} else {
  2013. 								if(getiteminfo(@input,0) == -1)
  2014. 								{
  2015. 								next;
  2016. 								mes .NPCName$;
  2017. 								mes "Sorry, this is not a valid Item ID";
  2018. 								mes "Please try again.";
  2019. 								next;
  2020. 								goto L_EasyMode;
  2021. 								next;
  2022. 								} else {
  2023. 								next;
  2024. 								mes .NPCName$;
  2025. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2026. 								set #AlootSet1ID23,@input;
  2027. 								next;
  2028. 								goto L_EasyMode;
  2029. 								}
  2030. 							}			
  2031. 							case 24:
  2032. 							next;
  2033. 								mes .NPCName$;
  2034. 								mes "Please input the item ID for what you want to autoloot.";
  2035. 								mes "Enter 0 if you wish to leave this option blank.";
  2036. 								input @input;
  2037. 								if (@input == 0)
  2038. 								{
  2039. 								next;
  2040. 								mes .NPCName$;
  2041. 								mes "Alright, deleted!";
  2042. 								set #AlootSet1ID24,0;
  2043. 								next;
  2044. 								goto L_EasyMode;
  2045. 								close;
  2046. 								} else {
  2047. 								if(getiteminfo(@input,0) == -1)
  2048. 								{
  2049. 								next;
  2050. 								mes .NPCName$;
  2051. 								mes "Sorry, this is not a valid Item ID";
  2052. 								mes "Please try again.";
  2053. 								next;
  2054. 								goto L_EasyMode;
  2055. 								next;
  2056. 								} else {
  2057. 								next;
  2058. 								mes .NPCName$;
  2059. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2060. 								set #AlootSet1ID24,@input;
  2061. 								next;
  2062. 								goto L_EasyMode;
  2063. 								}
  2064. 							}	
  2065. 							case 25:
  2066. 							next;
  2067. 								mes .NPCName$;
  2068. 								mes "Please input the item ID for what you want to autoloot.";
  2069. 								mes "Enter 0 if you wish to leave this option blank.";
  2070. 								input @input;
  2071. 								if (@input == 0)
  2072. 								{
  2073. 								next;
  2074. 								mes .NPCName$;
  2075. 								mes "Alright, deleted!";
  2076. 								set #AlootSet1ID25,0;
  2077. 								next;
  2078. 								goto L_EasyMode;
  2079. 								close;
  2080. 								} else {
  2081. 								if(getiteminfo(@input,0) == -1)
  2082. 								{
  2083. 								next;
  2084. 								mes .NPCName$;
  2085. 								mes "Sorry, this is not a valid Item ID";
  2086. 								mes "Please try again.";
  2087. 								next;
  2088. 								goto L_EasyMode;
  2089. 								next;
  2090. 								} else {
  2091. 								next;
  2092. 								mes .NPCName$;
  2093. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2094. 								set #AlootSet1ID25,@input;
  2095. 								next;
  2096. 								goto L_EasyMode;
  2097. 								}
  2098. 							}	
  2099. 						}
  2100.  
  2101. 		} else {
  2102. 		mes .NPCName$;
  2103. 		mes "You have nothing created in this set!";
  2104. 		mes "Please create a set before editing it.";
  2105. 		close;
  2106. 		}
  2107. 							case 2:
  2108. 					if (@menu$[2] != "Nothing")
  2109. 					{					L_EasyMode2:
  2110. 						mes .NPCName$;
  2111. 						mes "Let's edit what's listed in this set.";
  2112. 						mes "You can Delete any item by entering 0.";
  2113. 						mes "Or edit the item ID by entering it in place of an existing one.";
  2114. 						next;
  2115. 						switch (select ( #AlootSet2ID1 != 0? "Item ID "+#AlootSet2ID1+" - ("+getitemname(#AlootSet2ID1)+")": "Add Item",#AlootSet2ID2 != 0? "Item ID "+#AlootSet2ID2+" - ("+getitemname(#AlootSet2ID2)+")": "Add Item",#AlootSet2ID3 != 0? "Item ID "+#AlootSet2ID3+" - ("+getitemname(#AlootSet2ID3)+")": "Add Item",#AlootSet2ID4 != 0? "Item ID "+#AlootSet2ID4+" - ("+getitemname(#AlootSet2ID4)+")": "Add Item",#AlootSet2ID5 != 0? "Item ID "+#AlootSet2ID5+" - ("+getitemname(#AlootSet2ID5)+")": "Add Item",#AlootSet2ID6 != 0? "Item ID "+#AlootSet2ID6+" - ("+getitemname(#AlootSet2ID6)+")": "Add Item",#AlootSet2ID7 != 0? "Item ID "+#AlootSet2ID7+" - ("+getitemname(#AlootSet2ID7)+")": "Add Item",#AlootSet2ID8 != 0? "Item ID "+#AlootSet2ID8+" - ("+getitemname(#AlootSet2ID8)+")": "Add Item",#AlootSet2ID9 != 0? "Item ID "+#AlootSet2ID9+" - ("+getitemname(#AlootSet2ID9)+")": "Add Item",#AlootSet2ID10 != 0? "Item ID "+#AlootSet2ID10+" - ("+getitemname(#AlootSet2ID10)+")": "Add Item",#AlootSet2ID11 != 0? "Item ID "+#AlootSet2ID11+" - ("+getitemname(#AlootSet2ID11)+")": "Add Item",#AlootSet2ID12 != 0? "Item ID "+#AlootSet2ID12+" - ("+getitemname(#AlootSet2ID12)+")": "Add Item",#AlootSet2ID13 != 0? "Item ID "+#AlootSet2ID13+" - ("+getitemname(#AlootSet2ID13)+")": "Add Item",#AlootSet2ID14 != 0? "Item ID "+#AlootSet2ID14+" - ("+getitemname(#AlootSet2ID14)+")": "Add Item",#AlootSet2ID15 != 0? "Item ID "+#AlootSet2ID15+" - ("+getitemname(#AlootSet2ID15)+")": "Add Item",#AlootSet2ID16 != 0? "Item ID "+#AlootSet2ID16+" - ("+getitemname(#AlootSet2ID16)+")": "Add Item",#AlootSet2ID17 != 0? "Item ID "+#AlootSet2ID17+" - ("+getitemname(#AlootSet2ID17)+")": "Add Item",#AlootSet2ID18 != 0? "Item ID "+#AlootSet2ID18+" - ("+getitemname(#AlootSet2ID18)+")": "Add Item",#AlootSet2ID19 != 0? "Item ID "+#AlootSet2ID19+" - ("+getitemname(#AlootSet2ID19)+")": "Add Item",#AlootSet2ID20 != 0? "Item ID "+#AlootSet2ID20+" - ("+getitemname(#AlootSet2ID20)+")": "Add Item",#AlootSet2ID21 != 0? "Item ID "+#AlootSet2ID21+" - ("+getitemname(#AlootSet2ID21)+")": "Add Item",#AlootSet2ID22 != 0? "Item ID "+#AlootSet2ID22+" - ("+getitemname(#AlootSet2ID22)+")": "Add Item",#AlootSet2ID23 != 0? "Item ID "+#AlootSet2ID23+" - ("+getitemname(#AlootSet2ID23)+")": "Add Item",#AlootSet2ID24 != 0? "Item ID "+#AlootSet2ID24+" - ("+getitemname(#AlootSet2ID24)+")": "Add Item",#AlootSet2ID25 != 0? "Item ID "+#AlootSet2ID25+" - ("+getitemname(#AlootSet2ID25)+")": "Add Item" ))
  2116. 						{
  2117. 							case 1:
  2118. 							next;
  2119. 								mes .NPCName$;
  2120. 								mes "Please input the item ID for what you want to autoloot.";
  2121. 								mes "Enter 0 if you wish to leave this option blank.";
  2122. 								input @input;
  2123. 								if (@input == 0)
  2124. 								{
  2125. 								next;
  2126. 								mes .NPCName$;
  2127. 								mes "Alright, deleted!";
  2128. 								set #AlootSet2ID1,0;
  2129. 								next;
  2130. 								goto L_EasyMode2;
  2131. 								close;
  2132. 								} else {
  2133. 								if(getiteminfo(@input,0) == -1)
  2134. 								{
  2135. 								next;
  2136. 								mes .NPCName$;
  2137. 								mes "Sorry, this is not a valid Item ID";
  2138. 								mes "Please try again.";
  2139. 								next;
  2140. 								goto L_EasyMode2;
  2141. 								next;
  2142. 								} else {
  2143. 								next;
  2144. 								mes .NPCName$;
  2145. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2146. 								set #AlootSet2ID1,@input;
  2147. 								next;
  2148. 								goto L_EasyMode2;
  2149. 								}
  2150. 							}
  2151. 							case 2:
  2152. 							next;
  2153. 								mes .NPCName$;
  2154. 								mes "Please input the item ID for what you want to autoloot.";
  2155. 								mes "Enter 0 if you wish to leave this option blank.";
  2156. 								input @input;
  2157. 								if (@input == 0)
  2158. 								{
  2159. 								next;
  2160. 								mes .NPCName$;
  2161. 								mes "Alright, deleted!";
  2162. 								set #AlootSet2ID2,0;
  2163. 								next;
  2164. 								goto L_EasyMode2;
  2165. 								close;
  2166. 								} else {
  2167. 								if(getiteminfo(@input,0) == -1)
  2168. 								{
  2169. 								next;
  2170. 								mes .NPCName$;
  2171. 								mes "Sorry, this is not a valid Item ID";
  2172. 								mes "Please try again.";
  2173. 								next;
  2174. 								goto L_EasyMode2;
  2175. 								next;
  2176. 								} else {
  2177. 								next;
  2178. 								mes .NPCName$;
  2179. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2180. 								set #AlootSet2ID2,@input;
  2181. 								next;
  2182. 								goto L_EasyMode2;
  2183. 								}
  2184. 							}
  2185. 							case 3:
  2186. 							next;
  2187. 								mes .NPCName$;
  2188. 								mes "Please input the item ID for what you want to autoloot.";
  2189. 								mes "Enter 0 if you wish to leave this option blank.";
  2190. 								input @input;
  2191. 								if (@input == 0)
  2192. 								{
  2193. 								next;
  2194. 								mes .NPCName$;
  2195. 								mes "Alright, deleted!";
  2196. 								set #AlootSet2ID3,0;
  2197. 								next;
  2198. 								goto L_EasyMode2;
  2199. 								close;
  2200. 								} else {
  2201. 								if(getiteminfo(@input,0) == -1)
  2202. 								{
  2203. 								next;
  2204. 								mes .NPCName$;
  2205. 								mes "Sorry, this is not a valid Item ID";
  2206. 								mes "Please try again.";
  2207. 								next;
  2208. 								goto L_EasyMode2;
  2209. 								next;
  2210. 								} else {
  2211. 								next;
  2212. 								mes .NPCName$;
  2213. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2214. 								set #AlootSet2ID3,@input;
  2215. 								next;
  2216. 								goto L_EasyMode2;
  2217. 								}
  2218. 							}							
  2219. 							case 4:
  2220. 							next;
  2221. 								mes .NPCName$;
  2222. 								mes "Please input the item ID for what you want to autoloot.";
  2223. 								mes "Enter 0 if you wish to leave this option blank.";
  2224. 								input @input;
  2225. 								if (@input == 0)
  2226. 								{
  2227. 								next;
  2228. 								mes .NPCName$;
  2229. 								mes "Alright, deleted!";
  2230. 								set #AlootSet2ID4,0;
  2231. 								next;
  2232. 								goto L_EasyMode2;
  2233. 								close;
  2234. 								} else {
  2235. 								if(getiteminfo(@input,0) == -1)
  2236. 								{
  2237. 								next;
  2238. 								mes .NPCName$;
  2239. 								mes "Sorry, this is not a valid Item ID";
  2240. 								mes "Please try again.";
  2241. 								next;
  2242. 								goto L_EasyMode2;
  2243. 								next;
  2244. 								} else {
  2245. 								next;
  2246. 								mes .NPCName$;
  2247. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2248. 								set #AlootSet2ID4,@input;
  2249. 								next;
  2250. 								goto L_EasyMode2;
  2251. 								}
  2252. 							}
  2253. 							case 5:
  2254. 							next;
  2255. 								mes .NPCName$;
  2256. 								mes "Please input the item ID for what you want to autoloot.";
  2257. 								mes "Enter 0 if you wish to leave this option blank.";
  2258. 								input @input;
  2259. 								if (@input == 0)
  2260. 								{
  2261. 								next;
  2262. 								mes .NPCName$;
  2263. 								mes "Alright, deleted!";
  2264. 								set #AlootSet2ID5,0;
  2265. 								next;
  2266. 								goto L_EasyMode2;
  2267. 								close;
  2268. 								} else {
  2269. 								if(getiteminfo(@input,0) == -1)
  2270. 								{
  2271. 								next;
  2272. 								mes .NPCName$;
  2273. 								mes "Sorry, this is not a valid Item ID";
  2274. 								mes "Please try again.";
  2275. 								next;
  2276. 								goto L_EasyMode2;
  2277. 								next;
  2278. 								} else {
  2279. 								next;
  2280. 								mes .NPCName$;
  2281. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2282. 								set #AlootSet2ID5,@input;
  2283. 								next;
  2284. 								goto L_EasyMode2;
  2285. 								}
  2286. 							}			
  2287. 							case 6:
  2288. 								next;
  2289. 								mes .NPCName$;
  2290. 								mes "Please input the item ID for what you want to autoloot.";
  2291. 								mes "Enter 0 if you wish to leave this option blank.";
  2292. 								input @input;
  2293. 								if (@input == 0)
  2294. 								{
  2295. 								next;
  2296. 								mes .NPCName$;
  2297. 								mes "Alright, deleted!";
  2298. 								set #AlootSet2ID6,0;
  2299. 								next;
  2300. 								goto L_EasyMode2;
  2301. 								close;
  2302. 								} else {
  2303. 								if(getiteminfo(@input,0) == -1)
  2304. 								{
  2305. 								next;
  2306. 								mes .NPCName$;
  2307. 								mes "Sorry, this is not a valid Item ID";
  2308. 								mes "Please try again.";
  2309. 								next;
  2310. 								goto L_EasyMode2;
  2311. 								next;
  2312. 								} else {
  2313. 								next;
  2314. 								mes .NPCName$;
  2315. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2316. 								set #AlootSet2ID6,@input;
  2317. 								next;
  2318. 								goto L_EasyMode2;
  2319. 								}
  2320. 							}	
  2321. 							case 7:
  2322. 							next;
  2323. 								mes .NPCName$;
  2324. 								mes "Please input the item ID for what you want to autoloot.";
  2325. 								mes "Enter 0 if you wish to leave this option blank.";
  2326. 								input @input;
  2327. 								if (@input == 0)
  2328. 								{
  2329. 								next;
  2330. 								mes .NPCName$;
  2331. 								mes "Alright, deleted!";
  2332. 								set #AlootSet2ID7,0;
  2333. 								next;
  2334. 								goto L_EasyMode2;
  2335. 								close;
  2336. 								} else {
  2337. 								if(getiteminfo(@input,0) == -1)
  2338. 								{
  2339. 								next;
  2340. 								mes .NPCName$;
  2341. 								mes "Sorry, this is not a valid Item ID";
  2342. 								mes "Please try again.";
  2343. 								next;
  2344. 								goto L_EasyMode2;
  2345. 								next;
  2346. 								} else {
  2347. 								next;
  2348. 								mes .NPCName$;
  2349. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2350. 								set #AlootSet2ID7,@input;
  2351. 								next;
  2352. 								goto L_EasyMode2;
  2353. 								}
  2354. 							}		
  2355. 							case 8:
  2356. 							next;
  2357. 								mes .NPCName$;
  2358. 								mes "Please input the item ID for what you want to autoloot.";
  2359. 								mes "Enter 0 if you wish to leave this option blank.";
  2360. 								input @input;
  2361. 								if (@input == 0)
  2362. 								{
  2363. 								next;
  2364. 								mes .NPCName$;
  2365. 								mes "Alright, deleted!";
  2366. 								set #AlootSet2ID8,0;
  2367. 								next;
  2368. 								goto L_EasyMode2;
  2369. 								close;
  2370. 								} else {
  2371. 								if(getiteminfo(@input,0) == -1)
  2372. 								{
  2373. 								next;
  2374. 								mes .NPCName$;
  2375. 								mes "Sorry, this is not a valid Item ID";
  2376. 								mes "Please try again.";
  2377. 								next;
  2378. 								goto L_EasyMode2;
  2379. 								next;
  2380. 								} else {
  2381. 								next;
  2382. 								mes .NPCName$;
  2383. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2384. 								set #AlootSet2ID8,@input;
  2385. 								next;
  2386. 								goto L_EasyMode2;
  2387. 								}
  2388. 							}		
  2389. 							case 9:
  2390. 							next;
  2391. 								mes .NPCName$;
  2392. 								mes "Please input the item ID for what you want to autoloot.";
  2393. 								mes "Enter 0 if you wish to leave this option blank.";
  2394. 								input @input;
  2395. 								if (@input == 0)
  2396. 								{
  2397. 								next;
  2398. 								mes .NPCName$;
  2399. 								mes "Alright, deleted!";
  2400. 								set #AlootSet2ID9,0;
  2401. 								next;
  2402. 								goto L_EasyMode2;
  2403. 								close;
  2404. 								} else {
  2405. 								if(getiteminfo(@input,0) == -1)
  2406. 								{
  2407. 								next;
  2408. 								mes .NPCName$;
  2409. 								mes "Sorry, this is not a valid Item ID";
  2410. 								mes "Please try again.";
  2411. 								next;
  2412. 								goto L_EasyMode2;
  2413. 								next;
  2414. 								} else {
  2415. 								next;
  2416. 								mes .NPCName$;
  2417. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2418. 								set #AlootSet2ID9,@input;
  2419. 								next;
  2420. 								goto L_EasyMode2;
  2421. 								}
  2422. 							}	
  2423. 							case 10:
  2424. 								next;
  2425. 								mes .NPCName$;
  2426. 								mes "Please input the item ID for what you want to autoloot.";
  2427. 								mes "Enter 0 if you wish to leave this option blank.";
  2428. 								input @input;
  2429. 								if (@input == 0)
  2430. 								{
  2431. 								next;
  2432. 								mes .NPCName$;
  2433. 								mes "Alright, deleted!";
  2434. 								set #AlootSet2ID10,0;
  2435. 								next;
  2436. 								goto L_EasyMode2;
  2437. 								close;
  2438. 								} else {
  2439. 								if(getiteminfo(@input,0) == -1)
  2440. 								{
  2441. 								next;
  2442. 								mes .NPCName$;
  2443. 								mes "Sorry, this is not a valid Item ID";
  2444. 								mes "Please try again.";
  2445. 								next;
  2446. 								goto L_EasyMode2;
  2447. 								next;
  2448. 								} else {
  2449. 								next;
  2450. 								mes .NPCName$;
  2451. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2452. 								set #AlootSet2ID10,@input;
  2453. 								next;
  2454. 								goto L_EasyMode2;
  2455. 								}
  2456. 							}	
  2457. 							case 11:
  2458. 								next;
  2459. 								mes .NPCName$;
  2460. 								mes "Please input the item ID for what you want to autoloot.";
  2461. 								mes "Enter 0 if you wish to leave this option blank.";
  2462. 								input @input;
  2463. 								if (@input == 0)
  2464. 								{
  2465. 								next;
  2466. 								mes .NPCName$;
  2467. 								mes "Alright, deleted!";
  2468. 								set #AlootSet2ID11,0;
  2469. 								next;
  2470. 								goto L_EasyMode2;
  2471. 								close;
  2472. 								} else {
  2473. 								if(getiteminfo(@input,0) == -1)
  2474. 								{
  2475. 								next;
  2476. 								mes .NPCName$;
  2477. 								mes "Sorry, this is not a valid Item ID";
  2478. 								mes "Please try again.";
  2479. 								next;
  2480. 								goto L_EasyMode2;
  2481. 								next;
  2482. 								} else {
  2483. 								next;
  2484. 								mes .NPCName$;
  2485. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2486. 								set #AlootSet2ID11,@input;
  2487. 								next;
  2488. 								goto L_EasyMode2;
  2489. 								}
  2490. 							}	
  2491. 							case 12:
  2492. 							next;
  2493. 								mes .NPCName$;
  2494. 								mes "Please input the item ID for what you want to autoloot.";
  2495. 								mes "Enter 0 if you wish to leave this option blank.";
  2496. 								input @input;
  2497. 								if (@input == 0)
  2498. 								{
  2499. 								next;
  2500. 								mes .NPCName$;
  2501. 								mes "Alright, deleted!";
  2502. 								set #AlootSet2ID12,0;
  2503. 								next;
  2504. 								goto L_EasyMode2;
  2505. 								close;
  2506. 								} else {
  2507. 								if(getiteminfo(@input,0) == -1)
  2508. 								{
  2509. 								next;
  2510. 								mes .NPCName$;
  2511. 								mes "Sorry, this is not a valid Item ID";
  2512. 								mes "Please try again.";
  2513. 								next;
  2514. 								goto L_EasyMode2;
  2515. 								next;
  2516. 								} else {
  2517. 								next;
  2518. 								mes .NPCName$;
  2519. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2520. 								set #AlootSet2ID12,@input;
  2521. 								next;
  2522. 								goto L_EasyMode2;
  2523. 								}
  2524. 							}			
  2525. 							case 13:
  2526. 								next;
  2527. 								mes .NPCName$;
  2528. 								mes "Please input the item ID for what you want to autoloot.";
  2529. 								mes "Enter 0 if you wish to leave this option blank.";
  2530. 								input @input;
  2531. 								if (@input == 0)
  2532. 								{
  2533. 								next;
  2534. 								mes .NPCName$;
  2535. 								mes "Alright, deleted!";
  2536. 								set #AlootSet2ID13,0;
  2537. 								next;
  2538. 								goto L_EasyMode2;
  2539. 								close;
  2540. 								} else {
  2541. 								if(getiteminfo(@input,0) == -1)
  2542. 								{
  2543. 								next;
  2544. 								mes .NPCName$;
  2545. 								mes "Sorry, this is not a valid Item ID";
  2546. 								mes "Please try again.";
  2547. 								next;
  2548. 								goto L_EasyMode2;
  2549. 								next;
  2550. 								} else {
  2551. 								next;
  2552. 								mes .NPCName$;
  2553. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2554. 								set #AlootSet2ID13,@input;
  2555. 								next;
  2556. 								goto L_EasyMode2;
  2557. 								}
  2558. 							}	
  2559. 							case 14:
  2560. 							next;
  2561. 								mes .NPCName$;
  2562. 								mes "Please input the item ID for what you want to autoloot.";
  2563. 								mes "Enter 0 if you wish to leave this option blank.";
  2564. 								input @input;
  2565. 								if (@input == 0)
  2566. 								{
  2567. 								next;
  2568. 								mes .NPCName$;
  2569. 								mes "Alright, deleted!";
  2570. 								set #AlootSet2ID14,0;
  2571. 								next;
  2572. 								goto L_EasyMode2;
  2573. 								close;
  2574. 								} else {
  2575. 								if(getiteminfo(@input,0) == -1)
  2576. 								{
  2577. 								next;
  2578. 								mes .NPCName$;
  2579. 								mes "Sorry, this is not a valid Item ID";
  2580. 								mes "Please try again.";
  2581. 								next;
  2582. 								goto L_EasyMode2;
  2583. 								next;
  2584. 								} else {
  2585. 								next;
  2586. 								mes .NPCName$;
  2587. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2588. 								set #AlootSet2ID14,@input;
  2589. 								next;
  2590. 								goto L_EasyMode2;
  2591. 								}
  2592. 							}	
  2593. 							case 15:
  2594. 							next;
  2595. 								mes .NPCName$;
  2596. 								mes "Please input the item ID for what you want to autoloot.";
  2597. 								mes "Enter 0 if you wish to leave this option blank.";
  2598. 								input @input;
  2599. 								if (@input == 0)
  2600. 								{
  2601. 								next;
  2602. 								mes .NPCName$;
  2603. 								mes "Alright, deleted!";
  2604. 								set #AlootSet2ID15,0;
  2605. 								next;
  2606. 								goto L_EasyMode2;
  2607. 								close;
  2608. 								} else {
  2609. 								if(getiteminfo(@input,0) == -1)
  2610. 								{
  2611. 								next;
  2612. 								mes .NPCName$;
  2613. 								mes "Sorry, this is not a valid Item ID";
  2614. 								mes "Please try again.";
  2615. 								next;
  2616. 								goto L_EasyMode2;
  2617. 								next;
  2618. 								} else {
  2619. 								next;
  2620. 								mes .NPCName$;
  2621. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2622. 								set #AlootSet2ID15,@input;
  2623. 								next;
  2624. 								goto L_EasyMode2;
  2625. 								}
  2626. 							}		
  2627. 							case 16:
  2628. 							next;
  2629. 								mes .NPCName$;
  2630. 								mes "Please input the item ID for what you want to autoloot.";
  2631. 								mes "Enter 0 if you wish to leave this option blank.";
  2632. 								input @input;
  2633. 								if (@input == 0)
  2634. 								{
  2635. 								next;
  2636. 								mes .NPCName$;
  2637. 								mes "Alright, deleted!";
  2638. 								set #AlootSet2ID16,0;
  2639. 								next;
  2640. 								goto L_EasyMode2;
  2641. 								close;
  2642. 								} else {
  2643. 								if(getiteminfo(@input,0) == -1)
  2644. 								{
  2645. 								next;
  2646. 								mes .NPCName$;
  2647. 								mes "Sorry, this is not a valid Item ID";
  2648. 								mes "Please try again.";
  2649. 								next;
  2650. 								goto L_EasyMode2;
  2651. 								next;
  2652. 								} else {
  2653. 								next;
  2654. 								mes .NPCName$;
  2655. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2656. 								set #AlootSet2ID16,@input;
  2657. 								next;
  2658. 								goto L_EasyMode2;
  2659. 								}
  2660. 							}		
  2661. 							case 17:
  2662. 							next;
  2663. 								mes .NPCName$;
  2664. 								mes "Please input the item ID for what you want to autoloot.";
  2665. 								mes "Enter 0 if you wish to leave this option blank.";
  2666. 								input @input;
  2667. 								if (@input == 0)
  2668. 								{
  2669. 								next;
  2670. 								mes .NPCName$;
  2671. 								mes "Alright, deleted!";
  2672. 								set #AlootSet2ID17,0;
  2673. 								next;
  2674. 								goto L_EasyMode2;
  2675. 								close;
  2676. 								} else {
  2677. 								if(getiteminfo(@input,0) == -1)
  2678. 								{
  2679. 								next;
  2680. 								mes .NPCName$;
  2681. 								mes "Sorry, this is not a valid Item ID";
  2682. 								mes "Please try again.";
  2683. 								next;
  2684. 								goto L_EasyMode2;
  2685. 								next;
  2686. 								} else {
  2687. 								next;
  2688. 								mes .NPCName$;
  2689. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2690. 								set #AlootSet2ID17,@input;
  2691. 								next;
  2692. 								goto L_EasyMode2;
  2693. 								}
  2694. 							}		
  2695. 							case 18:
  2696. 							next;
  2697. 								mes .NPCName$;
  2698. 								mes "Please input the item ID for what you want to autoloot.";
  2699. 								mes "Enter 0 if you wish to leave this option blank.";
  2700. 								input @input;
  2701. 								if (@input == 0)
  2702. 								{
  2703. 								next;
  2704. 								mes .NPCName$;
  2705. 								mes "Alright, deleted!";
  2706. 								set #AlootSet2ID18,0;
  2707. 								next;
  2708. 								goto L_EasyMode2;
  2709. 								close;
  2710. 								} else {
  2711. 								if(getiteminfo(@input,0) == -1)
  2712. 								{
  2713. 								next;
  2714. 								mes .NPCName$;
  2715. 								mes "Sorry, this is not a valid Item ID";
  2716. 								mes "Please try again.";
  2717. 								next;
  2718. 								goto L_EasyMode2;
  2719. 								next;
  2720. 								} else {
  2721. 								next;
  2722. 								mes .NPCName$;
  2723. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2724. 								set #AlootSet2ID18,@input;
  2725. 								next;
  2726. 								goto L_EasyMode2;
  2727. 								}
  2728. 							}		
  2729. 							case 19:
  2730. 							next;
  2731. 								mes .NPCName$;
  2732. 								mes "Please input the item ID for what you want to autoloot.";
  2733. 								mes "Enter 0 if you wish to leave this option blank.";
  2734. 								input @input;
  2735. 								if (@input == 0)
  2736. 								{
  2737. 								next;
  2738. 								mes .NPCName$;
  2739. 								mes "Alright, deleted!";
  2740. 								set #AlootSet2ID19,0;
  2741. 								next;
  2742. 								goto L_EasyMode2;
  2743. 								close;
  2744. 								} else {
  2745. 								if(getiteminfo(@input,0) == -1)
  2746. 								{
  2747. 								next;
  2748. 								mes .NPCName$;
  2749. 								mes "Sorry, this is not a valid Item ID";
  2750. 								mes "Please try again.";
  2751. 								next;
  2752. 								goto L_EasyMode2;
  2753. 								next;
  2754. 								} else {
  2755. 								next;
  2756. 								mes .NPCName$;
  2757. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2758. 								set #AlootSet2ID19,@input;
  2759. 								next;
  2760. 								goto L_EasyMode2;
  2761. 								}
  2762. 							}		
  2763. 							case 20:
  2764. 							next;
  2765. 								mes .NPCName$;
  2766. 								mes "Please input the item ID for what you want to autoloot.";
  2767. 								mes "Enter 0 if you wish to leave this option blank.";
  2768. 								input @input;
  2769. 								if (@input == 0)
  2770. 								{
  2771. 								next;
  2772. 								mes .NPCName$;
  2773. 								mes "Alright, deleted!";
  2774. 								set #AlootSet2ID20,0;
  2775. 								next;
  2776. 								goto L_EasyMode2;
  2777. 								close;
  2778. 								} else {
  2779. 								if(getiteminfo(@input,0) == -1)
  2780. 								{
  2781. 								next;
  2782. 								mes .NPCName$;
  2783. 								mes "Sorry, this is not a valid Item ID";
  2784. 								mes "Please try again.";
  2785. 								next;
  2786. 								goto L_EasyMode2;
  2787. 								next;
  2788. 								} else {
  2789. 								next;
  2790. 								mes .NPCName$;
  2791. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2792. 								set #AlootSet2ID20,@input;
  2793. 								next;
  2794. 								goto L_EasyMode2;
  2795. 								}
  2796. 							}			
  2797. 							case 21:
  2798. 								next;
  2799. 								mes .NPCName$;
  2800. 								mes "Please input the item ID for what you want to autoloot.";
  2801. 								mes "Enter 0 if you wish to leave this option blank.";
  2802. 								input @input;
  2803. 								if (@input == 0)
  2804. 								{
  2805. 								next;
  2806. 								mes .NPCName$;
  2807. 								mes "Alright, deleted!";
  2808. 								set #AlootSet2ID21,0;
  2809. 								next;
  2810. 								goto L_EasyMode2;
  2811. 								close;
  2812. 								} else {
  2813. 								if(getiteminfo(@input,0) == -1)
  2814. 								{
  2815. 								next;
  2816. 								mes .NPCName$;
  2817. 								mes "Sorry, this is not a valid Item ID";
  2818. 								mes "Please try again.";
  2819. 								next;
  2820. 								goto L_EasyMode2;
  2821. 								next;
  2822. 								} else {
  2823. 								next;
  2824. 								mes .NPCName$;
  2825. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2826. 								set #AlootSet2ID21,@input;
  2827. 								next;
  2828. 								goto L_EasyMode2;
  2829. 								}
  2830. 							}	
  2831. 							case 22:
  2832. 							next;
  2833. 								mes .NPCName$;
  2834. 								mes "Please input the item ID for what you want to autoloot.";
  2835. 								mes "Enter 0 if you wish to leave this option blank.";
  2836. 								input @input;
  2837. 								if (@input == 0)
  2838. 								{
  2839. 								next;
  2840. 								mes .NPCName$;
  2841. 								mes "Alright, deleted!";
  2842. 								set #AlootSet2ID22,0;
  2843. 								next;
  2844. 								goto L_EasyMode2;
  2845. 								close;
  2846. 								} else {
  2847. 								if(getiteminfo(@input,0) == -1)
  2848. 								{
  2849. 								next;
  2850. 								mes .NPCName$;
  2851. 								mes "Sorry, this is not a valid Item ID";
  2852. 								mes "Please try again.";
  2853. 								next;
  2854. 								goto L_EasyMode2;
  2855. 								next;
  2856. 								} else {
  2857. 								next;
  2858. 								mes .NPCName$;
  2859. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2860. 								set #AlootSet2ID22,@input;
  2861. 								next;
  2862. 								goto L_EasyMode2;
  2863. 								}
  2864. 							}		
  2865. 							case 23:
  2866. 							next;
  2867. 								mes .NPCName$;
  2868. 								mes "Please input the item ID for what you want to autoloot.";
  2869. 								mes "Enter 0 if you wish to leave this option blank.";
  2870. 								input @input;
  2871. 								if (@input == 0)
  2872. 								{
  2873. 								next;
  2874. 								mes .NPCName$;
  2875. 								mes "Alright, deleted!";
  2876. 								set #AlootSet2ID23,0;
  2877. 								next;
  2878. 								goto L_EasyMode2;
  2879. 								close;
  2880. 								} else {
  2881. 								if(getiteminfo(@input,0) == -1)
  2882. 								{
  2883. 								next;
  2884. 								mes .NPCName$;
  2885. 								mes "Sorry, this is not a valid Item ID";
  2886. 								mes "Please try again.";
  2887. 								next;
  2888. 								goto L_EasyMode2;
  2889. 								next;
  2890. 								} else {
  2891. 								next;
  2892. 								mes .NPCName$;
  2893. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2894. 								set #AlootSet2ID23,@input;
  2895. 								next;
  2896. 								goto L_EasyMode2;
  2897. 								}
  2898. 							}			
  2899. 							case 24:
  2900. 							next;
  2901. 								mes .NPCName$;
  2902. 								mes "Please input the item ID for what you want to autoloot.";
  2903. 								mes "Enter 0 if you wish to leave this option blank.";
  2904. 								input @input;
  2905. 								if (@input == 0)
  2906. 								{
  2907. 								next;
  2908. 								mes .NPCName$;
  2909. 								mes "Alright, deleted!";
  2910. 								set #AlootSet2ID24,0;
  2911. 								next;
  2912. 								goto L_EasyMode2;
  2913. 								close;
  2914. 								} else {
  2915. 								if(getiteminfo(@input,0) == -1)
  2916. 								{
  2917. 								next;
  2918. 								mes .NPCName$;
  2919. 								mes "Sorry, this is not a valid Item ID";
  2920. 								mes "Please try again.";
  2921. 								next;
  2922. 								goto L_EasyMode2;
  2923. 								next;
  2924. 								} else {
  2925. 								next;
  2926. 								mes .NPCName$;
  2927. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2928. 								set #AlootSet2ID24,@input;
  2929. 								next;
  2930. 								goto L_EasyMode2;
  2931. 								}
  2932. 							}	
  2933. 							case 25:
  2934. 							next;
  2935. 								mes .NPCName$;
  2936. 								mes "Please input the item ID for what you want to autoloot.";
  2937. 								mes "Enter 0 if you wish to leave this option blank.";
  2938. 								input @input;
  2939. 								if (@input == 0)
  2940. 								{
  2941. 								next;
  2942. 								mes .NPCName$;
  2943. 								mes "Alright, deleted!";
  2944. 								set #AlootSet2ID25,0;
  2945. 								next;
  2946. 								goto L_EasyMode2;
  2947. 								close;
  2948. 								} else {
  2949. 								if(getiteminfo(@input,0) == -1)
  2950. 								{
  2951. 								next;
  2952. 								mes .NPCName$;
  2953. 								mes "Sorry, this is not a valid Item ID";
  2954. 								mes "Please try again.";
  2955. 								next;
  2956. 								goto L_EasyMode2;
  2957. 								next;
  2958. 								} else {
  2959. 								next;
  2960. 								mes .NPCName$;
  2961. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  2962. 								set #AlootSet2ID25,@input;
  2963. 								next;
  2964. 								goto L_EasyMode2;
  2965. 								}
  2966. 							}	
  2967. 						}
  2968.  
  2969. 		} else {
  2970. 		next;
  2971. 		mes .NPCName$;
  2972. 		mes "You have nothing created in this set!";
  2973. 		mes "Please create a set before editing it.";
  2974. 		close;
  2975. 		}
  2976. 					case 3:
  2977. 					if (@menu$[3] != "Nothing")
  2978. 					{					L_EasyMode3:
  2979. 						mes .NPCName$;
  2980. 						mes "Let's edit what's listed in this set.";
  2981. 						mes "You can Delete any item by entering 0.";
  2982. 						mes "Or edit the item ID by entering it in place of an existing one.";
  2983. 						next;
  2984. 						switch (select ( #AlootSet3ID1 != 0? "Item ID "+#AlootSet3ID1+" - ("+getitemname(#AlootSet3ID1)+")": "Add Item",#AlootSet3ID2 != 0? "Item ID "+#AlootSet3ID2+" - ("+getitemname(#AlootSet3ID2)+")": "Add Item",#AlootSet3ID3 != 0? "Item ID "+#AlootSet3ID3+" - ("+getitemname(#AlootSet3ID3)+")": "Add Item",#AlootSet3ID4 != 0? "Item ID "+#AlootSet3ID4+" - ("+getitemname(#AlootSet3ID4)+")": "Add Item",#AlootSet3ID5 != 0? "Item ID "+#AlootSet3ID5+" - ("+getitemname(#AlootSet3ID5)+")": "Add Item",#AlootSet3ID6 != 0? "Item ID "+#AlootSet3ID6+" - ("+getitemname(#AlootSet3ID6)+")": "Add Item",#AlootSet3ID7 != 0? "Item ID "+#AlootSet3ID7+" - ("+getitemname(#AlootSet3ID7)+")": "Add Item",#AlootSet3ID8 != 0? "Item ID "+#AlootSet3ID8+" - ("+getitemname(#AlootSet3ID8)+")": "Add Item",#AlootSet3ID9 != 0? "Item ID "+#AlootSet3ID9+" - ("+getitemname(#AlootSet3ID9)+")": "Add Item",#AlootSet3ID10 != 0? "Item ID "+#AlootSet3ID10+" - ("+getitemname(#AlootSet3ID10)+")": "Add Item",#AlootSet3ID11 != 0? "Item ID "+#AlootSet3ID11+" - ("+getitemname(#AlootSet3ID11)+")": "Add Item",#AlootSet3ID12 != 0? "Item ID "+#AlootSet3ID12+" - ("+getitemname(#AlootSet3ID12)+")": "Add Item",#AlootSet3ID13 != 0? "Item ID "+#AlootSet3ID13+" - ("+getitemname(#AlootSet3ID13)+")": "Add Item",#AlootSet3ID14 != 0? "Item ID "+#AlootSet3ID14+" - ("+getitemname(#AlootSet3ID14)+")": "Add Item",#AlootSet3ID15 != 0? "Item ID "+#AlootSet3ID15+" - ("+getitemname(#AlootSet3ID15)+")": "Add Item",#AlootSet3ID16 != 0? "Item ID "+#AlootSet3ID16+" - ("+getitemname(#AlootSet3ID16)+")": "Add Item",#AlootSet3ID17 != 0? "Item ID "+#AlootSet3ID17+" - ("+getitemname(#AlootSet3ID17)+")": "Add Item",#AlootSet3ID18 != 0? "Item ID "+#AlootSet3ID18+" - ("+getitemname(#AlootSet3ID18)+")": "Add Item",#AlootSet3ID19 != 0? "Item ID "+#AlootSet3ID19+" - ("+getitemname(#AlootSet3ID19)+")": "Add Item",#AlootSet3ID20 != 0? "Item ID "+#AlootSet3ID20+" - ("+getitemname(#AlootSet3ID20)+")": "Add Item",#AlootSet3ID21 != 0? "Item ID "+#AlootSet3ID21+" - ("+getitemname(#AlootSet3ID21)+")": "Add Item",#AlootSet3ID22 != 0? "Item ID "+#AlootSet3ID22+" - ("+getitemname(#AlootSet3ID22)+")": "Add Item",#AlootSet3ID23 != 0? "Item ID "+#AlootSet3ID23+" - ("+getitemname(#AlootSet3ID23)+")": "Add Item",#AlootSet3ID24 != 0? "Item ID "+#AlootSet3ID24+" - ("+getitemname(#AlootSet3ID24)+")": "Add Item",#AlootSet3ID25 != 0? "Item ID "+#AlootSet3ID25+" - ("+getitemname(#AlootSet3ID25)+")": "Add Item" ))
  2985. 						{
  2986. 							case 1:
  2987. 							next;
  2988. 								mes .NPCName$;
  2989. 								mes "Please input the item ID for what you want to autoloot.";
  2990. 								mes "Enter 0 if you wish to leave this option blank.";
  2991. 								input @input;
  2992. 								if (@input == 0)
  2993. 								{
  2994. 								next;
  2995. 								mes .NPCName$;
  2996. 								mes "Alright, deleted!";
  2997. 								set #AlootSet3ID1,0;
  2998. 								next;
  2999. 								goto L_EasyMode3;
  3000. 								close;
  3001. 								} else {
  3002. 								if(getiteminfo(@input,0) == -1)
  3003. 								{
  3004. 								next;
  3005. 								mes .NPCName$;
  3006. 								mes "Sorry, this is not a valid Item ID";
  3007. 								mes "Please try again.";
  3008. 								next;
  3009. 								goto L_EasyMode3;
  3010. 								next;
  3011. 								} else {
  3012. 								next;
  3013. 								mes .NPCName$;
  3014. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3015. 								set #AlootSet3ID1,@input;
  3016. 								next;
  3017. 								goto L_EasyMode3;
  3018. 								}
  3019. 							}
  3020. 							case 2:
  3021. 							next;
  3022. 								mes .NPCName$;
  3023. 								mes "Please input the item ID for what you want to autoloot.";
  3024. 								mes "Enter 0 if you wish to leave this option blank.";
  3025. 								input @input;
  3026. 								if (@input == 0)
  3027. 								{
  3028. 								next;
  3029. 								mes .NPCName$;
  3030. 								mes "Alright, deleted!";
  3031. 								set #AlootSet3ID2,0;
  3032. 								next;
  3033. 								goto L_EasyMode3;
  3034. 								close;
  3035. 								} else {
  3036. 								if(getiteminfo(@input,0) == -1)
  3037. 								{
  3038. 								next;
  3039. 								mes .NPCName$;
  3040. 								mes "Sorry, this is not a valid Item ID";
  3041. 								mes "Please try again.";
  3042. 								next;
  3043. 								goto L_EasyMode3;
  3044. 								next;
  3045. 								} else {
  3046. 								next;
  3047. 								mes .NPCName$;
  3048. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3049. 								set #AlootSet3ID2,@input;
  3050. 								next;
  3051. 								goto L_EasyMode3;
  3052. 								}
  3053. 							}
  3054. 							case 3:
  3055. 							next;
  3056. 								mes .NPCName$;
  3057. 								mes "Please input the item ID for what you want to autoloot.";
  3058. 								mes "Enter 0 if you wish to leave this option blank.";
  3059. 								input @input;
  3060. 								if (@input == 0)
  3061. 								{
  3062. 								next;
  3063. 								mes .NPCName$;
  3064. 								mes "Alright, deleted!";
  3065. 								set #AlootSet3ID3,0;
  3066. 								next;
  3067. 								goto L_EasyMode3;
  3068. 								close;
  3069. 								} else {
  3070. 								if(getiteminfo(@input,0) == -1)
  3071. 								{
  3072. 								next;
  3073. 								mes .NPCName$;
  3074. 								mes "Sorry, this is not a valid Item ID";
  3075. 								mes "Please try again.";
  3076. 								next;
  3077. 								goto L_EasyMode3;
  3078. 								next;
  3079. 								} else {
  3080. 								next;
  3081. 								mes .NPCName$;
  3082. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3083. 								set #AlootSet3ID3,@input;
  3084. 								next;
  3085. 								goto L_EasyMode3;
  3086. 								}
  3087. 							}							
  3088. 							case 4:
  3089. 							next;
  3090. 								mes .NPCName$;
  3091. 								mes "Please input the item ID for what you want to autoloot.";
  3092. 								mes "Enter 0 if you wish to leave this option blank.";
  3093. 								input @input;
  3094. 								if (@input == 0)
  3095. 								{
  3096. 								next;
  3097. 								mes .NPCName$;
  3098. 								mes "Alright, deleted!";
  3099. 								set #AlootSet3ID4,0;
  3100. 								next;
  3101. 								goto L_EasyMode3;
  3102. 								close;
  3103. 								} else {
  3104. 								if(getiteminfo(@input,0) == -1)
  3105. 								{
  3106. 								next;
  3107. 								mes .NPCName$;
  3108. 								mes "Sorry, this is not a valid Item ID";
  3109. 								mes "Please try again.";
  3110. 								next;
  3111. 								goto L_EasyMode3;
  3112. 								next;
  3113. 								} else {
  3114. 								next;
  3115. 								mes .NPCName$;
  3116. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3117. 								set #AlootSet3ID4,@input;
  3118. 								next;
  3119. 								goto L_EasyMode3;
  3120. 								}
  3121. 							}
  3122. 							case 5:
  3123. 							next;
  3124. 								mes .NPCName$;
  3125. 								mes "Please input the item ID for what you want to autoloot.";
  3126. 								mes "Enter 0 if you wish to leave this option blank.";
  3127. 								input @input;
  3128. 								if (@input == 0)
  3129. 								{
  3130. 								next;
  3131. 								mes .NPCName$;
  3132. 								mes "Alright, deleted!";
  3133. 								set #AlootSet3ID5,0;
  3134. 								next;
  3135. 								goto L_EasyMode3;
  3136. 								close;
  3137. 								} else {
  3138. 								if(getiteminfo(@input,0) == -1)
  3139. 								{
  3140. 								next;
  3141. 								mes .NPCName$;
  3142. 								mes "Sorry, this is not a valid Item ID";
  3143. 								mes "Please try again.";
  3144. 								next;
  3145. 								goto L_EasyMode3;
  3146. 								next;
  3147. 								} else {
  3148. 								next;
  3149. 								mes .NPCName$;
  3150. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3151. 								set #AlootSet3ID5,@input;
  3152. 								next;
  3153. 								goto L_EasyMode3;
  3154. 								}
  3155. 							}			
  3156. 							case 6:
  3157. 								next;
  3158. 								mes .NPCName$;
  3159. 								mes "Please input the item ID for what you want to autoloot.";
  3160. 								mes "Enter 0 if you wish to leave this option blank.";
  3161. 								input @input;
  3162. 								if (@input == 0)
  3163. 								{
  3164. 								next;
  3165. 								mes .NPCName$;
  3166. 								mes "Alright, deleted!";
  3167. 								set #AlootSet3ID6,0;
  3168. 								next;
  3169. 								goto L_EasyMode3;
  3170. 								close;
  3171. 								} else {
  3172. 								if(getiteminfo(@input,0) == -1)
  3173. 								{
  3174. 								next;
  3175. 								mes .NPCName$;
  3176. 								mes "Sorry, this is not a valid Item ID";
  3177. 								mes "Please try again.";
  3178. 								next;
  3179. 								goto L_EasyMode3;
  3180. 								next;
  3181. 								} else {
  3182. 								next;
  3183. 								mes .NPCName$;
  3184. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3185. 								set #AlootSet3ID6,@input;
  3186. 								next;
  3187. 								goto L_EasyMode3;
  3188. 								}
  3189. 							}	
  3190. 							case 7:
  3191. 							next;
  3192. 								mes .NPCName$;
  3193. 								mes "Please input the item ID for what you want to autoloot.";
  3194. 								mes "Enter 0 if you wish to leave this option blank.";
  3195. 								input @input;
  3196. 								if (@input == 0)
  3197. 								{
  3198. 								next;
  3199. 								mes .NPCName$;
  3200. 								mes "Alright, deleted!";
  3201. 								set #AlootSet3ID7,0;
  3202. 								next;
  3203. 								goto L_EasyMode3;
  3204. 								close;
  3205. 								} else {
  3206. 								if(getiteminfo(@input,0) == -1)
  3207. 								{
  3208. 								next;
  3209. 								mes .NPCName$;
  3210. 								mes "Sorry, this is not a valid Item ID";
  3211. 								mes "Please try again.";
  3212. 								next;
  3213. 								goto L_EasyMode3;
  3214. 								next;
  3215. 								} else {
  3216. 								next;
  3217. 								mes .NPCName$;
  3218. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3219. 								set #AlootSet3ID7,@input;
  3220. 								next;
  3221. 								goto L_EasyMode3;
  3222. 								}
  3223. 							}		
  3224. 							case 8:
  3225. 							next;
  3226. 								mes .NPCName$;
  3227. 								mes "Please input the item ID for what you want to autoloot.";
  3228. 								mes "Enter 0 if you wish to leave this option blank.";
  3229. 								input @input;
  3230. 								if (@input == 0)
  3231. 								{
  3232. 								next;
  3233. 								mes .NPCName$;
  3234. 								mes "Alright, deleted!";
  3235. 								set #AlootSet3ID8,0;
  3236. 								next;
  3237. 								goto L_EasyMode3;
  3238. 								close;
  3239. 								} else {
  3240. 								if(getiteminfo(@input,0) == -1)
  3241. 								{
  3242. 								next;
  3243. 								mes .NPCName$;
  3244. 								mes "Sorry, this is not a valid Item ID";
  3245. 								mes "Please try again.";
  3246. 								next;
  3247. 								goto L_EasyMode3;
  3248. 								next;
  3249. 								} else {
  3250. 								next;
  3251. 								mes .NPCName$;
  3252. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3253. 								set #AlootSet3ID8,@input;
  3254. 								next;
  3255. 								goto L_EasyMode3;
  3256. 								}
  3257. 							}		
  3258. 							case 9:
  3259. 							next;
  3260. 								mes .NPCName$;
  3261. 								mes "Please input the item ID for what you want to autoloot.";
  3262. 								mes "Enter 0 if you wish to leave this option blank.";
  3263. 								input @input;
  3264. 								if (@input == 0)
  3265. 								{
  3266. 								next;
  3267. 								mes .NPCName$;
  3268. 								mes "Alright, deleted!";
  3269. 								set #AlootSet3ID9,0;
  3270. 								next;
  3271. 								goto L_EasyMode3;
  3272. 								close;
  3273. 								} else {
  3274. 								if(getiteminfo(@input,0) == -1)
  3275. 								{
  3276. 								next;
  3277. 								mes .NPCName$;
  3278. 								mes "Sorry, this is not a valid Item ID";
  3279. 								mes "Please try again.";
  3280. 								next;
  3281. 								goto L_EasyMode3;
  3282. 								next;
  3283. 								} else {
  3284. 								next;
  3285. 								mes .NPCName$;
  3286. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3287. 								set #AlootSet3ID9,@input;
  3288. 								next;
  3289. 								goto L_EasyMode3;
  3290. 								}
  3291. 							}	
  3292. 							case 10:
  3293. 								next;
  3294. 								mes .NPCName$;
  3295. 								mes "Please input the item ID for what you want to autoloot.";
  3296. 								mes "Enter 0 if you wish to leave this option blank.";
  3297. 								input @input;
  3298. 								if (@input == 0)
  3299. 								{
  3300. 								next;
  3301. 								mes .NPCName$;
  3302. 								mes "Alright, deleted!";
  3303. 								set #AlootSet3ID10,0;
  3304. 								next;
  3305. 								goto L_EasyMode3;
  3306. 								close;
  3307. 								} else {
  3308. 								if(getiteminfo(@input,0) == -1)
  3309. 								{
  3310. 								next;
  3311. 								mes .NPCName$;
  3312. 								mes "Sorry, this is not a valid Item ID";
  3313. 								mes "Please try again.";
  3314. 								next;
  3315. 								goto L_EasyMode3;
  3316. 								next;
  3317. 								} else {
  3318. 								next;
  3319. 								mes .NPCName$;
  3320. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3321. 								set #AlootSet3ID10,@input;
  3322. 								next;
  3323. 								goto L_EasyMode3;
  3324. 								}
  3325. 							}	
  3326. 							case 11:
  3327. 								next;
  3328. 								mes .NPCName$;
  3329. 								mes "Please input the item ID for what you want to autoloot.";
  3330. 								mes "Enter 0 if you wish to leave this option blank.";
  3331. 								input @input;
  3332. 								if (@input == 0)
  3333. 								{
  3334. 								next;
  3335. 								mes .NPCName$;
  3336. 								mes "Alright, deleted!";
  3337. 								set #AlootSet3ID11,0;
  3338. 								next;
  3339. 								goto L_EasyMode3;
  3340. 								close;
  3341. 								} else {
  3342. 								if(getiteminfo(@input,0) == -1)
  3343. 								{
  3344. 								next;
  3345. 								mes .NPCName$;
  3346. 								mes "Sorry, this is not a valid Item ID";
  3347. 								mes "Please try again.";
  3348. 								next;
  3349. 								goto L_EasyMode3;
  3350. 								next;
  3351. 								} else {
  3352. 								next;
  3353. 								mes .NPCName$;
  3354. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3355. 								set #AlootSet3ID11,@input;
  3356. 								next;
  3357. 								goto L_EasyMode3;
  3358. 								}
  3359. 							}	
  3360. 							case 12:
  3361. 							next;
  3362. 								mes .NPCName$;
  3363. 								mes "Please input the item ID for what you want to autoloot.";
  3364. 								mes "Enter 0 if you wish to leave this option blank.";
  3365. 								input @input;
  3366. 								if (@input == 0)
  3367. 								{
  3368. 								next;
  3369. 								mes .NPCName$;
  3370. 								mes "Alright, deleted!";
  3371. 								set #AlootSet3ID12,0;
  3372. 								next;
  3373. 								goto L_EasyMode3;
  3374. 								close;
  3375. 								} else {
  3376. 								if(getiteminfo(@input,0) == -1)
  3377. 								{
  3378. 								next;
  3379. 								mes .NPCName$;
  3380. 								mes "Sorry, this is not a valid Item ID";
  3381. 								mes "Please try again.";
  3382. 								next;
  3383. 								goto L_EasyMode3;
  3384. 								next;
  3385. 								} else {
  3386. 								next;
  3387. 								mes .NPCName$;
  3388. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3389. 								set #AlootSet3ID12,@input;
  3390. 								next;
  3391. 								goto L_EasyMode3;
  3392. 								}
  3393. 							}			
  3394. 							case 13:
  3395. 								next;
  3396. 								mes .NPCName$;
  3397. 								mes "Please input the item ID for what you want to autoloot.";
  3398. 								mes "Enter 0 if you wish to leave this option blank.";
  3399. 								input @input;
  3400. 								if (@input == 0)
  3401. 								{
  3402. 								next;
  3403. 								mes .NPCName$;
  3404. 								mes "Alright, deleted!";
  3405. 								set #AlootSet3ID13,0;
  3406. 								next;
  3407. 								goto L_EasyMode3;
  3408. 								close;
  3409. 								} else {
  3410. 								if(getiteminfo(@input,0) == -1)
  3411. 								{
  3412. 								next;
  3413. 								mes .NPCName$;
  3414. 								mes "Sorry, this is not a valid Item ID";
  3415. 								mes "Please try again.";
  3416. 								next;
  3417. 								goto L_EasyMode3;
  3418. 								next;
  3419. 								} else {
  3420. 								next;
  3421. 								mes .NPCName$;
  3422. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3423. 								set #AlootSet3ID13,@input;
  3424. 								next;
  3425. 								goto L_EasyMode3;
  3426. 								}
  3427. 							}	
  3428. 							case 14:
  3429. 							next;
  3430. 								mes .NPCName$;
  3431. 								mes "Please input the item ID for what you want to autoloot.";
  3432. 								mes "Enter 0 if you wish to leave this option blank.";
  3433. 								input @input;
  3434. 								if (@input == 0)
  3435. 								{
  3436. 								next;
  3437. 								mes .NPCName$;
  3438. 								mes "Alright, deleted!";
  3439. 								set #AlootSet3ID14,0;
  3440. 								next;
  3441. 								goto L_EasyMode3;
  3442. 								close;
  3443. 								} else {
  3444. 								if(getiteminfo(@input,0) == -1)
  3445. 								{
  3446. 								next;
  3447. 								mes .NPCName$;
  3448. 								mes "Sorry, this is not a valid Item ID";
  3449. 								mes "Please try again.";
  3450. 								next;
  3451. 								goto L_EasyMode3;
  3452. 								next;
  3453. 								} else {
  3454. 								next;
  3455. 								mes .NPCName$;
  3456. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3457. 								set #AlootSet3ID14,@input;
  3458. 								next;
  3459. 								goto L_EasyMode3;
  3460. 								}
  3461. 							}	
  3462. 							case 15:
  3463. 							next;
  3464. 								mes .NPCName$;
  3465. 								mes "Please input the item ID for what you want to autoloot.";
  3466. 								mes "Enter 0 if you wish to leave this option blank.";
  3467. 								input @input;
  3468. 								if (@input == 0)
  3469. 								{
  3470. 								next;
  3471. 								mes .NPCName$;
  3472. 								mes "Alright, deleted!";
  3473. 								set #AlootSet3ID15,0;
  3474. 								next;
  3475. 								goto L_EasyMode3;
  3476. 								close;
  3477. 								} else {
  3478. 								if(getiteminfo(@input,0) == -1)
  3479. 								{
  3480. 								next;
  3481. 								mes .NPCName$;
  3482. 								mes "Sorry, this is not a valid Item ID";
  3483. 								mes "Please try again.";
  3484. 								next;
  3485. 								goto L_EasyMode3;
  3486. 								next;
  3487. 								} else {
  3488. 								next;
  3489. 								mes .NPCName$;
  3490. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3491. 								set #AlootSet3ID15,@input;
  3492. 								next;
  3493. 								goto L_EasyMode3;
  3494. 								}
  3495. 							}		
  3496. 							case 16:
  3497. 							next;
  3498. 								mes .NPCName$;
  3499. 								mes "Please input the item ID for what you want to autoloot.";
  3500. 								mes "Enter 0 if you wish to leave this option blank.";
  3501. 								input @input;
  3502. 								if (@input == 0)
  3503. 								{
  3504. 								next;
  3505. 								mes .NPCName$;
  3506. 								mes "Alright, deleted!";
  3507. 								set #AlootSet3ID16,0;
  3508. 								next;
  3509. 								goto L_EasyMode3;
  3510. 								close;
  3511. 								} else {
  3512. 								if(getiteminfo(@input,0) == -1)
  3513. 								{
  3514. 								next;
  3515. 								mes .NPCName$;
  3516. 								mes "Sorry, this is not a valid Item ID";
  3517. 								mes "Please try again.";
  3518. 								next;
  3519. 								goto L_EasyMode3;
  3520. 								next;
  3521. 								} else {
  3522. 								next;
  3523. 								mes .NPCName$;
  3524. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3525. 								set #AlootSet3ID16,@input;
  3526. 								next;
  3527. 								goto L_EasyMode3;
  3528. 								}
  3529. 							}		
  3530. 							case 17:
  3531. 							next;
  3532. 								mes .NPCName$;
  3533. 								mes "Please input the item ID for what you want to autoloot.";
  3534. 								mes "Enter 0 if you wish to leave this option blank.";
  3535. 								input @input;
  3536. 								if (@input == 0)
  3537. 								{
  3538. 								next;
  3539. 								mes .NPCName$;
  3540. 								mes "Alright, deleted!";
  3541. 								set #AlootSet3ID17,0;
  3542. 								next;
  3543. 								goto L_EasyMode3;
  3544. 								close;
  3545. 								} else {
  3546. 								if(getiteminfo(@input,0) == -1)
  3547. 								{
  3548. 								next;
  3549. 								mes .NPCName$;
  3550. 								mes "Sorry, this is not a valid Item ID";
  3551. 								mes "Please try again.";
  3552. 								next;
  3553. 								goto L_EasyMode3;
  3554. 								next;
  3555. 								} else {
  3556. 								next;
  3557. 								mes .NPCName$;
  3558. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3559. 								set #AlootSet3ID17,@input;
  3560. 								next;
  3561. 								goto L_EasyMode3;
  3562. 								}
  3563. 							}		
  3564. 							case 18:
  3565. 							next;
  3566. 								mes .NPCName$;
  3567. 								mes "Please input the item ID for what you want to autoloot.";
  3568. 								mes "Enter 0 if you wish to leave this option blank.";
  3569. 								input @input;
  3570. 								if (@input == 0)
  3571. 								{
  3572. 								next;
  3573. 								mes .NPCName$;
  3574. 								mes "Alright, deleted!";
  3575. 								set #AlootSet3ID18,0;
  3576. 								next;
  3577. 								goto L_EasyMode3;
  3578. 								close;
  3579. 								} else {
  3580. 								if(getiteminfo(@input,0) == -1)
  3581. 								{
  3582. 								next;
  3583. 								mes .NPCName$;
  3584. 								mes "Sorry, this is not a valid Item ID";
  3585. 								mes "Please try again.";
  3586. 								next;
  3587. 								goto L_EasyMode3;
  3588. 								next;
  3589. 								} else {
  3590. 								next;
  3591. 								mes .NPCName$;
  3592. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3593. 								set #AlootSet3ID18,@input;
  3594. 								next;
  3595. 								goto L_EasyMode3;
  3596. 								}
  3597. 							}		
  3598. 							case 19:
  3599. 							next;
  3600. 								mes .NPCName$;
  3601. 								mes "Please input the item ID for what you want to autoloot.";
  3602. 								mes "Enter 0 if you wish to leave this option blank.";
  3603. 								input @input;
  3604. 								if (@input == 0)
  3605. 								{
  3606. 								next;
  3607. 								mes .NPCName$;
  3608. 								mes "Alright, deleted!";
  3609. 								set #AlootSet3ID19,0;
  3610. 								next;
  3611. 								goto L_EasyMode3;
  3612. 								close;
  3613. 								} else {
  3614. 								if(getiteminfo(@input,0) == -1)
  3615. 								{
  3616. 								next;
  3617. 								mes .NPCName$;
  3618. 								mes "Sorry, this is not a valid Item ID";
  3619. 								mes "Please try again.";
  3620. 								next;
  3621. 								goto L_EasyMode3;
  3622. 								next;
  3623. 								} else {
  3624. 								next;
  3625. 								mes .NPCName$;
  3626. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3627. 								set #AlootSet3ID19,@input;
  3628. 								next;
  3629. 								goto L_EasyMode3;
  3630. 								}
  3631. 							}		
  3632. 							case 20:
  3633. 							next;
  3634. 								mes .NPCName$;
  3635. 								mes "Please input the item ID for what you want to autoloot.";
  3636. 								mes "Enter 0 if you wish to leave this option blank.";
  3637. 								input @input;
  3638. 								if (@input == 0)
  3639. 								{
  3640. 								next;
  3641. 								mes .NPCName$;
  3642. 								mes "Alright, deleted!";
  3643. 								set #AlootSet3ID20,0;
  3644. 								next;
  3645. 								goto L_EasyMode3;
  3646. 								close;
  3647. 								} else {
  3648. 								if(getiteminfo(@input,0) == -1)
  3649. 								{
  3650. 								next;
  3651. 								mes .NPCName$;
  3652. 								mes "Sorry, this is not a valid Item ID";
  3653. 								mes "Please try again.";
  3654. 								next;
  3655. 								goto L_EasyMode3;
  3656. 								next;
  3657. 								} else {
  3658. 								next;
  3659. 								mes .NPCName$;
  3660. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3661. 								set #AlootSet3ID20,@input;
  3662. 								next;
  3663. 								goto L_EasyMode3;
  3664. 								}
  3665. 							}			
  3666. 							case 21:
  3667. 								next;
  3668. 								mes .NPCName$;
  3669. 								mes "Please input the item ID for what you want to autoloot.";
  3670. 								mes "Enter 0 if you wish to leave this option blank.";
  3671. 								input @input;
  3672. 								if (@input == 0)
  3673. 								{
  3674. 								next;
  3675. 								mes .NPCName$;
  3676. 								mes "Alright, deleted!";
  3677. 								set #AlootSet3ID21,0;
  3678. 								next;
  3679. 								goto L_EasyMode3;
  3680. 								close;
  3681. 								} else {
  3682. 								if(getiteminfo(@input,0) == -1)
  3683. 								{
  3684. 								next;
  3685. 								mes .NPCName$;
  3686. 								mes "Sorry, this is not a valid Item ID";
  3687. 								mes "Please try again.";
  3688. 								next;
  3689. 								goto L_EasyMode3;
  3690. 								next;
  3691. 								} else {
  3692. 								next;
  3693. 								mes .NPCName$;
  3694. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3695. 								set #AlootSet3ID21,@input;
  3696. 								next;
  3697. 								goto L_EasyMode3;
  3698. 								}
  3699. 							}	
  3700. 							case 22:
  3701. 							next;
  3702. 								mes .NPCName$;
  3703. 								mes "Please input the item ID for what you want to autoloot.";
  3704. 								mes "Enter 0 if you wish to leave this option blank.";
  3705. 								input @input;
  3706. 								if (@input == 0)
  3707. 								{
  3708. 								next;
  3709. 								mes .NPCName$;
  3710. 								mes "Alright, deleted!";
  3711. 								set #AlootSet3ID22,0;
  3712. 								next;
  3713. 								goto L_EasyMode3;
  3714. 								close;
  3715. 								} else {
  3716. 								if(getiteminfo(@input,0) == -1)
  3717. 								{
  3718. 								next;
  3719. 								mes .NPCName$;
  3720. 								mes "Sorry, this is not a valid Item ID";
  3721. 								mes "Please try again.";
  3722. 								next;
  3723. 								goto L_EasyMode3;
  3724. 								next;
  3725. 								} else {
  3726. 								next;
  3727. 								mes .NPCName$;
  3728. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3729. 								set #AlootSet3ID22,@input;
  3730. 								next;
  3731. 								goto L_EasyMode3;
  3732. 								}
  3733. 							}		
  3734. 							case 23:
  3735. 							next;
  3736. 								mes .NPCName$;
  3737. 								mes "Please input the item ID for what you want to autoloot.";
  3738. 								mes "Enter 0 if you wish to leave this option blank.";
  3739. 								input @input;
  3740. 								if (@input == 0)
  3741. 								{
  3742. 								next;
  3743. 								mes .NPCName$;
  3744. 								mes "Alright, deleted!";
  3745. 								set #AlootSet3ID23,0;
  3746. 								next;
  3747. 								goto L_EasyMode3;
  3748. 								close;
  3749. 								} else {
  3750. 								if(getiteminfo(@input,0) == -1)
  3751. 								{
  3752. 								next;
  3753. 								mes .NPCName$;
  3754. 								mes "Sorry, this is not a valid Item ID";
  3755. 								mes "Please try again.";
  3756. 								next;
  3757. 								goto L_EasyMode3;
  3758. 								next;
  3759. 								} else {
  3760. 								next;
  3761. 								mes .NPCName$;
  3762. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3763. 								set #AlootSet3ID23,@input;
  3764. 								next;
  3765. 								goto L_EasyMode3;
  3766. 								}
  3767. 							}			
  3768. 							case 24:
  3769. 							next;
  3770. 								mes .NPCName$;
  3771. 								mes "Please input the item ID for what you want to autoloot.";
  3772. 								mes "Enter 0 if you wish to leave this option blank.";
  3773. 								input @input;
  3774. 								if (@input == 0)
  3775. 								{
  3776. 								next;
  3777. 								mes .NPCName$;
  3778. 								mes "Alright, deleted!";
  3779. 								set #AlootSet3ID24,0;
  3780. 								next;
  3781. 								goto L_EasyMode3;
  3782. 								close;
  3783. 								} else {
  3784. 								if(getiteminfo(@input,0) == -1)
  3785. 								{
  3786. 								next;
  3787. 								mes .NPCName$;
  3788. 								mes "Sorry, this is not a valid Item ID";
  3789. 								mes "Please try again.";
  3790. 								next;
  3791. 								goto L_EasyMode3;
  3792. 								next;
  3793. 								} else {
  3794. 								next;
  3795. 								mes .NPCName$;
  3796. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3797. 								set #AlootSet3ID24,@input;
  3798. 								next;
  3799. 								goto L_EasyMode3;
  3800. 								}
  3801. 							}	
  3802. 							case 25:
  3803. 							next;
  3804. 								mes .NPCName$;
  3805. 								mes "Please input the item ID for what you want to autoloot.";
  3806. 								mes "Enter 0 if you wish to leave this option blank.";
  3807. 								input @input;
  3808. 								if (@input == 0)
  3809. 								{
  3810. 								next;
  3811. 								mes .NPCName$;
  3812. 								mes "Alright, deleted!";
  3813. 								set #AlootSet3ID25,0;
  3814. 								next;
  3815. 								goto L_EasyMode3;
  3816. 								close;
  3817. 								} else {
  3818. 								if(getiteminfo(@input,0) == -1)
  3819. 								{
  3820. 								next;
  3821. 								mes .NPCName$;
  3822. 								mes "Sorry, this is not a valid Item ID";
  3823. 								mes "Please try again.";
  3824. 								next;
  3825. 								goto L_EasyMode3;
  3826. 								next;
  3827. 								} else {
  3828. 								next;
  3829. 								mes .NPCName$;
  3830. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3831. 								set #AlootSet3ID25,@input;
  3832. 								next;
  3833. 								goto L_EasyMode3;
  3834. 								}
  3835. 							}	
  3836. 						}
  3837.  
  3838. 		} else {
  3839. 		next;
  3840. 		mes .NPCName$;
  3841. 		mes "You have nothing created in this set!";
  3842. 		mes "Please create a set before editing it.";
  3843. 		close;
  3844. 		}
  3845. 					case 4:
  3846. 					if (@menu$[4] != "Nothing")
  3847. 					{					L_EasyMode4:
  3848. 						mes .NPCName$;
  3849. 						mes "Let's edit what's listed in this set.";
  3850. 						mes "You can Delete any item by entering 0.";
  3851. 						mes "Or edit the item ID by entering it in place of an existing one.";
  3852. 						next;
  3853. 						switch (select ( #AlootSet4ID1 != 0? "Item ID "+#AlootSet4ID1+" - ("+getitemname(#AlootSet4ID1)+")": "Add Item",#AlootSet4ID2 != 0? "Item ID "+#AlootSet4ID2+" - ("+getitemname(#AlootSet4ID2)+")": "Add Item",#AlootSet4ID3 != 0? "Item ID "+#AlootSet4ID3+" - ("+getitemname(#AlootSet4ID3)+")": "Add Item",#AlootSet4ID4 != 0? "Item ID "+#AlootSet4ID4+" - ("+getitemname(#AlootSet4ID4)+")": "Add Item",#AlootSet4ID5 != 0? "Item ID "+#AlootSet4ID5+" - ("+getitemname(#AlootSet4ID5)+")": "Add Item",#AlootSet4ID6 != 0? "Item ID "+#AlootSet4ID6+" - ("+getitemname(#AlootSet4ID6)+")": "Add Item",#AlootSet4ID7 != 0? "Item ID "+#AlootSet4ID7+" - ("+getitemname(#AlootSet4ID7)+")": "Add Item",#AlootSet4ID8 != 0? "Item ID "+#AlootSet4ID8+" - ("+getitemname(#AlootSet4ID8)+")": "Add Item",#AlootSet4ID9 != 0? "Item ID "+#AlootSet4ID9+" - ("+getitemname(#AlootSet4ID9)+")": "Add Item",#AlootSet4ID10 != 0? "Item ID "+#AlootSet4ID10+" - ("+getitemname(#AlootSet4ID10)+")": "Add Item",#AlootSet4ID11 != 0? "Item ID "+#AlootSet4ID11+" - ("+getitemname(#AlootSet4ID11)+")": "Add Item",#AlootSet4ID12 != 0? "Item ID "+#AlootSet4ID12+" - ("+getitemname(#AlootSet4ID12)+")": "Add Item",#AlootSet4ID13 != 0? "Item ID "+#AlootSet4ID13+" - ("+getitemname(#AlootSet4ID13)+")": "Add Item",#AlootSet4ID14 != 0? "Item ID "+#AlootSet4ID14+" - ("+getitemname(#AlootSet4ID14)+")": "Add Item",#AlootSet4ID15 != 0? "Item ID "+#AlootSet4ID15+" - ("+getitemname(#AlootSet4ID15)+")": "Add Item",#AlootSet4ID16 != 0? "Item ID "+#AlootSet4ID16+" - ("+getitemname(#AlootSet4ID16)+")": "Add Item",#AlootSet4ID17 != 0? "Item ID "+#AlootSet4ID17+" - ("+getitemname(#AlootSet4ID17)+")": "Add Item",#AlootSet4ID18 != 0? "Item ID "+#AlootSet4ID18+" - ("+getitemname(#AlootSet4ID18)+")": "Add Item",#AlootSet4ID19 != 0? "Item ID "+#AlootSet4ID19+" - ("+getitemname(#AlootSet4ID19)+")": "Add Item",#AlootSet4ID20 != 0? "Item ID "+#AlootSet4ID20+" - ("+getitemname(#AlootSet4ID20)+")": "Add Item",#AlootSet4ID21 != 0? "Item ID "+#AlootSet4ID21+" - ("+getitemname(#AlootSet4ID21)+")": "Add Item",#AlootSet4ID22 != 0? "Item ID "+#AlootSet4ID22+" - ("+getitemname(#AlootSet4ID22)+")": "Add Item",#AlootSet4ID23 != 0? "Item ID "+#AlootSet4ID23+" - ("+getitemname(#AlootSet4ID23)+")": "Add Item",#AlootSet4ID24 != 0? "Item ID "+#AlootSet4ID24+" - ("+getitemname(#AlootSet4ID24)+")": "Add Item",#AlootSet4ID25 != 0? "Item ID "+#AlootSet4ID25+" - ("+getitemname(#AlootSet4ID25)+")": "Add Item" ))
  3854. 						{
  3855. 							case 1:
  3856. 							next;
  3857. 								mes .NPCName$;
  3858. 								mes "Please input the item ID for what you want to autoloot.";
  3859. 								mes "Enter 0 if you wish to leave this option blank.";
  3860. 								input @input;
  3861. 								if (@input == 0)
  3862. 								{
  3863. 								next;
  3864. 								mes .NPCName$;
  3865. 								mes "Alright, deleted!";
  3866. 								set #AlootSet4ID1,0;
  3867. 								next;
  3868. 								goto L_EasyMode4;
  3869. 								close;
  3870. 								} else {
  3871. 								if(getiteminfo(@input,0) == -1)
  3872. 								{
  3873. 								next;
  3874. 								mes .NPCName$;
  3875. 								mes "Sorry, this is not a valid Item ID";
  3876. 								mes "Please try again.";
  3877. 								next;
  3878. 								goto L_EasyMode4;
  3879. 								next;
  3880. 								} else {
  3881. 								next;
  3882. 								mes .NPCName$;
  3883. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3884. 								set #AlootSet4ID1,@input;
  3885. 								next;
  3886. 								goto L_EasyMode4;
  3887. 								}
  3888. 							}
  3889. 							case 2:
  3890. 							next;
  3891. 								mes .NPCName$;
  3892. 								mes "Please input the item ID for what you want to autoloot.";
  3893. 								mes "Enter 0 if you wish to leave this option blank.";
  3894. 								input @input;
  3895. 								if (@input == 0)
  3896. 								{
  3897. 								next;
  3898. 								mes .NPCName$;
  3899. 								mes "Alright, deleted!";
  3900. 								set #AlootSet4ID2,0;
  3901. 								next;
  3902. 								goto L_EasyMode4;
  3903. 								close;
  3904. 								} else {
  3905. 								if(getiteminfo(@input,0) == -1)
  3906. 								{
  3907. 								next;
  3908. 								mes .NPCName$;
  3909. 								mes "Sorry, this is not a valid Item ID";
  3910. 								mes "Please try again.";
  3911. 								next;
  3912. 								goto L_EasyMode4;
  3913. 								next;
  3914. 								} else {
  3915. 								next;
  3916. 								mes .NPCName$;
  3917. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3918. 								set #AlootSet4ID2,@input;
  3919. 								next;
  3920. 								goto L_EasyMode4;
  3921. 								}
  3922. 							}
  3923. 							case 3:
  3924. 							next;
  3925. 								mes .NPCName$;
  3926. 								mes "Please input the item ID for what you want to autoloot.";
  3927. 								mes "Enter 0 if you wish to leave this option blank.";
  3928. 								input @input;
  3929. 								if (@input == 0)
  3930. 								{
  3931. 								next;
  3932. 								mes .NPCName$;
  3933. 								mes "Alright, deleted!";
  3934. 								set #AlootSet4ID3,0;
  3935. 								next;
  3936. 								goto L_EasyMode4;
  3937. 								close;
  3938. 								} else {
  3939. 								if(getiteminfo(@input,0) == -1)
  3940. 								{
  3941. 								next;
  3942. 								mes .NPCName$;
  3943. 								mes "Sorry, this is not a valid Item ID";
  3944. 								mes "Please try again.";
  3945. 								next;
  3946. 								goto L_EasyMode4;
  3947. 								next;
  3948. 								} else {
  3949. 								next;
  3950. 								mes .NPCName$;
  3951. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3952. 								set #AlootSet4ID3,@input;
  3953. 								next;
  3954. 								goto L_EasyMode4;
  3955. 								}
  3956. 							}							
  3957. 							case 4:
  3958. 							next;
  3959. 								mes .NPCName$;
  3960. 								mes "Please input the item ID for what you want to autoloot.";
  3961. 								mes "Enter 0 if you wish to leave this option blank.";
  3962. 								input @input;
  3963. 								if (@input == 0)
  3964. 								{
  3965. 								next;
  3966. 								mes .NPCName$;
  3967. 								mes "Alright, deleted!";
  3968. 								set #AlootSet4ID4,0;
  3969. 								next;
  3970. 								goto L_EasyMode4;
  3971. 								close;
  3972. 								} else {
  3973. 								if(getiteminfo(@input,0) == -1)
  3974. 								{
  3975. 								next;
  3976. 								mes .NPCName$;
  3977. 								mes "Sorry, this is not a valid Item ID";
  3978. 								mes "Please try again.";
  3979. 								next;
  3980. 								goto L_EasyMode4;
  3981. 								next;
  3982. 								} else {
  3983. 								next;
  3984. 								mes .NPCName$;
  3985. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  3986. 								set #AlootSet4ID4,@input;
  3987. 								next;
  3988. 								goto L_EasyMode4;
  3989. 								}
  3990. 							}
  3991. 							case 5:
  3992. 							next;
  3993. 								mes .NPCName$;
  3994. 								mes "Please input the item ID for what you want to autoloot.";
  3995. 								mes "Enter 0 if you wish to leave this option blank.";
  3996. 								input @input;
  3997. 								if (@input == 0)
  3998. 								{
  3999. 								next;
  4000. 								mes .NPCName$;
  4001. 								mes "Alright, deleted!";
  4002. 								set #AlootSet4ID5,0;
  4003. 								next;
  4004. 								goto L_EasyMode4;
  4005. 								close;
  4006. 								} else {
  4007. 								if(getiteminfo(@input,0) == -1)
  4008. 								{
  4009. 								next;
  4010. 								mes .NPCName$;
  4011. 								mes "Sorry, this is not a valid Item ID";
  4012. 								mes "Please try again.";
  4013. 								next;
  4014. 								goto L_EasyMode4;
  4015. 								next;
  4016. 								} else {
  4017. 								next;
  4018. 								mes .NPCName$;
  4019. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4020. 								set #AlootSet4ID5,@input;
  4021. 								next;
  4022. 								goto L_EasyMode4;
  4023. 								}
  4024. 							}			
  4025. 							case 6:
  4026. 								next;
  4027. 								mes .NPCName$;
  4028. 								mes "Please input the item ID for what you want to autoloot.";
  4029. 								mes "Enter 0 if you wish to leave this option blank.";
  4030. 								input @input;
  4031. 								if (@input == 0)
  4032. 								{
  4033. 								next;
  4034. 								mes .NPCName$;
  4035. 								mes "Alright, deleted!";
  4036. 								set #AlootSet4ID6,0;
  4037. 								next;
  4038. 								goto L_EasyMode4;
  4039. 								close;
  4040. 								} else {
  4041. 								if(getiteminfo(@input,0) == -1)
  4042. 								{
  4043. 								next;
  4044. 								mes .NPCName$;
  4045. 								mes "Sorry, this is not a valid Item ID";
  4046. 								mes "Please try again.";
  4047. 								next;
  4048. 								goto L_EasyMode4;
  4049. 								next;
  4050. 								} else {
  4051. 								next;
  4052. 								mes .NPCName$;
  4053. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4054. 								set #AlootSet4ID6,@input;
  4055. 								next;
  4056. 								goto L_EasyMode4;
  4057. 								}
  4058. 							}	
  4059. 							case 7:
  4060. 							next;
  4061. 								mes .NPCName$;
  4062. 								mes "Please input the item ID for what you want to autoloot.";
  4063. 								mes "Enter 0 if you wish to leave this option blank.";
  4064. 								input @input;
  4065. 								if (@input == 0)
  4066. 								{
  4067. 								next;
  4068. 								mes .NPCName$;
  4069. 								mes "Alright, deleted!";
  4070. 								set #AlootSet4ID7,0;
  4071. 								next;
  4072. 								goto L_EasyMode4;
  4073. 								close;
  4074. 								} else {
  4075. 								if(getiteminfo(@input,0) == -1)
  4076. 								{
  4077. 								next;
  4078. 								mes .NPCName$;
  4079. 								mes "Sorry, this is not a valid Item ID";
  4080. 								mes "Please try again.";
  4081. 								next;
  4082. 								goto L_EasyMode4;
  4083. 								next;
  4084. 								} else {
  4085. 								next;
  4086. 								mes .NPCName$;
  4087. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4088. 								set #AlootSet4ID7,@input;
  4089. 								next;
  4090. 								goto L_EasyMode4;
  4091. 								}
  4092. 							}		
  4093. 							case 8:
  4094. 							next;
  4095. 								mes .NPCName$;
  4096. 								mes "Please input the item ID for what you want to autoloot.";
  4097. 								mes "Enter 0 if you wish to leave this option blank.";
  4098. 								input @input;
  4099. 								if (@input == 0)
  4100. 								{
  4101. 								next;
  4102. 								mes .NPCName$;
  4103. 								mes "Alright, deleted!";
  4104. 								set #AlootSet4ID8,0;
  4105. 								next;
  4106. 								goto L_EasyMode4;
  4107. 								close;
  4108. 								} else {
  4109. 								if(getiteminfo(@input,0) == -1)
  4110. 								{
  4111. 								next;
  4112. 								mes .NPCName$;
  4113. 								mes "Sorry, this is not a valid Item ID";
  4114. 								mes "Please try again.";
  4115. 								next;
  4116. 								goto L_EasyMode4;
  4117. 								next;
  4118. 								} else {
  4119. 								next;
  4120. 								mes .NPCName$;
  4121. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4122. 								set #AlootSet4ID8,@input;
  4123. 								next;
  4124. 								goto L_EasyMode4;
  4125. 								}
  4126. 							}		
  4127. 							case 9:
  4128. 							next;
  4129. 								mes .NPCName$;
  4130. 								mes "Please input the item ID for what you want to autoloot.";
  4131. 								mes "Enter 0 if you wish to leave this option blank.";
  4132. 								input @input;
  4133. 								if (@input == 0)
  4134. 								{
  4135. 								next;
  4136. 								mes .NPCName$;
  4137. 								mes "Alright, deleted!";
  4138. 								set #AlootSet4ID9,0;
  4139. 								next;
  4140. 								goto L_EasyMode4;
  4141. 								close;
  4142. 								} else {
  4143. 								if(getiteminfo(@input,0) == -1)
  4144. 								{
  4145. 								next;
  4146. 								mes .NPCName$;
  4147. 								mes "Sorry, this is not a valid Item ID";
  4148. 								mes "Please try again.";
  4149. 								next;
  4150. 								goto L_EasyMode4;
  4151. 								next;
  4152. 								} else {
  4153. 								next;
  4154. 								mes .NPCName$;
  4155. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4156. 								set #AlootSet4ID9,@input;
  4157. 								next;
  4158. 								goto L_EasyMode4;
  4159. 								}
  4160. 							}	
  4161. 							case 10:
  4162. 								next;
  4163. 								mes .NPCName$;
  4164. 								mes "Please input the item ID for what you want to autoloot.";
  4165. 								mes "Enter 0 if you wish to leave this option blank.";
  4166. 								input @input;
  4167. 								if (@input == 0)
  4168. 								{
  4169. 								next;
  4170. 								mes .NPCName$;
  4171. 								mes "Alright, deleted!";
  4172. 								set #AlootSet4ID10,0;
  4173. 								next;
  4174. 								goto L_EasyMode4;
  4175. 								close;
  4176. 								} else {
  4177. 								if(getiteminfo(@input,0) == -1)
  4178. 								{
  4179. 								next;
  4180. 								mes .NPCName$;
  4181. 								mes "Sorry, this is not a valid Item ID";
  4182. 								mes "Please try again.";
  4183. 								next;
  4184. 								goto L_EasyMode4;
  4185. 								next;
  4186. 								} else {
  4187. 								next;
  4188. 								mes .NPCName$;
  4189. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4190. 								set #AlootSet4ID10,@input;
  4191. 								next;
  4192. 								goto L_EasyMode4;
  4193. 								}
  4194. 							}	
  4195. 							case 11:
  4196. 								next;
  4197. 								mes .NPCName$;
  4198. 								mes "Please input the item ID for what you want to autoloot.";
  4199. 								mes "Enter 0 if you wish to leave this option blank.";
  4200. 								input @input;
  4201. 								if (@input == 0)
  4202. 								{
  4203. 								next;
  4204. 								mes .NPCName$;
  4205. 								mes "Alright, deleted!";
  4206. 								set #AlootSet4ID11,0;
  4207. 								next;
  4208. 								goto L_EasyMode4;
  4209. 								close;
  4210. 								} else {
  4211. 								if(getiteminfo(@input,0) == -1)
  4212. 								{
  4213. 								next;
  4214. 								mes .NPCName$;
  4215. 								mes "Sorry, this is not a valid Item ID";
  4216. 								mes "Please try again.";
  4217. 								next;
  4218. 								goto L_EasyMode4;
  4219. 								next;
  4220. 								} else {
  4221. 								next;
  4222. 								mes .NPCName$;
  4223. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4224. 								set #AlootSet4ID11,@input;
  4225. 								next;
  4226. 								goto L_EasyMode4;
  4227. 								}
  4228. 							}	
  4229. 							case 12:
  4230. 							next;
  4231. 								mes .NPCName$;
  4232. 								mes "Please input the item ID for what you want to autoloot.";
  4233. 								mes "Enter 0 if you wish to leave this option blank.";
  4234. 								input @input;
  4235. 								if (@input == 0)
  4236. 								{
  4237. 								next;
  4238. 								mes .NPCName$;
  4239. 								mes "Alright, deleted!";
  4240. 								set #AlootSet4ID12,0;
  4241. 								next;
  4242. 								goto L_EasyMode4;
  4243. 								close;
  4244. 								} else {
  4245. 								if(getiteminfo(@input,0) == -1)
  4246. 								{
  4247. 								next;
  4248. 								mes .NPCName$;
  4249. 								mes "Sorry, this is not a valid Item ID";
  4250. 								mes "Please try again.";
  4251. 								next;
  4252. 								goto L_EasyMode4;
  4253. 								next;
  4254. 								} else {
  4255. 								next;
  4256. 								mes .NPCName$;
  4257. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4258. 								set #AlootSet4ID12,@input;
  4259. 								next;
  4260. 								goto L_EasyMode4;
  4261. 								}
  4262. 							}			
  4263. 							case 13:
  4264. 								next;
  4265. 								mes .NPCName$;
  4266. 								mes "Please input the item ID for what you want to autoloot.";
  4267. 								mes "Enter 0 if you wish to leave this option blank.";
  4268. 								input @input;
  4269. 								if (@input == 0)
  4270. 								{
  4271. 								next;
  4272. 								mes .NPCName$;
  4273. 								mes "Alright, deleted!";
  4274. 								set #AlootSet4ID13,0;
  4275. 								next;
  4276. 								goto L_EasyMode4;
  4277. 								close;
  4278. 								} else {
  4279. 								if(getiteminfo(@input,0) == -1)
  4280. 								{
  4281. 								next;
  4282. 								mes .NPCName$;
  4283. 								mes "Sorry, this is not a valid Item ID";
  4284. 								mes "Please try again.";
  4285. 								next;
  4286. 								goto L_EasyMode4;
  4287. 								next;
  4288. 								} else {
  4289. 								next;
  4290. 								mes .NPCName$;
  4291. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4292. 								set #AlootSet4ID13,@input;
  4293. 								next;
  4294. 								goto L_EasyMode4;
  4295. 								}
  4296. 							}	
  4297. 							case 14:
  4298. 							next;
  4299. 								mes .NPCName$;
  4300. 								mes "Please input the item ID for what you want to autoloot.";
  4301. 								mes "Enter 0 if you wish to leave this option blank.";
  4302. 								input @input;
  4303. 								if (@input == 0)
  4304. 								{
  4305. 								next;
  4306. 								mes .NPCName$;
  4307. 								mes "Alright, deleted!";
  4308. 								set #AlootSet4ID14,0;
  4309. 								next;
  4310. 								goto L_EasyMode4;
  4311. 								close;
  4312. 								} else {
  4313. 								if(getiteminfo(@input,0) == -1)
  4314. 								{
  4315. 								next;
  4316. 								mes .NPCName$;
  4317. 								mes "Sorry, this is not a valid Item ID";
  4318. 								mes "Please try again.";
  4319. 								next;
  4320. 								goto L_EasyMode4;
  4321. 								next;
  4322. 								} else {
  4323. 								next;
  4324. 								mes .NPCName$;
  4325. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4326. 								set #AlootSet4ID14,@input;
  4327. 								next;
  4328. 								goto L_EasyMode4;
  4329. 								}
  4330. 							}	
  4331. 							case 15:
  4332. 							next;
  4333. 								mes .NPCName$;
  4334. 								mes "Please input the item ID for what you want to autoloot.";
  4335. 								mes "Enter 0 if you wish to leave this option blank.";
  4336. 								input @input;
  4337. 								if (@input == 0)
  4338. 								{
  4339. 								next;
  4340. 								mes .NPCName$;
  4341. 								mes "Alright, deleted!";
  4342. 								set #AlootSet4ID15,0;
  4343. 								next;
  4344. 								goto L_EasyMode4;
  4345. 								close;
  4346. 								} else {
  4347. 								if(getiteminfo(@input,0) == -1)
  4348. 								{
  4349. 								next;
  4350. 								mes .NPCName$;
  4351. 								mes "Sorry, this is not a valid Item ID";
  4352. 								mes "Please try again.";
  4353. 								next;
  4354. 								goto L_EasyMode4;
  4355. 								next;
  4356. 								} else {
  4357. 								next;
  4358. 								mes .NPCName$;
  4359. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4360. 								set #AlootSet4ID15,@input;
  4361. 								next;
  4362. 								goto L_EasyMode4;
  4363. 								}
  4364. 							}		
  4365. 							case 16:
  4366. 							next;
  4367. 								mes .NPCName$;
  4368. 								mes "Please input the item ID for what you want to autoloot.";
  4369. 								mes "Enter 0 if you wish to leave this option blank.";
  4370. 								input @input;
  4371. 								if (@input == 0)
  4372. 								{
  4373. 								next;
  4374. 								mes .NPCName$;
  4375. 								mes "Alright, deleted!";
  4376. 								set #AlootSet4ID16,0;
  4377. 								next;
  4378. 								goto L_EasyMode4;
  4379. 								close;
  4380. 								} else {
  4381. 								if(getiteminfo(@input,0) == -1)
  4382. 								{
  4383. 								next;
  4384. 								mes .NPCName$;
  4385. 								mes "Sorry, this is not a valid Item ID";
  4386. 								mes "Please try again.";
  4387. 								next;
  4388. 								goto L_EasyMode4;
  4389. 								next;
  4390. 								} else {
  4391. 								next;
  4392. 								mes .NPCName$;
  4393. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4394. 								set #AlootSet4ID16,@input;
  4395. 								next;
  4396. 								goto L_EasyMode4;
  4397. 								}
  4398. 							}		
  4399. 							case 17:
  4400. 							next;
  4401. 								mes .NPCName$;
  4402. 								mes "Please input the item ID for what you want to autoloot.";
  4403. 								mes "Enter 0 if you wish to leave this option blank.";
  4404. 								input @input;
  4405. 								if (@input == 0)
  4406. 								{
  4407. 								next;
  4408. 								mes .NPCName$;
  4409. 								mes "Alright, deleted!";
  4410. 								set #AlootSet4ID17,0;
  4411. 								next;
  4412. 								goto L_EasyMode4;
  4413. 								close;
  4414. 								} else {
  4415. 								if(getiteminfo(@input,0) == -1)
  4416. 								{
  4417. 								next;
  4418. 								mes .NPCName$;
  4419. 								mes "Sorry, this is not a valid Item ID";
  4420. 								mes "Please try again.";
  4421. 								next;
  4422. 								goto L_EasyMode4;
  4423. 								next;
  4424. 								} else {
  4425. 								next;
  4426. 								mes .NPCName$;
  4427. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4428. 								set #AlootSet4ID17,@input;
  4429. 								next;
  4430. 								goto L_EasyMode4;
  4431. 								}
  4432. 							}		
  4433. 							case 18:
  4434. 							next;
  4435. 								mes .NPCName$;
  4436. 								mes "Please input the item ID for what you want to autoloot.";
  4437. 								mes "Enter 0 if you wish to leave this option blank.";
  4438. 								input @input;
  4439. 								if (@input == 0)
  4440. 								{
  4441. 								next;
  4442. 								mes .NPCName$;
  4443. 								mes "Alright, deleted!";
  4444. 								set #AlootSet4ID18,0;
  4445. 								next;
  4446. 								goto L_EasyMode4;
  4447. 								close;
  4448. 								} else {
  4449. 								if(getiteminfo(@input,0) == -1)
  4450. 								{
  4451. 								next;
  4452. 								mes .NPCName$;
  4453. 								mes "Sorry, this is not a valid Item ID";
  4454. 								mes "Please try again.";
  4455. 								next;
  4456. 								goto L_EasyMode4;
  4457. 								next;
  4458. 								} else {
  4459. 								next;
  4460. 								mes .NPCName$;
  4461. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4462. 								set #AlootSet4ID18,@input;
  4463. 								next;
  4464. 								goto L_EasyMode4;
  4465. 								}
  4466. 							}		
  4467. 							case 19:
  4468. 							next;
  4469. 								mes .NPCName$;
  4470. 								mes "Please input the item ID for what you want to autoloot.";
  4471. 								mes "Enter 0 if you wish to leave this option blank.";
  4472. 								input @input;
  4473. 								if (@input == 0)
  4474. 								{
  4475. 								next;
  4476. 								mes .NPCName$;
  4477. 								mes "Alright, deleted!";
  4478. 								set #AlootSet4ID19,0;
  4479. 								next;
  4480. 								goto L_EasyMode4;
  4481. 								close;
  4482. 								} else {
  4483. 								if(getiteminfo(@input,0) == -1)
  4484. 								{
  4485. 								next;
  4486. 								mes .NPCName$;
  4487. 								mes "Sorry, this is not a valid Item ID";
  4488. 								mes "Please try again.";
  4489. 								next;
  4490. 								goto L_EasyMode4;
  4491. 								next;
  4492. 								} else {
  4493. 								next;
  4494. 								mes .NPCName$;
  4495. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4496. 								set #AlootSet4ID19,@input;
  4497. 								next;
  4498. 								goto L_EasyMode4;
  4499. 								}
  4500. 							}		
  4501. 							case 20:
  4502. 							next;
  4503. 								mes .NPCName$;
  4504. 								mes "Please input the item ID for what you want to autoloot.";
  4505. 								mes "Enter 0 if you wish to leave this option blank.";
  4506. 								input @input;
  4507. 								if (@input == 0)
  4508. 								{
  4509. 								next;
  4510. 								mes .NPCName$;
  4511. 								mes "Alright, deleted!";
  4512. 								set #AlootSet4ID20,0;
  4513. 								next;
  4514. 								goto L_EasyMode4;
  4515. 								close;
  4516. 								} else {
  4517. 								if(getiteminfo(@input,0) == -1)
  4518. 								{
  4519. 								next;
  4520. 								mes .NPCName$;
  4521. 								mes "Sorry, this is not a valid Item ID";
  4522. 								mes "Please try again.";
  4523. 								next;
  4524. 								goto L_EasyMode4;
  4525. 								next;
  4526. 								} else {
  4527. 								next;
  4528. 								mes .NPCName$;
  4529. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4530. 								set #AlootSet4ID20,@input;
  4531. 								next;
  4532. 								goto L_EasyMode4;
  4533. 								}
  4534. 							}			
  4535. 							case 21:
  4536. 								next;
  4537. 								mes .NPCName$;
  4538. 								mes "Please input the item ID for what you want to autoloot.";
  4539. 								mes "Enter 0 if you wish to leave this option blank.";
  4540. 								input @input;
  4541. 								if (@input == 0)
  4542. 								{
  4543. 								next;
  4544. 								mes .NPCName$;
  4545. 								mes "Alright, deleted!";
  4546. 								set #AlootSet4ID21,0;
  4547. 								next;
  4548. 								goto L_EasyMode4;
  4549. 								close;
  4550. 								} else {
  4551. 								if(getiteminfo(@input,0) == -1)
  4552. 								{
  4553. 								next;
  4554. 								mes .NPCName$;
  4555. 								mes "Sorry, this is not a valid Item ID";
  4556. 								mes "Please try again.";
  4557. 								next;
  4558. 								goto L_EasyMode4;
  4559. 								next;
  4560. 								} else {
  4561. 								next;
  4562. 								mes .NPCName$;
  4563. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4564. 								set #AlootSet4ID21,@input;
  4565. 								next;
  4566. 								goto L_EasyMode4;
  4567. 								}
  4568. 							}	
  4569. 							case 22:
  4570. 							next;
  4571. 								mes .NPCName$;
  4572. 								mes "Please input the item ID for what you want to autoloot.";
  4573. 								mes "Enter 0 if you wish to leave this option blank.";
  4574. 								input @input;
  4575. 								if (@input == 0)
  4576. 								{
  4577. 								next;
  4578. 								mes .NPCName$;
  4579. 								mes "Alright, deleted!";
  4580. 								set #AlootSet4ID22,0;
  4581. 								next;
  4582. 								goto L_EasyMode4;
  4583. 								close;
  4584. 								} else {
  4585. 								if(getiteminfo(@input,0) == -1)
  4586. 								{
  4587. 								next;
  4588. 								mes .NPCName$;
  4589. 								mes "Sorry, this is not a valid Item ID";
  4590. 								mes "Please try again.";
  4591. 								next;
  4592. 								goto L_EasyMode4;
  4593. 								next;
  4594. 								} else {
  4595. 								next;
  4596. 								mes .NPCName$;
  4597. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4598. 								set #AlootSet4ID22,@input;
  4599. 								next;
  4600. 								goto L_EasyMode4;
  4601. 								}
  4602. 							}		
  4603. 							case 23:
  4604. 							next;
  4605. 								mes .NPCName$;
  4606. 								mes "Please input the item ID for what you want to autoloot.";
  4607. 								mes "Enter 0 if you wish to leave this option blank.";
  4608. 								input @input;
  4609. 								if (@input == 0)
  4610. 								{
  4611. 								next;
  4612. 								mes .NPCName$;
  4613. 								mes "Alright, deleted!";
  4614. 								set #AlootSet4ID23,0;
  4615. 								next;
  4616. 								goto L_EasyMode4;
  4617. 								close;
  4618. 								} else {
  4619. 								if(getiteminfo(@input,0) == -1)
  4620. 								{
  4621. 								next;
  4622. 								mes .NPCName$;
  4623. 								mes "Sorry, this is not a valid Item ID";
  4624. 								mes "Please try again.";
  4625. 								next;
  4626. 								goto L_EasyMode4;
  4627. 								next;
  4628. 								} else {
  4629. 								next;
  4630. 								mes .NPCName$;
  4631. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4632. 								set #AlootSet4ID23,@input;
  4633. 								next;
  4634. 								goto L_EasyMode4;
  4635. 								}
  4636. 							}			
  4637. 							case 24:
  4638. 							next;
  4639. 								mes .NPCName$;
  4640. 								mes "Please input the item ID for what you want to autoloot.";
  4641. 								mes "Enter 0 if you wish to leave this option blank.";
  4642. 								input @input;
  4643. 								if (@input == 0)
  4644. 								{
  4645. 								next;
  4646. 								mes .NPCName$;
  4647. 								mes "Alright, deleted!";
  4648. 								set #AlootSet4ID24,0;
  4649. 								next;
  4650. 								goto L_EasyMode4;
  4651. 								close;
  4652. 								} else {
  4653. 								if(getiteminfo(@input,0) == -1)
  4654. 								{
  4655. 								next;
  4656. 								mes .NPCName$;
  4657. 								mes "Sorry, this is not a valid Item ID";
  4658. 								mes "Please try again.";
  4659. 								next;
  4660. 								goto L_EasyMode4;
  4661. 								next;
  4662. 								} else {
  4663. 								next;
  4664. 								mes .NPCName$;
  4665. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4666. 								set #AlootSet4ID24,@input;
  4667. 								next;
  4668. 								goto L_EasyMode4;
  4669. 								}
  4670. 							}	
  4671. 							case 25:
  4672. 							next;
  4673. 								mes .NPCName$;
  4674. 								mes "Please input the item ID for what you want to autoloot.";
  4675. 								mes "Enter 0 if you wish to leave this option blank.";
  4676. 								input @input;
  4677. 								if (@input == 0)
  4678. 								{
  4679. 								next;
  4680. 								mes .NPCName$;
  4681. 								mes "Alright, deleted!";
  4682. 								set #AlootSet4ID25,0;
  4683. 								next;
  4684. 								goto L_EasyMode4;
  4685. 								close;
  4686. 								} else {
  4687. 								if(getiteminfo(@input,0) == -1)
  4688. 								{
  4689. 								next;
  4690. 								mes .NPCName$;
  4691. 								mes "Sorry, this is not a valid Item ID";
  4692. 								mes "Please try again.";
  4693. 								next;
  4694. 								goto L_EasyMode4;
  4695. 								next;
  4696. 								} else {
  4697. 								next;
  4698. 								mes .NPCName$;
  4699. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4700. 								set #AlootSet4ID25,@input;
  4701. 								next;
  4702. 								goto L_EasyMode4;
  4703. 								}
  4704. 							}	
  4705. 						}
  4706.  
  4707. 		} else {
  4708. 		next;
  4709. 		mes .NPCName$;
  4710. 		mes "You have nothing created in this set!";
  4711. 		mes "Please create a set before editing it.";
  4712. 		close;
  4713. 		}
  4714. 					case 5:
  4715. 					if (@menu$[5] != "Nothing")
  4716. 					{					L_EasyMode5:
  4717. 						mes .NPCName$;
  4718. 						mes "Let's edit what's listed in this set.";
  4719. 						mes "You can Delete any item by entering 0.";
  4720. 						mes "Or edit the item ID by entering it in place of an existing one.";
  4721. 						next;
  4722. 						switch (select ( #AlootSet5ID1 != 0? "Item ID "+#AlootSet5ID1+" - ("+getitemname(#AlootSet5ID1)+")": "Add Item",#AlootSet5ID2 != 0? "Item ID "+#AlootSet5ID2+" - ("+getitemname(#AlootSet5ID2)+")": "Add Item",#AlootSet5ID3 != 0? "Item ID "+#AlootSet5ID3+" - ("+getitemname(#AlootSet5ID3)+")": "Add Item",#AlootSet5ID4 != 0? "Item ID "+#AlootSet5ID4+" - ("+getitemname(#AlootSet5ID4)+")": "Add Item",#AlootSet5ID5 != 0? "Item ID "+#AlootSet5ID5+" - ("+getitemname(#AlootSet5ID5)+")": "Add Item",#AlootSet5ID6 != 0? "Item ID "+#AlootSet5ID6+" - ("+getitemname(#AlootSet5ID6)+")": "Add Item",#AlootSet5ID7 != 0? "Item ID "+#AlootSet5ID7+" - ("+getitemname(#AlootSet5ID7)+")": "Add Item",#AlootSet5ID8 != 0? "Item ID "+#AlootSet5ID8+" - ("+getitemname(#AlootSet5ID8)+")": "Add Item",#AlootSet5ID9 != 0? "Item ID "+#AlootSet5ID9+" - ("+getitemname(#AlootSet5ID9)+")": "Add Item",#AlootSet5ID10 != 0? "Item ID "+#AlootSet5ID10+" - ("+getitemname(#AlootSet5ID10)+")": "Add Item",#AlootSet5ID11 != 0? "Item ID "+#AlootSet5ID11+" - ("+getitemname(#AlootSet5ID11)+")": "Add Item",#AlootSet5ID12 != 0? "Item ID "+#AlootSet5ID12+" - ("+getitemname(#AlootSet5ID12)+")": "Add Item",#AlootSet5ID13 != 0? "Item ID "+#AlootSet5ID13+" - ("+getitemname(#AlootSet5ID13)+")": "Add Item",#AlootSet5ID14 != 0? "Item ID "+#AlootSet5ID14+" - ("+getitemname(#AlootSet5ID14)+")": "Add Item",#AlootSet5ID15 != 0? "Item ID "+#AlootSet5ID15+" - ("+getitemname(#AlootSet5ID15)+")": "Add Item",#AlootSet5ID16 != 0? "Item ID "+#AlootSet5ID16+" - ("+getitemname(#AlootSet5ID16)+")": "Add Item",#AlootSet5ID17 != 0? "Item ID "+#AlootSet5ID17+" - ("+getitemname(#AlootSet5ID17)+")": "Add Item",#AlootSet5ID18 != 0? "Item ID "+#AlootSet5ID18+" - ("+getitemname(#AlootSet5ID18)+")": "Add Item",#AlootSet5ID19 != 0? "Item ID "+#AlootSet5ID19+" - ("+getitemname(#AlootSet5ID19)+")": "Add Item",#AlootSet5ID20 != 0? "Item ID "+#AlootSet5ID20+" - ("+getitemname(#AlootSet5ID20)+")": "Add Item",#AlootSet5ID21 != 0? "Item ID "+#AlootSet5ID21+" - ("+getitemname(#AlootSet5ID21)+")": "Add Item",#AlootSet5ID22 != 0? "Item ID "+#AlootSet5ID22+" - ("+getitemname(#AlootSet5ID22)+")": "Add Item",#AlootSet5ID23 != 0? "Item ID "+#AlootSet5ID23+" - ("+getitemname(#AlootSet5ID23)+")": "Add Item",#AlootSet5ID24 != 0? "Item ID "+#AlootSet5ID24+" - ("+getitemname(#AlootSet5ID24)+")": "Add Item",#AlootSet5ID25 != 0? "Item ID "+#AlootSet5ID25+" - ("+getitemname(#AlootSet5ID25)+")": "Add Item" ))
  4723. 						{
  4724. 							case 1:
  4725. 							next;
  4726. 								mes .NPCName$;
  4727. 								mes "Please input the item ID for what you want to autoloot.";
  4728. 								mes "Enter 0 if you wish to leave this option blank.";
  4729. 								input @input;
  4730. 								if (@input == 0)
  4731. 								{
  4732. 								next;
  4733. 								mes .NPCName$;
  4734. 								mes "Alright, deleted!";
  4735. 								set #AlootSet5ID1,0;
  4736. 								next;
  4737. 								goto L_EasyMode5;
  4738. 								close;
  4739. 								} else {
  4740. 								if(getiteminfo(@input,0) == -1)
  4741. 								{
  4742. 								next;
  4743. 								mes .NPCName$;
  4744. 								mes "Sorry, this is not a valid Item ID";
  4745. 								mes "Please try again.";
  4746. 								next;
  4747. 								goto L_EasyMode5;
  4748. 								next;
  4749. 								} else {
  4750. 								next;
  4751. 								mes .NPCName$;
  4752. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4753. 								set #AlootSet5ID1,@input;
  4754. 								next;
  4755. 								goto L_EasyMode5;
  4756. 								}
  4757. 							}
  4758. 							case 2:
  4759. 							next;
  4760. 								mes .NPCName$;
  4761. 								mes "Please input the item ID for what you want to autoloot.";
  4762. 								mes "Enter 0 if you wish to leave this option blank.";
  4763. 								input @input;
  4764. 								if (@input == 0)
  4765. 								{
  4766. 								next;
  4767. 								mes .NPCName$;
  4768. 								mes "Alright, deleted!";
  4769. 								set #AlootSet5ID2,0;
  4770. 								next;
  4771. 								goto L_EasyMode5;
  4772. 								close;
  4773. 								} else {
  4774. 								if(getiteminfo(@input,0) == -1)
  4775. 								{
  4776. 								next;
  4777. 								mes .NPCName$;
  4778. 								mes "Sorry, this is not a valid Item ID";
  4779. 								mes "Please try again.";
  4780. 								next;
  4781. 								goto L_EasyMode5;
  4782. 								next;
  4783. 								} else {
  4784. 								next;
  4785. 								mes .NPCName$;
  4786. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4787. 								set #AlootSet5ID2,@input;
  4788. 								next;
  4789. 								goto L_EasyMode5;
  4790. 								}
  4791. 							}
  4792. 							case 3:
  4793. 							next;
  4794. 								mes .NPCName$;
  4795. 								mes "Please input the item ID for what you want to autoloot.";
  4796. 								mes "Enter 0 if you wish to leave this option blank.";
  4797. 								input @input;
  4798. 								if (@input == 0)
  4799. 								{
  4800. 								next;
  4801. 								mes .NPCName$;
  4802. 								mes "Alright, deleted!";
  4803. 								set #AlootSet5ID3,0;
  4804. 								next;
  4805. 								goto L_EasyMode5;
  4806. 								close;
  4807. 								} else {
  4808. 								if(getiteminfo(@input,0) == -1)
  4809. 								{
  4810. 								next;
  4811. 								mes .NPCName$;
  4812. 								mes "Sorry, this is not a valid Item ID";
  4813. 								mes "Please try again.";
  4814. 								next;
  4815. 								goto L_EasyMode5;
  4816. 								next;
  4817. 								} else {
  4818. 								next;
  4819. 								mes .NPCName$;
  4820. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4821. 								set #AlootSet5ID3,@input;
  4822. 								next;
  4823. 								goto L_EasyMode5;
  4824. 								}
  4825. 							}							
  4826. 							case 4:
  4827. 							next;
  4828. 								mes .NPCName$;
  4829. 								mes "Please input the item ID for what you want to autoloot.";
  4830. 								mes "Enter 0 if you wish to leave this option blank.";
  4831. 								input @input;
  4832. 								if (@input == 0)
  4833. 								{
  4834. 								next;
  4835. 								mes .NPCName$;
  4836. 								mes "Alright, deleted!";
  4837. 								set #AlootSet5ID4,0;
  4838. 								next;
  4839. 								goto L_EasyMode5;
  4840. 								close;
  4841. 								} else {
  4842. 								if(getiteminfo(@input,0) == -1)
  4843. 								{
  4844. 								next;
  4845. 								mes .NPCName$;
  4846. 								mes "Sorry, this is not a valid Item ID";
  4847. 								mes "Please try again.";
  4848. 								next;
  4849. 								goto L_EasyMode5;
  4850. 								next;
  4851. 								} else {
  4852. 								next;
  4853. 								mes .NPCName$;
  4854. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4855. 								set #AlootSet5ID4,@input;
  4856. 								next;
  4857. 								goto L_EasyMode5;
  4858. 								}
  4859. 							}
  4860. 							case 5:
  4861. 							next;
  4862. 								mes .NPCName$;
  4863. 								mes "Please input the item ID for what you want to autoloot.";
  4864. 								mes "Enter 0 if you wish to leave this option blank.";
  4865. 								input @input;
  4866. 								if (@input == 0)
  4867. 								{
  4868. 								next;
  4869. 								mes .NPCName$;
  4870. 								mes "Alright, deleted!";
  4871. 								set #AlootSet5ID5,0;
  4872. 								next;
  4873. 								goto L_EasyMode5;
  4874. 								close;
  4875. 								} else {
  4876. 								if(getiteminfo(@input,0) == -1)
  4877. 								{
  4878. 								next;
  4879. 								mes .NPCName$;
  4880. 								mes "Sorry, this is not a valid Item ID";
  4881. 								mes "Please try again.";
  4882. 								next;
  4883. 								goto L_EasyMode5;
  4884. 								next;
  4885. 								} else {
  4886. 								next;
  4887. 								mes .NPCName$;
  4888. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4889. 								set #AlootSet5ID5,@input;
  4890. 								next;
  4891. 								goto L_EasyMode5;
  4892. 								}
  4893. 							}			
  4894. 							case 6:
  4895. 								next;
  4896. 								mes .NPCName$;
  4897. 								mes "Please input the item ID for what you want to autoloot.";
  4898. 								mes "Enter 0 if you wish to leave this option blank.";
  4899. 								input @input;
  4900. 								if (@input == 0)
  4901. 								{
  4902. 								next;
  4903. 								mes .NPCName$;
  4904. 								mes "Alright, deleted!";
  4905. 								set #AlootSet5ID6,0;
  4906. 								next;
  4907. 								goto L_EasyMode5;
  4908. 								close;
  4909. 								} else {
  4910. 								if(getiteminfo(@input,0) == -1)
  4911. 								{
  4912. 								next;
  4913. 								mes .NPCName$;
  4914. 								mes "Sorry, this is not a valid Item ID";
  4915. 								mes "Please try again.";
  4916. 								next;
  4917. 								goto L_EasyMode5;
  4918. 								next;
  4919. 								} else {
  4920. 								next;
  4921. 								mes .NPCName$;
  4922. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4923. 								set #AlootSet5ID6,@input;
  4924. 								next;
  4925. 								goto L_EasyMode5;
  4926. 								}
  4927. 							}	
  4928. 							case 7:
  4929. 							next;
  4930. 								mes .NPCName$;
  4931. 								mes "Please input the item ID for what you want to autoloot.";
  4932. 								mes "Enter 0 if you wish to leave this option blank.";
  4933. 								input @input;
  4934. 								if (@input == 0)
  4935. 								{
  4936. 								next;
  4937. 								mes .NPCName$;
  4938. 								mes "Alright, deleted!";
  4939. 								set #AlootSet5ID7,0;
  4940. 								next;
  4941. 								goto L_EasyMode5;
  4942. 								close;
  4943. 								} else {
  4944. 								if(getiteminfo(@input,0) == -1)
  4945. 								{
  4946. 								next;
  4947. 								mes .NPCName$;
  4948. 								mes "Sorry, this is not a valid Item ID";
  4949. 								mes "Please try again.";
  4950. 								next;
  4951. 								goto L_EasyMode5;
  4952. 								next;
  4953. 								} else {
  4954. 								next;
  4955. 								mes .NPCName$;
  4956. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4957. 								set #AlootSet5ID7,@input;
  4958. 								next;
  4959. 								goto L_EasyMode5;
  4960. 								}
  4961. 							}		
  4962. 							case 8:
  4963. 							next;
  4964. 								mes .NPCName$;
  4965. 								mes "Please input the item ID for what you want to autoloot.";
  4966. 								mes "Enter 0 if you wish to leave this option blank.";
  4967. 								input @input;
  4968. 								if (@input == 0)
  4969. 								{
  4970. 								next;
  4971. 								mes .NPCName$;
  4972. 								mes "Alright, deleted!";
  4973. 								set #AlootSet5ID8,0;
  4974. 								next;
  4975. 								goto L_EasyMode5;
  4976. 								close;
  4977. 								} else {
  4978. 								if(getiteminfo(@input,0) == -1)
  4979. 								{
  4980. 								next;
  4981. 								mes .NPCName$;
  4982. 								mes "Sorry, this is not a valid Item ID";
  4983. 								mes "Please try again.";
  4984. 								next;
  4985. 								goto L_EasyMode5;
  4986. 								next;
  4987. 								} else {
  4988. 								next;
  4989. 								mes .NPCName$;
  4990. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  4991. 								set #AlootSet5ID8,@input;
  4992. 								next;
  4993. 								goto L_EasyMode5;
  4994. 								}
  4995. 							}		
  4996. 							case 9:
  4997. 							next;
  4998. 								mes .NPCName$;
  4999. 								mes "Please input the item ID for what you want to autoloot.";
  5000. 								mes "Enter 0 if you wish to leave this option blank.";
  5001. 								input @input;
  5002. 								if (@input == 0)
  5003. 								{
  5004. 								next;
  5005. 								mes .NPCName$;
  5006. 								mes "Alright, deleted!";
  5007. 								set #AlootSet5ID9,0;
  5008. 								next;
  5009. 								goto L_EasyMode5;
  5010. 								close;
  5011. 								} else {
  5012. 								if(getiteminfo(@input,0) == -1)
  5013. 								{
  5014. 								next;
  5015. 								mes .NPCName$;
  5016. 								mes "Sorry, this is not a valid Item ID";
  5017. 								mes "Please try again.";
  5018. 								next;
  5019. 								goto L_EasyMode5;
  5020. 								next;
  5021. 								} else {
  5022. 								next;
  5023. 								mes .NPCName$;
  5024. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5025. 								set #AlootSet5ID9,@input;
  5026. 								next;
  5027. 								goto L_EasyMode5;
  5028. 								}
  5029. 							}	
  5030. 							case 10:
  5031. 								next;
  5032. 								mes .NPCName$;
  5033. 								mes "Please input the item ID for what you want to autoloot.";
  5034. 								mes "Enter 0 if you wish to leave this option blank.";
  5035. 								input @input;
  5036. 								if (@input == 0)
  5037. 								{
  5038. 								next;
  5039. 								mes .NPCName$;
  5040. 								mes "Alright, deleted!";
  5041. 								set #AlootSet5ID10,0;
  5042. 								next;
  5043. 								goto L_EasyMode5;
  5044. 								close;
  5045. 								} else {
  5046. 								if(getiteminfo(@input,0) == -1)
  5047. 								{
  5048. 								next;
  5049. 								mes .NPCName$;
  5050. 								mes "Sorry, this is not a valid Item ID";
  5051. 								mes "Please try again.";
  5052. 								next;
  5053. 								goto L_EasyMode5;
  5054. 								next;
  5055. 								} else {
  5056. 								next;
  5057. 								mes .NPCName$;
  5058. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5059. 								set #AlootSet5ID10,@input;
  5060. 								next;
  5061. 								goto L_EasyMode5;
  5062. 								}
  5063. 							}	
  5064. 							case 11:
  5065. 								next;
  5066. 								mes .NPCName$;
  5067. 								mes "Please input the item ID for what you want to autoloot.";
  5068. 								mes "Enter 0 if you wish to leave this option blank.";
  5069. 								input @input;
  5070. 								if (@input == 0)
  5071. 								{
  5072. 								next;
  5073. 								mes .NPCName$;
  5074. 								mes "Alright, deleted!";
  5075. 								set #AlootSet5ID11,0;
  5076. 								next;
  5077. 								goto L_EasyMode5;
  5078. 								close;
  5079. 								} else {
  5080. 								if(getiteminfo(@input,0) == -1)
  5081. 								{
  5082. 								next;
  5083. 								mes .NPCName$;
  5084. 								mes "Sorry, this is not a valid Item ID";
  5085. 								mes "Please try again.";
  5086. 								next;
  5087. 								goto L_EasyMode5;
  5088. 								next;
  5089. 								} else {
  5090. 								next;
  5091. 								mes .NPCName$;
  5092. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5093. 								set #AlootSet5ID11,@input;
  5094. 								next;
  5095. 								goto L_EasyMode5;
  5096. 								}
  5097. 							}	
  5098. 							case 12:
  5099. 							next;
  5100. 								mes .NPCName$;
  5101. 								mes "Please input the item ID for what you want to autoloot.";
  5102. 								mes "Enter 0 if you wish to leave this option blank.";
  5103. 								input @input;
  5104. 								if (@input == 0)
  5105. 								{
  5106. 								next;
  5107. 								mes .NPCName$;
  5108. 								mes "Alright, deleted!";
  5109. 								set #AlootSet5ID12,0;
  5110. 								next;
  5111. 								goto L_EasyMode5;
  5112. 								close;
  5113. 								} else {
  5114. 								if(getiteminfo(@input,0) == -1)
  5115. 								{
  5116. 								next;
  5117. 								mes .NPCName$;
  5118. 								mes "Sorry, this is not a valid Item ID";
  5119. 								mes "Please try again.";
  5120. 								next;
  5121. 								goto L_EasyMode5;
  5122. 								next;
  5123. 								} else {
  5124. 								next;
  5125. 								mes .NPCName$;
  5126. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5127. 								set #AlootSet5ID12,@input;
  5128. 								next;
  5129. 								goto L_EasyMode5;
  5130. 								}
  5131. 							}			
  5132. 							case 13:
  5133. 								next;
  5134. 								mes .NPCName$;
  5135. 								mes "Please input the item ID for what you want to autoloot.";
  5136. 								mes "Enter 0 if you wish to leave this option blank.";
  5137. 								input @input;
  5138. 								if (@input == 0)
  5139. 								{
  5140. 								next;
  5141. 								mes .NPCName$;
  5142. 								mes "Alright, deleted!";
  5143. 								set #AlootSet5ID13,0;
  5144. 								next;
  5145. 								goto L_EasyMode5;
  5146. 								close;
  5147. 								} else {
  5148. 								if(getiteminfo(@input,0) == -1)
  5149. 								{
  5150. 								next;
  5151. 								mes .NPCName$;
  5152. 								mes "Sorry, this is not a valid Item ID";
  5153. 								mes "Please try again.";
  5154. 								next;
  5155. 								goto L_EasyMode5;
  5156. 								next;
  5157. 								} else {
  5158. 								next;
  5159. 								mes .NPCName$;
  5160. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5161. 								set #AlootSet5ID13,@input;
  5162. 								next;
  5163. 								goto L_EasyMode5;
  5164. 								}
  5165. 							}	
  5166. 							case 14:
  5167. 							next;
  5168. 								mes .NPCName$;
  5169. 								mes "Please input the item ID for what you want to autoloot.";
  5170. 								mes "Enter 0 if you wish to leave this option blank.";
  5171. 								input @input;
  5172. 								if (@input == 0)
  5173. 								{
  5174. 								next;
  5175. 								mes .NPCName$;
  5176. 								mes "Alright, deleted!";
  5177. 								set #AlootSet5ID14,0;
  5178. 								next;
  5179. 								goto L_EasyMode5;
  5180. 								close;
  5181. 								} else {
  5182. 								if(getiteminfo(@input,0) == -1)
  5183. 								{
  5184. 								next;
  5185. 								mes .NPCName$;
  5186. 								mes "Sorry, this is not a valid Item ID";
  5187. 								mes "Please try again.";
  5188. 								next;
  5189. 								goto L_EasyMode5;
  5190. 								next;
  5191. 								} else {
  5192. 								next;
  5193. 								mes .NPCName$;
  5194. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5195. 								set #AlootSet5ID14,@input;
  5196. 								next;
  5197. 								goto L_EasyMode5;
  5198. 								}
  5199. 							}	
  5200. 							case 15:
  5201. 							next;
  5202. 								mes .NPCName$;
  5203. 								mes "Please input the item ID for what you want to autoloot.";
  5204. 								mes "Enter 0 if you wish to leave this option blank.";
  5205. 								input @input;
  5206. 								if (@input == 0)
  5207. 								{
  5208. 								next;
  5209. 								mes .NPCName$;
  5210. 								mes "Alright, deleted!";
  5211. 								set #AlootSet5ID15,0;
  5212. 								next;
  5213. 								goto L_EasyMode5;
  5214. 								close;
  5215. 								} else {
  5216. 								if(getiteminfo(@input,0) == -1)
  5217. 								{
  5218. 								next;
  5219. 								mes .NPCName$;
  5220. 								mes "Sorry, this is not a valid Item ID";
  5221. 								mes "Please try again.";
  5222. 								next;
  5223. 								goto L_EasyMode5;
  5224. 								next;
  5225. 								} else {
  5226. 								next;
  5227. 								mes .NPCName$;
  5228. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5229. 								set #AlootSet5ID15,@input;
  5230. 								next;
  5231. 								goto L_EasyMode5;
  5232. 								}
  5233. 							}		
  5234. 							case 16:
  5235. 							next;
  5236. 								mes .NPCName$;
  5237. 								mes "Please input the item ID for what you want to autoloot.";
  5238. 								mes "Enter 0 if you wish to leave this option blank.";
  5239. 								input @input;
  5240. 								if (@input == 0)
  5241. 								{
  5242. 								next;
  5243. 								mes .NPCName$;
  5244. 								mes "Alright, deleted!";
  5245. 								set #AlootSet5ID16,0;
  5246. 								next;
  5247. 								goto L_EasyMode5;
  5248. 								close;
  5249. 								} else {
  5250. 								if(getiteminfo(@input,0) == -1)
  5251. 								{
  5252. 								next;
  5253. 								mes .NPCName$;
  5254. 								mes "Sorry, this is not a valid Item ID";
  5255. 								mes "Please try again.";
  5256. 								next;
  5257. 								goto L_EasyMode5;
  5258. 								next;
  5259. 								} else {
  5260. 								next;
  5261. 								mes .NPCName$;
  5262. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5263. 								set #AlootSet5ID16,@input;
  5264. 								next;
  5265. 								goto L_EasyMode5;
  5266. 								}
  5267. 							}		
  5268. 							case 17:
  5269. 							next;
  5270. 								mes .NPCName$;
  5271. 								mes "Please input the item ID for what you want to autoloot.";
  5272. 								mes "Enter 0 if you wish to leave this option blank.";
  5273. 								input @input;
  5274. 								if (@input == 0)
  5275. 								{
  5276. 								next;
  5277. 								mes .NPCName$;
  5278. 								mes "Alright, deleted!";
  5279. 								set #AlootSet5ID17,0;
  5280. 								next;
  5281. 								goto L_EasyMode5;
  5282. 								close;
  5283. 								} else {
  5284. 								if(getiteminfo(@input,0) == -1)
  5285. 								{
  5286. 								next;
  5287. 								mes .NPCName$;
  5288. 								mes "Sorry, this is not a valid Item ID";
  5289. 								mes "Please try again.";
  5290. 								next;
  5291. 								goto L_EasyMode5;
  5292. 								next;
  5293. 								} else {
  5294. 								next;
  5295. 								mes .NPCName$;
  5296. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5297. 								set #AlootSet5ID17,@input;
  5298. 								next;
  5299. 								goto L_EasyMode5;
  5300. 								}
  5301. 							}		
  5302. 							case 18:
  5303. 							next;
  5304. 								mes .NPCName$;
  5305. 								mes "Please input the item ID for what you want to autoloot.";
  5306. 								mes "Enter 0 if you wish to leave this option blank.";
  5307. 								input @input;
  5308. 								if (@input == 0)
  5309. 								{
  5310. 								next;
  5311. 								mes .NPCName$;
  5312. 								mes "Alright, deleted!";
  5313. 								set #AlootSet5ID18,0;
  5314. 								next;
  5315. 								goto L_EasyMode5;
  5316. 								close;
  5317. 								} else {
  5318. 								if(getiteminfo(@input,0) == -1)
  5319. 								{
  5320. 								next;
  5321. 								mes .NPCName$;
  5322. 								mes "Sorry, this is not a valid Item ID";
  5323. 								mes "Please try again.";
  5324. 								next;
  5325. 								goto L_EasyMode5;
  5326. 								next;
  5327. 								} else {
  5328. 								next;
  5329. 								mes .NPCName$;
  5330. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5331. 								set #AlootSet5ID18,@input;
  5332. 								next;
  5333. 								goto L_EasyMode5;
  5334. 								}
  5335. 							}		
  5336. 							case 19:
  5337. 							next;
  5338. 								mes .NPCName$;
  5339. 								mes "Please input the item ID for what you want to autoloot.";
  5340. 								mes "Enter 0 if you wish to leave this option blank.";
  5341. 								input @input;
  5342. 								if (@input == 0)
  5343. 								{
  5344. 								next;
  5345. 								mes .NPCName$;
  5346. 								mes "Alright, deleted!";
  5347. 								set #AlootSet5ID19,0;
  5348. 								next;
  5349. 								goto L_EasyMode5;
  5350. 								close;
  5351. 								} else {
  5352. 								if(getiteminfo(@input,0) == -1)
  5353. 								{
  5354. 								next;
  5355. 								mes .NPCName$;
  5356. 								mes "Sorry, this is not a valid Item ID";
  5357. 								mes "Please try again.";
  5358. 								next;
  5359. 								goto L_EasyMode5;
  5360. 								next;
  5361. 								} else {
  5362. 								next;
  5363. 								mes .NPCName$;
  5364. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5365. 								set #AlootSet5ID19,@input;
  5366. 								next;
  5367. 								goto L_EasyMode5;
  5368. 								}
  5369. 							}		
  5370. 							case 20:
  5371. 							next;
  5372. 								mes .NPCName$;
  5373. 								mes "Please input the item ID for what you want to autoloot.";
  5374. 								mes "Enter 0 if you wish to leave this option blank.";
  5375. 								input @input;
  5376. 								if (@input == 0)
  5377. 								{
  5378. 								next;
  5379. 								mes .NPCName$;
  5380. 								mes "Alright, deleted!";
  5381. 								set #AlootSet5ID20,0;
  5382. 								next;
  5383. 								goto L_EasyMode5;
  5384. 								close;
  5385. 								} else {
  5386. 								if(getiteminfo(@input,0) == -1)
  5387. 								{
  5388. 								next;
  5389. 								mes .NPCName$;
  5390. 								mes "Sorry, this is not a valid Item ID";
  5391. 								mes "Please try again.";
  5392. 								next;
  5393. 								goto L_EasyMode5;
  5394. 								next;
  5395. 								} else {
  5396. 								next;
  5397. 								mes .NPCName$;
  5398. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5399. 								set #AlootSet5ID20,@input;
  5400. 								next;
  5401. 								goto L_EasyMode5;
  5402. 								}
  5403. 							}			
  5404. 							case 21:
  5405. 								next;
  5406. 								mes .NPCName$;
  5407. 								mes "Please input the item ID for what you want to autoloot.";
  5408. 								mes "Enter 0 if you wish to leave this option blank.";
  5409. 								input @input;
  5410. 								if (@input == 0)
  5411. 								{
  5412. 								next;
  5413. 								mes .NPCName$;
  5414. 								mes "Alright, deleted!";
  5415. 								set #AlootSet5ID21,0;
  5416. 								next;
  5417. 								goto L_EasyMode5;
  5418. 								close;
  5419. 								} else {
  5420. 								if(getiteminfo(@input,0) == -1)
  5421. 								{
  5422. 								next;
  5423. 								mes .NPCName$;
  5424. 								mes "Sorry, this is not a valid Item ID";
  5425. 								mes "Please try again.";
  5426. 								next;
  5427. 								goto L_EasyMode5;
  5428. 								next;
  5429. 								} else {
  5430. 								next;
  5431. 								mes .NPCName$;
  5432. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5433. 								set #AlootSet5ID21,@input;
  5434. 								next;
  5435. 								goto L_EasyMode5;
  5436. 								}
  5437. 							}	
  5438. 							case 22:
  5439. 							next;
  5440. 								mes .NPCName$;
  5441. 								mes "Please input the item ID for what you want to autoloot.";
  5442. 								mes "Enter 0 if you wish to leave this option blank.";
  5443. 								input @input;
  5444. 								if (@input == 0)
  5445. 								{
  5446. 								next;
  5447. 								mes .NPCName$;
  5448. 								mes "Alright, deleted!";
  5449. 								set #AlootSet5ID22,0;
  5450. 								next;
  5451. 								goto L_EasyMode5;
  5452. 								close;
  5453. 								} else {
  5454. 								if(getiteminfo(@input,0) == -1)
  5455. 								{
  5456. 								next;
  5457. 								mes .NPCName$;
  5458. 								mes "Sorry, this is not a valid Item ID";
  5459. 								mes "Please try again.";
  5460. 								next;
  5461. 								goto L_EasyMode5;
  5462. 								next;
  5463. 								} else {
  5464. 								next;
  5465. 								mes .NPCName$;
  5466. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5467. 								set #AlootSet5ID22,@input;
  5468. 								next;
  5469. 								goto L_EasyMode5;
  5470. 								}
  5471. 							}		
  5472. 							case 23:
  5473. 							next;
  5474. 								mes .NPCName$;
  5475. 								mes "Please input the item ID for what you want to autoloot.";
  5476. 								mes "Enter 0 if you wish to leave this option blank.";
  5477. 								input @input;
  5478. 								if (@input == 0)
  5479. 								{
  5480. 								next;
  5481. 								mes .NPCName$;
  5482. 								mes "Alright, deleted!";
  5483. 								set #AlootSet5ID23,0;
  5484. 								next;
  5485. 								goto L_EasyMode5;
  5486. 								close;
  5487. 								} else {
  5488. 								if(getiteminfo(@input,0) == -1)
  5489. 								{
  5490. 								next;
  5491. 								mes .NPCName$;
  5492. 								mes "Sorry, this is not a valid Item ID";
  5493. 								mes "Please try again.";
  5494. 								next;
  5495. 								goto L_EasyMode5;
  5496. 								next;
  5497. 								} else {
  5498. 								next;
  5499. 								mes .NPCName$;
  5500. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5501. 								set #AlootSet5ID23,@input;
  5502. 								next;
  5503. 								goto L_EasyMode5;
  5504. 								}
  5505. 							}			
  5506. 							case 24:
  5507. 							next;
  5508. 								mes .NPCName$;
  5509. 								mes "Please input the item ID for what you want to autoloot.";
  5510. 								mes "Enter 0 if you wish to leave this option blank.";
  5511. 								input @input;
  5512. 								if (@input == 0)
  5513. 								{
  5514. 								next;
  5515. 								mes .NPCName$;
  5516. 								mes "Alright, deleted!";
  5517. 								set #AlootSet5ID24,0;
  5518. 								next;
  5519. 								goto L_EasyMode5;
  5520. 								close;
  5521. 								} else {
  5522. 								if(getiteminfo(@input,0) == -1)
  5523. 								{
  5524. 								next;
  5525. 								mes .NPCName$;
  5526. 								mes "Sorry, this is not a valid Item ID";
  5527. 								mes "Please try again.";
  5528. 								next;
  5529. 								goto L_EasyMode5;
  5530. 								next;
  5531. 								} else {
  5532. 								next;
  5533. 								mes .NPCName$;
  5534. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5535. 								set #AlootSet5ID24,@input;
  5536. 								next;
  5537. 								goto L_EasyMode5;
  5538. 								}
  5539. 							}	
  5540. 							case 25:
  5541. 							next;
  5542. 								mes .NPCName$;
  5543. 								mes "Please input the item ID for what you want to autoloot.";
  5544. 								mes "Enter 0 if you wish to leave this option blank.";
  5545. 								input @input;
  5546. 								if (@input == 0)
  5547. 								{
  5548. 								next;
  5549. 								mes .NPCName$;
  5550. 								mes "Alright, deleted!";
  5551. 								set #AlootSet5ID25,0;
  5552. 								next;
  5553. 								goto L_EasyMode5;
  5554. 								close;
  5555. 								} else {
  5556. 								if(getiteminfo(@input,0) == -1)
  5557. 								{
  5558. 								next;
  5559. 								mes .NPCName$;
  5560. 								mes "Sorry, this is not a valid Item ID";
  5561. 								mes "Please try again.";
  5562. 								next;
  5563. 								goto L_EasyMode5;
  5564. 								next;
  5565. 								} else {
  5566. 								next;
  5567. 								mes .NPCName$;
  5568. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5569. 								set #AlootSet5ID25,@input;
  5570. 								next;
  5571. 								goto L_EasyMode5;
  5572. 								}
  5573. 							}	
  5574. 						}
  5575.  
  5576. 		} else {
  5577. 		next;
  5578. 		mes .NPCName$;
  5579. 		mes "You have nothing created in this set!";
  5580. 		mes "Please create a set before editing it.";
  5581. 		close;
  5582. 		}
  5583. 													case 6:
  5584. 					if (@menu$[6] != "Nothing")
  5585. 					{					L_EasyMode6:
  5586. 						mes .NPCName$;
  5587. 						mes "Let's edit what's listed in this set.";
  5588. 						mes "You can Delete any item by entering 0.";
  5589. 						mes "Or edit the item ID by entering it in place of an existing one.";
  5590. 						next;
  5591. 						switch (select ( #AlootSet6ID1 != 0? "Item ID "+#AlootSet6ID1+" - ("+getitemname(#AlootSet6ID1)+")": "Add Item",#AlootSet6ID2 != 0? "Item ID "+#AlootSet6ID2+" - ("+getitemname(#AlootSet6ID2)+")": "Add Item",#AlootSet6ID3 != 0? "Item ID "+#AlootSet6ID3+" - ("+getitemname(#AlootSet6ID3)+")": "Add Item",#AlootSet6ID4 != 0? "Item ID "+#AlootSet6ID4+" - ("+getitemname(#AlootSet6ID4)+")": "Add Item",#AlootSet6ID5 != 0? "Item ID "+#AlootSet6ID5+" - ("+getitemname(#AlootSet6ID5)+")": "Add Item",#AlootSet6ID6 != 0? "Item ID "+#AlootSet6ID6+" - ("+getitemname(#AlootSet6ID6)+")": "Add Item",#AlootSet6ID7 != 0? "Item ID "+#AlootSet6ID7+" - ("+getitemname(#AlootSet6ID7)+")": "Add Item",#AlootSet6ID8 != 0? "Item ID "+#AlootSet6ID8+" - ("+getitemname(#AlootSet6ID8)+")": "Add Item",#AlootSet6ID9 != 0? "Item ID "+#AlootSet6ID9+" - ("+getitemname(#AlootSet6ID9)+")": "Add Item",#AlootSet6ID10 != 0? "Item ID "+#AlootSet6ID10+" - ("+getitemname(#AlootSet6ID10)+")": "Add Item",#AlootSet6ID11 != 0? "Item ID "+#AlootSet6ID11+" - ("+getitemname(#AlootSet6ID11)+")": "Add Item",#AlootSet6ID12 != 0? "Item ID "+#AlootSet6ID12+" - ("+getitemname(#AlootSet6ID12)+")": "Add Item",#AlootSet6ID13 != 0? "Item ID "+#AlootSet6ID13+" - ("+getitemname(#AlootSet6ID13)+")": "Add Item",#AlootSet6ID14 != 0? "Item ID "+#AlootSet6ID14+" - ("+getitemname(#AlootSet6ID14)+")": "Add Item",#AlootSet6ID15 != 0? "Item ID "+#AlootSet6ID15+" - ("+getitemname(#AlootSet6ID15)+")": "Add Item",#AlootSet6ID16 != 0? "Item ID "+#AlootSet6ID16+" - ("+getitemname(#AlootSet6ID16)+")": "Add Item",#AlootSet6ID17 != 0? "Item ID "+#AlootSet6ID17+" - ("+getitemname(#AlootSet6ID17)+")": "Add Item",#AlootSet6ID18 != 0? "Item ID "+#AlootSet6ID18+" - ("+getitemname(#AlootSet6ID18)+")": "Add Item",#AlootSet6ID19 != 0? "Item ID "+#AlootSet6ID19+" - ("+getitemname(#AlootSet6ID19)+")": "Add Item",#AlootSet6ID20 != 0? "Item ID "+#AlootSet6ID20+" - ("+getitemname(#AlootSet6ID20)+")": "Add Item",#AlootSet6ID21 != 0? "Item ID "+#AlootSet6ID21+" - ("+getitemname(#AlootSet6ID21)+")": "Add Item",#AlootSet6ID22 != 0? "Item ID "+#AlootSet6ID22+" - ("+getitemname(#AlootSet6ID22)+")": "Add Item",#AlootSet6ID23 != 0? "Item ID "+#AlootSet6ID23+" - ("+getitemname(#AlootSet6ID23)+")": "Add Item",#AlootSet6ID24 != 0? "Item ID "+#AlootSet6ID24+" - ("+getitemname(#AlootSet6ID24)+")": "Add Item",#AlootSet6ID25 != 0? "Item ID "+#AlootSet6ID25+" - ("+getitemname(#AlootSet6ID25)+")": "Add Item" ))
  5592. 						{
  5593. 							case 1:
  5594. 							next;
  5595. 								mes .NPCName$;
  5596. 								mes "Please input the item ID for what you want to autoloot.";
  5597. 								mes "Enter 0 if you wish to leave this option blank.";
  5598. 								input @input;
  5599. 								if (@input == 0)
  5600. 								{
  5601. 								next;
  5602. 								mes .NPCName$;
  5603. 								mes "Alright, deleted!";
  5604. 								set #AlootSet6ID1,0;
  5605. 								next;
  5606. 								goto L_EasyMode6;
  5607. 								close;
  5608. 								} else {
  5609. 								if(getiteminfo(@input,0) == -1)
  5610. 								{
  5611. 								next;
  5612. 								mes .NPCName$;
  5613. 								mes "Sorry, this is not a valid Item ID";
  5614. 								mes "Please try again.";
  5615. 								next;
  5616. 								goto L_EasyMode6;
  5617. 								next;
  5618. 								} else {
  5619. 								next;
  5620. 								mes .NPCName$;
  5621. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5622. 								set #AlootSet6ID1,@input;
  5623. 								next;
  5624. 								goto L_EasyMode6;
  5625. 								}
  5626. 							}
  5627. 							case 2:
  5628. 							next;
  5629. 								mes .NPCName$;
  5630. 								mes "Please input the item ID for what you want to autoloot.";
  5631. 								mes "Enter 0 if you wish to leave this option blank.";
  5632. 								input @input;
  5633. 								if (@input == 0)
  5634. 								{
  5635. 								next;
  5636. 								mes .NPCName$;
  5637. 								mes "Alright, deleted!";
  5638. 								set #AlootSet6ID2,0;
  5639. 								next;
  5640. 								goto L_EasyMode6;
  5641. 								close;
  5642. 								} else {
  5643. 								if(getiteminfo(@input,0) == -1)
  5644. 								{
  5645. 								next;
  5646. 								mes .NPCName$;
  5647. 								mes "Sorry, this is not a valid Item ID";
  5648. 								mes "Please try again.";
  5649. 								next;
  5650. 								goto L_EasyMode6;
  5651. 								next;
  5652. 								} else {
  5653. 								next;
  5654. 								mes .NPCName$;
  5655. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5656. 								set #AlootSet6ID2,@input;
  5657. 								next;
  5658. 								goto L_EasyMode6;
  5659. 								}
  5660. 							}
  5661. 							case 3:
  5662. 							next;
  5663. 								mes .NPCName$;
  5664. 								mes "Please input the item ID for what you want to autoloot.";
  5665. 								mes "Enter 0 if you wish to leave this option blank.";
  5666. 								input @input;
  5667. 								if (@input == 0)
  5668. 								{
  5669. 								next;
  5670. 								mes .NPCName$;
  5671. 								mes "Alright, deleted!";
  5672. 								set #AlootSet6ID3,0;
  5673. 								next;
  5674. 								goto L_EasyMode6;
  5675. 								close;
  5676. 								} else {
  5677. 								if(getiteminfo(@input,0) == -1)
  5678. 								{
  5679. 								next;
  5680. 								mes .NPCName$;
  5681. 								mes "Sorry, this is not a valid Item ID";
  5682. 								mes "Please try again.";
  5683. 								next;
  5684. 								goto L_EasyMode6;
  5685. 								next;
  5686. 								} else {
  5687. 								next;
  5688. 								mes .NPCName$;
  5689. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5690. 								set #AlootSet6ID3,@input;
  5691. 								next;
  5692. 								goto L_EasyMode6;
  5693. 								}
  5694. 							}							
  5695. 							case 4:
  5696. 							next;
  5697. 								mes .NPCName$;
  5698. 								mes "Please input the item ID for what you want to autoloot.";
  5699. 								mes "Enter 0 if you wish to leave this option blank.";
  5700. 								input @input;
  5701. 								if (@input == 0)
  5702. 								{
  5703. 								next;
  5704. 								mes .NPCName$;
  5705. 								mes "Alright, deleted!";
  5706. 								set #AlootSet6ID4,0;
  5707. 								next;
  5708. 								goto L_EasyMode6;
  5709. 								close;
  5710. 								} else {
  5711. 								if(getiteminfo(@input,0) == -1)
  5712. 								{
  5713. 								next;
  5714. 								mes .NPCName$;
  5715. 								mes "Sorry, this is not a valid Item ID";
  5716. 								mes "Please try again.";
  5717. 								next;
  5718. 								goto L_EasyMode6;
  5719. 								next;
  5720. 								} else {
  5721. 								next;
  5722. 								mes .NPCName$;
  5723. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5724. 								set #AlootSet6ID4,@input;
  5725. 								next;
  5726. 								goto L_EasyMode6;
  5727. 								}
  5728. 							}
  5729. 							case 5:
  5730. 							next;
  5731. 								mes .NPCName$;
  5732. 								mes "Please input the item ID for what you want to autoloot.";
  5733. 								mes "Enter 0 if you wish to leave this option blank.";
  5734. 								input @input;
  5735. 								if (@input == 0)
  5736. 								{
  5737. 								next;
  5738. 								mes .NPCName$;
  5739. 								mes "Alright, deleted!";
  5740. 								set #AlootSet6ID5,0;
  5741. 								next;
  5742. 								goto L_EasyMode6;
  5743. 								close;
  5744. 								} else {
  5745. 								if(getiteminfo(@input,0) == -1)
  5746. 								{
  5747. 								next;
  5748. 								mes .NPCName$;
  5749. 								mes "Sorry, this is not a valid Item ID";
  5750. 								mes "Please try again.";
  5751. 								next;
  5752. 								goto L_EasyMode6;
  5753. 								next;
  5754. 								} else {
  5755. 								next;
  5756. 								mes .NPCName$;
  5757. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5758. 								set #AlootSet6ID5,@input;
  5759. 								next;
  5760. 								goto L_EasyMode6;
  5761. 								}
  5762. 							}			
  5763. 							case 6:
  5764. 								next;
  5765. 								mes .NPCName$;
  5766. 								mes "Please input the item ID for what you want to autoloot.";
  5767. 								mes "Enter 0 if you wish to leave this option blank.";
  5768. 								input @input;
  5769. 								if (@input == 0)
  5770. 								{
  5771. 								next;
  5772. 								mes .NPCName$;
  5773. 								mes "Alright, deleted!";
  5774. 								set #AlootSet6ID6,0;
  5775. 								next;
  5776. 								goto L_EasyMode6;
  5777. 								close;
  5778. 								} else {
  5779. 								if(getiteminfo(@input,0) == -1)
  5780. 								{
  5781. 								next;
  5782. 								mes .NPCName$;
  5783. 								mes "Sorry, this is not a valid Item ID";
  5784. 								mes "Please try again.";
  5785. 								next;
  5786. 								goto L_EasyMode6;
  5787. 								next;
  5788. 								} else {
  5789. 								next;
  5790. 								mes .NPCName$;
  5791. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5792. 								set #AlootSet6ID6,@input;
  5793. 								next;
  5794. 								goto L_EasyMode6;
  5795. 								}
  5796. 							}	
  5797. 							case 7:
  5798. 							next;
  5799. 								mes .NPCName$;
  5800. 								mes "Please input the item ID for what you want to autoloot.";
  5801. 								mes "Enter 0 if you wish to leave this option blank.";
  5802. 								input @input;
  5803. 								if (@input == 0)
  5804. 								{
  5805. 								next;
  5806. 								mes .NPCName$;
  5807. 								mes "Alright, deleted!";
  5808. 								set #AlootSet6ID7,0;
  5809. 								next;
  5810. 								goto L_EasyMode6;
  5811. 								close;
  5812. 								} else {
  5813. 								if(getiteminfo(@input,0) == -1)
  5814. 								{
  5815. 								next;
  5816. 								mes .NPCName$;
  5817. 								mes "Sorry, this is not a valid Item ID";
  5818. 								mes "Please try again.";
  5819. 								next;
  5820. 								goto L_EasyMode6;
  5821. 								next;
  5822. 								} else {
  5823. 								next;
  5824. 								mes .NPCName$;
  5825. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5826. 								set #AlootSet6ID7,@input;
  5827. 								next;
  5828. 								goto L_EasyMode6;
  5829. 								}
  5830. 							}		
  5831. 							case 8:
  5832. 							next;
  5833. 								mes .NPCName$;
  5834. 								mes "Please input the item ID for what you want to autoloot.";
  5835. 								mes "Enter 0 if you wish to leave this option blank.";
  5836. 								input @input;
  5837. 								if (@input == 0)
  5838. 								{
  5839. 								next;
  5840. 								mes .NPCName$;
  5841. 								mes "Alright, deleted!";
  5842. 								set #AlootSet6ID8,0;
  5843. 								next;
  5844. 								goto L_EasyMode6;
  5845. 								close;
  5846. 								} else {
  5847. 								if(getiteminfo(@input,0) == -1)
  5848. 								{
  5849. 								next;
  5850. 								mes .NPCName$;
  5851. 								mes "Sorry, this is not a valid Item ID";
  5852. 								mes "Please try again.";
  5853. 								next;
  5854. 								goto L_EasyMode6;
  5855. 								next;
  5856. 								} else {
  5857. 								next;
  5858. 								mes .NPCName$;
  5859. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5860. 								set #AlootSet6ID8,@input;
  5861. 								next;
  5862. 								goto L_EasyMode6;
  5863. 								}
  5864. 							}		
  5865. 							case 9:
  5866. 							next;
  5867. 								mes .NPCName$;
  5868. 								mes "Please input the item ID for what you want to autoloot.";
  5869. 								mes "Enter 0 if you wish to leave this option blank.";
  5870. 								input @input;
  5871. 								if (@input == 0)
  5872. 								{
  5873. 								next;
  5874. 								mes .NPCName$;
  5875. 								mes "Alright, deleted!";
  5876. 								set #AlootSet6ID9,0;
  5877. 								next;
  5878. 								goto L_EasyMode6;
  5879. 								close;
  5880. 								} else {
  5881. 								if(getiteminfo(@input,0) == -1)
  5882. 								{
  5883. 								next;
  5884. 								mes .NPCName$;
  5885. 								mes "Sorry, this is not a valid Item ID";
  5886. 								mes "Please try again.";
  5887. 								next;
  5888. 								goto L_EasyMode6;
  5889. 								next;
  5890. 								} else {
  5891. 								next;
  5892. 								mes .NPCName$;
  5893. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5894. 								set #AlootSet6ID9,@input;
  5895. 								next;
  5896. 								goto L_EasyMode6;
  5897. 								}
  5898. 							}	
  5899. 							case 10:
  5900. 								next;
  5901. 								mes .NPCName$;
  5902. 								mes "Please input the item ID for what you want to autoloot.";
  5903. 								mes "Enter 0 if you wish to leave this option blank.";
  5904. 								input @input;
  5905. 								if (@input == 0)
  5906. 								{
  5907. 								next;
  5908. 								mes .NPCName$;
  5909. 								mes "Alright, deleted!";
  5910. 								set #AlootSet6ID10,0;
  5911. 								next;
  5912. 								goto L_EasyMode6;
  5913. 								close;
  5914. 								} else {
  5915. 								if(getiteminfo(@input,0) == -1)
  5916. 								{
  5917. 								next;
  5918. 								mes .NPCName$;
  5919. 								mes "Sorry, this is not a valid Item ID";
  5920. 								mes "Please try again.";
  5921. 								next;
  5922. 								goto L_EasyMode6;
  5923. 								next;
  5924. 								} else {
  5925. 								next;
  5926. 								mes .NPCName$;
  5927. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5928. 								set #AlootSet6ID10,@input;
  5929. 								next;
  5930. 								goto L_EasyMode6;
  5931. 								}
  5932. 							}	
  5933. 							case 11:
  5934. 								next;
  5935. 								mes .NPCName$;
  5936. 								mes "Please input the item ID for what you want to autoloot.";
  5937. 								mes "Enter 0 if you wish to leave this option blank.";
  5938. 								input @input;
  5939. 								if (@input == 0)
  5940. 								{
  5941. 								next;
  5942. 								mes .NPCName$;
  5943. 								mes "Alright, deleted!";
  5944. 								set #AlootSet6ID11,0;
  5945. 								next;
  5946. 								goto L_EasyMode6;
  5947. 								close;
  5948. 								} else {
  5949. 								if(getiteminfo(@input,0) == -1)
  5950. 								{
  5951. 								next;
  5952. 								mes .NPCName$;
  5953. 								mes "Sorry, this is not a valid Item ID";
  5954. 								mes "Please try again.";
  5955. 								next;
  5956. 								goto L_EasyMode6;
  5957. 								next;
  5958. 								} else {
  5959. 								next;
  5960. 								mes .NPCName$;
  5961. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5962. 								set #AlootSet6ID11,@input;
  5963. 								next;
  5964. 								goto L_EasyMode6;
  5965. 								}
  5966. 							}	
  5967. 							case 12:
  5968. 							next;
  5969. 								mes .NPCName$;
  5970. 								mes "Please input the item ID for what you want to autoloot.";
  5971. 								mes "Enter 0 if you wish to leave this option blank.";
  5972. 								input @input;
  5973. 								if (@input == 0)
  5974. 								{
  5975. 								next;
  5976. 								mes .NPCName$;
  5977. 								mes "Alright, deleted!";
  5978. 								set #AlootSet6ID12,0;
  5979. 								next;
  5980. 								goto L_EasyMode6;
  5981. 								close;
  5982. 								} else {
  5983. 								if(getiteminfo(@input,0) == -1)
  5984. 								{
  5985. 								next;
  5986. 								mes .NPCName$;
  5987. 								mes "Sorry, this is not a valid Item ID";
  5988. 								mes "Please try again.";
  5989. 								next;
  5990. 								goto L_EasyMode6;
  5991. 								next;
  5992. 								} else {
  5993. 								next;
  5994. 								mes .NPCName$;
  5995. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  5996. 								set #AlootSet6ID12,@input;
  5997. 								next;
  5998. 								goto L_EasyMode6;
  5999. 								}
  6000. 							}			
  6001. 							case 13:
  6002. 								next;
  6003. 								mes .NPCName$;
  6004. 								mes "Please input the item ID for what you want to autoloot.";
  6005. 								mes "Enter 0 if you wish to leave this option blank.";
  6006. 								input @input;
  6007. 								if (@input == 0)
  6008. 								{
  6009. 								next;
  6010. 								mes .NPCName$;
  6011. 								mes "Alright, deleted!";
  6012. 								set #AlootSet6ID13,0;
  6013. 								next;
  6014. 								goto L_EasyMode6;
  6015. 								close;
  6016. 								} else {
  6017. 								if(getiteminfo(@input,0) == -1)
  6018. 								{
  6019. 								next;
  6020. 								mes .NPCName$;
  6021. 								mes "Sorry, this is not a valid Item ID";
  6022. 								mes "Please try again.";
  6023. 								next;
  6024. 								goto L_EasyMode6;
  6025. 								next;
  6026. 								} else {
  6027. 								next;
  6028. 								mes .NPCName$;
  6029. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6030. 								set #AlootSet6ID13,@input;
  6031. 								next;
  6032. 								goto L_EasyMode6;
  6033. 								}
  6034. 							}	
  6035. 							case 14:
  6036. 							next;
  6037. 								mes .NPCName$;
  6038. 								mes "Please input the item ID for what you want to autoloot.";
  6039. 								mes "Enter 0 if you wish to leave this option blank.";
  6040. 								input @input;
  6041. 								if (@input == 0)
  6042. 								{
  6043. 								next;
  6044. 								mes .NPCName$;
  6045. 								mes "Alright, deleted!";
  6046. 								set #AlootSet6ID14,0;
  6047. 								next;
  6048. 								goto L_EasyMode6;
  6049. 								close;
  6050. 								} else {
  6051. 								if(getiteminfo(@input,0) == -1)
  6052. 								{
  6053. 								next;
  6054. 								mes .NPCName$;
  6055. 								mes "Sorry, this is not a valid Item ID";
  6056. 								mes "Please try again.";
  6057. 								next;
  6058. 								goto L_EasyMode6;
  6059. 								next;
  6060. 								} else {
  6061. 								next;
  6062. 								mes .NPCName$;
  6063. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6064. 								set #AlootSet6ID14,@input;
  6065. 								next;
  6066. 								goto L_EasyMode6;
  6067. 								}
  6068. 							}	
  6069. 							case 15:
  6070. 							next;
  6071. 								mes .NPCName$;
  6072. 								mes "Please input the item ID for what you want to autoloot.";
  6073. 								mes "Enter 0 if you wish to leave this option blank.";
  6074. 								input @input;
  6075. 								if (@input == 0)
  6076. 								{
  6077. 								next;
  6078. 								mes .NPCName$;
  6079. 								mes "Alright, deleted!";
  6080. 								set #AlootSet6ID15,0;
  6081. 								next;
  6082. 								goto L_EasyMode6;
  6083. 								close;
  6084. 								} else {
  6085. 								if(getiteminfo(@input,0) == -1)
  6086. 								{
  6087. 								next;
  6088. 								mes .NPCName$;
  6089. 								mes "Sorry, this is not a valid Item ID";
  6090. 								mes "Please try again.";
  6091. 								next;
  6092. 								goto L_EasyMode6;
  6093. 								next;
  6094. 								} else {
  6095. 								next;
  6096. 								mes .NPCName$;
  6097. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6098. 								set #AlootSet6ID15,@input;
  6099. 								next;
  6100. 								goto L_EasyMode6;
  6101. 								}
  6102. 							}		
  6103. 							case 16:
  6104. 							next;
  6105. 								mes .NPCName$;
  6106. 								mes "Please input the item ID for what you want to autoloot.";
  6107. 								mes "Enter 0 if you wish to leave this option blank.";
  6108. 								input @input;
  6109. 								if (@input == 0)
  6110. 								{
  6111. 								next;
  6112. 								mes .NPCName$;
  6113. 								mes "Alright, deleted!";
  6114. 								set #AlootSet6ID16,0;
  6115. 								next;
  6116. 								goto L_EasyMode6;
  6117. 								close;
  6118. 								} else {
  6119. 								if(getiteminfo(@input,0) == -1)
  6120. 								{
  6121. 								next;
  6122. 								mes .NPCName$;
  6123. 								mes "Sorry, this is not a valid Item ID";
  6124. 								mes "Please try again.";
  6125. 								next;
  6126. 								goto L_EasyMode6;
  6127. 								next;
  6128. 								} else {
  6129. 								next;
  6130. 								mes .NPCName$;
  6131. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6132. 								set #AlootSet6ID16,@input;
  6133. 								next;
  6134. 								goto L_EasyMode6;
  6135. 								}
  6136. 							}		
  6137. 							case 17:
  6138. 							next;
  6139. 								mes .NPCName$;
  6140. 								mes "Please input the item ID for what you want to autoloot.";
  6141. 								mes "Enter 0 if you wish to leave this option blank.";
  6142. 								input @input;
  6143. 								if (@input == 0)
  6144. 								{
  6145. 								next;
  6146. 								mes .NPCName$;
  6147. 								mes "Alright, deleted!";
  6148. 								set #AlootSet6ID17,0;
  6149. 								next;
  6150. 								goto L_EasyMode6;
  6151. 								close;
  6152. 								} else {
  6153. 								if(getiteminfo(@input,0) == -1)
  6154. 								{
  6155. 								next;
  6156. 								mes .NPCName$;
  6157. 								mes "Sorry, this is not a valid Item ID";
  6158. 								mes "Please try again.";
  6159. 								next;
  6160. 								goto L_EasyMode6;
  6161. 								next;
  6162. 								} else {
  6163. 								next;
  6164. 								mes .NPCName$;
  6165. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6166. 								set #AlootSet6ID17,@input;
  6167. 								next;
  6168. 								goto L_EasyMode6;
  6169. 								}
  6170. 							}		
  6171. 							case 18:
  6172. 							next;
  6173. 								mes .NPCName$;
  6174. 								mes "Please input the item ID for what you want to autoloot.";
  6175. 								mes "Enter 0 if you wish to leave this option blank.";
  6176. 								input @input;
  6177. 								if (@input == 0)
  6178. 								{
  6179. 								next;
  6180. 								mes .NPCName$;
  6181. 								mes "Alright, deleted!";
  6182. 								set #AlootSet6ID18,0;
  6183. 								next;
  6184. 								goto L_EasyMode6;
  6185. 								close;
  6186. 								} else {
  6187. 								if(getiteminfo(@input,0) == -1)
  6188. 								{
  6189. 								next;
  6190. 								mes .NPCName$;
  6191. 								mes "Sorry, this is not a valid Item ID";
  6192. 								mes "Please try again.";
  6193. 								next;
  6194. 								goto L_EasyMode6;
  6195. 								next;
  6196. 								} else {
  6197. 								next;
  6198. 								mes .NPCName$;
  6199. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6200. 								set #AlootSet6ID18,@input;
  6201. 								next;
  6202. 								goto L_EasyMode6;
  6203. 								}
  6204. 							}		
  6205. 							case 19:
  6206. 							next;
  6207. 								mes .NPCName$;
  6208. 								mes "Please input the item ID for what you want to autoloot.";
  6209. 								mes "Enter 0 if you wish to leave this option blank.";
  6210. 								input @input;
  6211. 								if (@input == 0)
  6212. 								{
  6213. 								next;
  6214. 								mes .NPCName$;
  6215. 								mes "Alright, deleted!";
  6216. 								set #AlootSet6ID19,0;
  6217. 								next;
  6218. 								goto L_EasyMode6;
  6219. 								close;
  6220. 								} else {
  6221. 								if(getiteminfo(@input,0) == -1)
  6222. 								{
  6223. 								next;
  6224. 								mes .NPCName$;
  6225. 								mes "Sorry, this is not a valid Item ID";
  6226. 								mes "Please try again.";
  6227. 								next;
  6228. 								goto L_EasyMode6;
  6229. 								next;
  6230. 								} else {
  6231. 								next;
  6232. 								mes .NPCName$;
  6233. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6234. 								set #AlootSet6ID19,@input;
  6235. 								next;
  6236. 								goto L_EasyMode6;
  6237. 								}
  6238. 							}		
  6239. 							case 20:
  6240. 							next;
  6241. 								mes .NPCName$;
  6242. 								mes "Please input the item ID for what you want to autoloot.";
  6243. 								mes "Enter 0 if you wish to leave this option blank.";
  6244. 								input @input;
  6245. 								if (@input == 0)
  6246. 								{
  6247. 								next;
  6248. 								mes .NPCName$;
  6249. 								mes "Alright, deleted!";
  6250. 								set #AlootSet6ID20,0;
  6251. 								next;
  6252. 								goto L_EasyMode6;
  6253. 								close;
  6254. 								} else {
  6255. 								if(getiteminfo(@input,0) == -1)
  6256. 								{
  6257. 								next;
  6258. 								mes .NPCName$;
  6259. 								mes "Sorry, this is not a valid Item ID";
  6260. 								mes "Please try again.";
  6261. 								next;
  6262. 								goto L_EasyMode6;
  6263. 								next;
  6264. 								} else {
  6265. 								next;
  6266. 								mes .NPCName$;
  6267. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6268. 								set #AlootSet6ID20,@input;
  6269. 								next;
  6270. 								goto L_EasyMode6;
  6271. 								}
  6272. 							}			
  6273. 							case 21:
  6274. 								next;
  6275. 								mes .NPCName$;
  6276. 								mes "Please input the item ID for what you want to autoloot.";
  6277. 								mes "Enter 0 if you wish to leave this option blank.";
  6278. 								input @input;
  6279. 								if (@input == 0)
  6280. 								{
  6281. 								next;
  6282. 								mes .NPCName$;
  6283. 								mes "Alright, deleted!";
  6284. 								set #AlootSet6ID21,0;
  6285. 								next;
  6286. 								goto L_EasyMode6;
  6287. 								close;
  6288. 								} else {
  6289. 								if(getiteminfo(@input,0) == -1)
  6290. 								{
  6291. 								next;
  6292. 								mes .NPCName$;
  6293. 								mes "Sorry, this is not a valid Item ID";
  6294. 								mes "Please try again.";
  6295. 								next;
  6296. 								goto L_EasyMode6;
  6297. 								next;
  6298. 								} else {
  6299. 								next;
  6300. 								mes .NPCName$;
  6301. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6302. 								set #AlootSet6ID21,@input;
  6303. 								next;
  6304. 								goto L_EasyMode6;
  6305. 								}
  6306. 							}	
  6307. 							case 22:
  6308. 							next;
  6309. 								mes .NPCName$;
  6310. 								mes "Please input the item ID for what you want to autoloot.";
  6311. 								mes "Enter 0 if you wish to leave this option blank.";
  6312. 								input @input;
  6313. 								if (@input == 0)
  6314. 								{
  6315. 								next;
  6316. 								mes .NPCName$;
  6317. 								mes "Alright, deleted!";
  6318. 								set #AlootSet6ID22,0;
  6319. 								next;
  6320. 								goto L_EasyMode6;
  6321. 								close;
  6322. 								} else {
  6323. 								if(getiteminfo(@input,0) == -1)
  6324. 								{
  6325. 								next;
  6326. 								mes .NPCName$;
  6327. 								mes "Sorry, this is not a valid Item ID";
  6328. 								mes "Please try again.";
  6329. 								next;
  6330. 								goto L_EasyMode6;
  6331. 								next;
  6332. 								} else {
  6333. 								next;
  6334. 								mes .NPCName$;
  6335. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6336. 								set #AlootSet6ID22,@input;
  6337. 								next;
  6338. 								goto L_EasyMode6;
  6339. 								}
  6340. 							}		
  6341. 							case 23:
  6342. 							next;
  6343. 								mes .NPCName$;
  6344. 								mes "Please input the item ID for what you want to autoloot.";
  6345. 								mes "Enter 0 if you wish to leave this option blank.";
  6346. 								input @input;
  6347. 								if (@input == 0)
  6348. 								{
  6349. 								next;
  6350. 								mes .NPCName$;
  6351. 								mes "Alright, deleted!";
  6352. 								set #AlootSet6ID23,0;
  6353. 								next;
  6354. 								goto L_EasyMode6;
  6355. 								close;
  6356. 								} else {
  6357. 								if(getiteminfo(@input,0) == -1)
  6358. 								{
  6359. 								next;
  6360. 								mes .NPCName$;
  6361. 								mes "Sorry, this is not a valid Item ID";
  6362. 								mes "Please try again.";
  6363. 								next;
  6364. 								goto L_EasyMode6;
  6365. 								next;
  6366. 								} else {
  6367. 								next;
  6368. 								mes .NPCName$;
  6369. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6370. 								set #AlootSet6ID23,@input;
  6371. 								next;
  6372. 								goto L_EasyMode6;
  6373. 								}
  6374. 							}			
  6375. 							case 24:
  6376. 							next;
  6377. 								mes .NPCName$;
  6378. 								mes "Please input the item ID for what you want to autoloot.";
  6379. 								mes "Enter 0 if you wish to leave this option blank.";
  6380. 								input @input;
  6381. 								if (@input == 0)
  6382. 								{
  6383. 								next;
  6384. 								mes .NPCName$;
  6385. 								mes "Alright, deleted!";
  6386. 								set #AlootSet6ID24,0;
  6387. 								next;
  6388. 								goto L_EasyMode6;
  6389. 								close;
  6390. 								} else {
  6391. 								if(getiteminfo(@input,0) == -1)
  6392. 								{
  6393. 								next;
  6394. 								mes .NPCName$;
  6395. 								mes "Sorry, this is not a valid Item ID";
  6396. 								mes "Please try again.";
  6397. 								next;
  6398. 								goto L_EasyMode6;
  6399. 								next;
  6400. 								} else {
  6401. 								next;
  6402. 								mes .NPCName$;
  6403. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6404. 								set #AlootSet6ID24,@input;
  6405. 								next;
  6406. 								goto L_EasyMode6;
  6407. 								}
  6408. 							}	
  6409. 							case 25:
  6410. 							next;
  6411. 								mes .NPCName$;
  6412. 								mes "Please input the item ID for what you want to autoloot.";
  6413. 								mes "Enter 0 if you wish to leave this option blank.";
  6414. 								input @input;
  6415. 								if (@input == 0)
  6416. 								{
  6417. 								next;
  6418. 								mes .NPCName$;
  6419. 								mes "Alright, deleted!";
  6420. 								set #AlootSet6ID25,0;
  6421. 								next;
  6422. 								goto L_EasyMode6;
  6423. 								close;
  6424. 								} else {
  6425. 								if(getiteminfo(@input,0) == -1)
  6426. 								{
  6427. 								next;
  6428. 								mes .NPCName$;
  6429. 								mes "Sorry, this is not a valid Item ID";
  6430. 								mes "Please try again.";
  6431. 								next;
  6432. 								goto L_EasyMode6;
  6433. 								next;
  6434. 								} else {
  6435. 								next;
  6436. 								mes .NPCName$;
  6437. 								mes "Item ID "+@input+" ("+getitemname(@input)+") has been updated on your list.";
  6438. 								set #AlootSet6ID25,@input;
  6439. 								next;
  6440. 								goto L_EasyMode6;
  6441. 								}
  6442. 							}	
  6443. 						}
  6444.  
  6445. 		} else {
  6446. 		next;
  6447. 		mes .NPCName$;
  6448. 		mes "You have nothing created in this set!";
  6449. 		mes "Please create a set before editing it.";
  6450. 		close;
  6451. 		}
  6452. 	}
  6453.  
  6454. 		case 4:
  6455. 			mes .NPCName$;
  6456. 			mes "Here I can delete your Alootid-Sets.";
  6457. 			mes "Please choose an existing Set.";
  6458. 			mes "Empty/Unused Sets are shown with \"Nothing\" and can't be deleted.";
  6459. 			if (#LootSet1$ == "") { set @menu$[1], "Nothing"; } else { set @menu$[1], #LootSet1$; }
  6460. 			if (#LootSet2$ == "") { set @menu$[2], "Nothing"; } else { set @menu$[2], #LootSet2$; }
  6461. 			if (#LootSet3$ == "") { set @menu$[3], "Nothing"; } else { set @menu$[3], #LootSet3$; }
  6462. 			if (#LootSet4$ == "") { set @menu$[4], "Nothing"; } else { set @menu$[4], #LootSet4$; }
  6463. 			if (#LootSet5$ == "") { set @menu$[5], "Nothing"; } else { set @menu$[5], #LootSet5$; }
  6464. 			if (#LootSet6$ == "") { set @menu$[6], "Nothing"; } else { set @menu$[6], #LootSet6$; }
  6465. 			next;
  6466. 			switch(select(@menu$[1],@menu$[2],@menu$[3],@menu$[4],@menu$[5],@menu$[6]))
  6467. 			{
  6468. 				case 1:
  6469. 					if (#LootSet1$ != "")
  6470. 					{
  6471. 						mes .NPCName$;
  6472. 						mes "So you want to delete Set 1?";
  6473. 						next;
  6474. 						switch(select("Yes:No"))
  6475. 						{
  6476. 							case 1:
  6477. 								mes .NPCName$;
  6478. 								mes "Set deleted.";
  6479. 								set #LootSet1$, "";
  6480. 								set #AlootSet1ID1, 0;
  6481. 								set #AlootSet1ID2, 0;
  6482. 								set #AlootSet1ID3, 0;
  6483. 								set #AlootSet1ID4, 0;
  6484. 								set #AlootSet1ID5, 0;
  6485. 								set #AlootSet1ID6, 0;
  6486. 								set #AlootSet1ID7, 0;
  6487. 								set #AlootSet1ID8, 0;
  6488. 								set #AlootSet1ID9, 0;
  6489. 								set #AlootSet1ID10, 0;
  6490. 								set #AlootSet1ID11, 0;
  6491. 								set #AlootSet1ID12, 0;
  6492. 								set #AlootSet1ID13, 0;
  6493. 								set #AlootSet1ID14, 0;
  6494. 								set #AlootSet1ID15, 0;
  6495. 								set #AlootSet1ID16, 0;
  6496. 								set #AlootSet1ID17, 0;
  6497. 								set #AlootSet1ID18, 0;
  6498. 								set #AlootSet1ID19, 0;
  6499. 								set #AlootSet1ID20, 0;
  6500. 								set #AlootSet1ID21, 0;
  6501. 								set #AlootSet1ID22, 0;
  6502. 								set #AlootSet1ID23, 0;
  6503. 								set #AlootSet1ID24, 0;
  6504. 								set #AlootSet1ID25, 0;
  6505. 								set set_alootid, 0;
  6506. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6507. 								close;
  6508.  
  6509. 							case 2:
  6510. 								mes .NPCName$;
  6511. 								mes "Come back if you want to delete a Set.";
  6512. 								close;
  6513. 						}
  6514. 					} else {
  6515. 						mes .NPCName$;
  6516. 						mes "Sorry, but this Set is already empty.";
  6517. 						mes "Nothing to do here.";
  6518. 						close;
  6519. 					}
  6520.  
  6521. 				case 2:
  6522. 					if (#LootSet2$ != "")
  6523. 					{
  6524. 						mes .NPCName$;
  6525. 						mes "So you want to delete Set 2?";
  6526. 						next;
  6527. 						switch(select("Yes:No"))
  6528. 						{
  6529. 							case 1:
  6530. 								mes .NPCName$;
  6531. 								mes "Set deleted.";
  6532. 								set #LootSet2$, "";
  6533. 								set #AlootSet2ID1, 0;
  6534. 								set #AlootSet2ID2, 0;
  6535. 								set #AlootSet2ID3, 0;
  6536. 								set #AlootSet2ID4, 0;
  6537. 								set #AlootSet2ID5, 0;
  6538. 								set #AlootSet2ID6, 0;
  6539. 								set #AlootSet2ID7, 0;
  6540. 								set #AlootSet2ID8, 0;
  6541. 								set #AlootSet2ID9, 0;
  6542. 								set #AlootSet2ID10, 0;
  6543. 								set #AlootSet2ID11, 0;
  6544. 								set #AlootSet2ID12, 0;
  6545. 								set #AlootSet2ID13, 0;
  6546. 								set #AlootSet2ID14, 0;
  6547. 								set #AlootSet2ID15, 0;
  6548. 								set #AlootSet2ID16, 0;
  6549. 								set #AlootSet2ID17, 0;
  6550. 								set #AlootSet2ID18, 0;
  6551. 								set #AlootSet2ID19, 0;
  6552. 								set #AlootSet2ID20, 0;
  6553. 								set #AlootSet2ID21, 0;
  6554. 								set #AlootSet2ID22, 0;
  6555. 								set #AlootSet2ID23, 0;
  6556. 								set #AlootSet2ID24, 0;
  6557. 								set #AlootSet2ID25, 0;
  6558. 								set set_alootid, 0;
  6559. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6560. 								close;
  6561.  
  6562. 							case 2:
  6563. 								mes .NPCName$;
  6564. 								mes "Come back if you want to delete a Set.";
  6565. 								close;
  6566. 						}
  6567. 					} else {
  6568. 						mes .NPCName$;
  6569. 						mes "Sorry, but this Set is already empty.";
  6570. 						mes "Nothing to do here.";
  6571. 						close;
  6572. 					}
  6573.  
  6574. 				case 3:
  6575. 					if (#LootSet3$ != "")
  6576. 					{
  6577. 						mes .NPCName$;
  6578. 						mes "So you want to delete Set 3?";
  6579. 						next;
  6580. 						switch(select("Yes:No"))
  6581. 						{
  6582. 							case 1:
  6583. 								mes .NPCName$;
  6584. 								mes "Set deleted.";
  6585. 								set #LootSet3$, "";
  6586. 								set #AlootSet3ID1, 0;
  6587. 								set #AlootSet3ID2, 0;
  6588. 								set #AlootSet3ID3, 0;
  6589. 								set #AlootSet3ID4, 0;
  6590. 								set #AlootSet3ID5, 0;
  6591. 								set #AlootSet3ID6, 0;
  6592. 								set #AlootSet3ID7, 0;
  6593. 								set #AlootSet3ID8, 0;
  6594. 								set #AlootSet3ID9, 0;
  6595. 								set #AlootSet3ID10, 0;
  6596. 								set #AlootSet3ID11, 0;
  6597. 								set #AlootSet3ID12, 0;
  6598. 								set #AlootSet3ID13, 0;
  6599. 								set #AlootSet3ID14, 0;
  6600. 								set #AlootSet3ID15, 0;
  6601. 								set #AlootSet3ID16, 0;
  6602. 								set #AlootSet3ID17, 0;
  6603. 								set #AlootSet3ID18, 0;
  6604. 								set #AlootSet3ID19, 0;
  6605. 								set #AlootSet3ID20, 0;
  6606. 								set #AlootSet3ID21, 0;
  6607. 								set #AlootSet3ID22, 0;
  6608. 								set #AlootSet3ID23, 0;
  6609. 								set #AlootSet3ID24, 0;
  6610. 								set #AlootSet3ID25, 0;
  6611. 								set set_alootid, 0;
  6612. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6613. 								close;
  6614.  
  6615. 							case 2:
  6616. 								mes .NPCName$;
  6617. 								mes "Come back if you want to delete a Set.";
  6618. 								close;
  6619. 						}
  6620. 					} else {
  6621. 						mes .NPCName$;
  6622. 						mes "Sorry, but this Set is already empty.";
  6623. 						mes "Nothing to do here.";
  6624. 						close;
  6625. 					}
  6626.  
  6627. 				case 4:
  6628. 					if (#LootSet4$ != "")
  6629. 					{
  6630. 						mes .NPCName$;
  6631. 						mes "So you want to delete Set 4?";
  6632. 						next;
  6633. 						switch(select("Yes:No"))
  6634. 						{
  6635. 							case 1:
  6636. 								mes .NPCName$;
  6637. 								mes "Set deleted.";
  6638. 								set #LootSet4$, "";
  6639. 								set #AlootSet4ID1, 0;
  6640. 								set #AlootSet4ID2, 0;
  6641. 								set #AlootSet4ID3, 0;
  6642. 								set #AlootSet4ID4, 0;
  6643. 								set #AlootSet4ID5, 0;
  6644. 								set #AlootSet4ID6, 0;
  6645. 								set #AlootSet4ID7, 0;
  6646. 								set #AlootSet4ID8, 0;
  6647. 								set #AlootSet4ID9, 0;
  6648. 								set #AlootSet4ID10, 0;
  6649. 								set #AlootSet4ID11, 0;
  6650. 								set #AlootSet4ID12, 0;
  6651. 								set #AlootSet4ID13, 0;
  6652. 								set #AlootSet4ID14, 0;
  6653. 								set #AlootSet4ID15, 0;
  6654. 								set #AlootSet4ID16, 0;
  6655. 								set #AlootSet4ID17, 0;
  6656. 								set #AlootSet4ID18, 0;
  6657. 								set #AlootSet4ID19, 0;
  6658. 								set #AlootSet4ID20, 0;
  6659. 								set #AlootSet4ID21, 0;
  6660. 								set #AlootSet4ID22, 0;
  6661. 								set #AlootSet4ID23, 0;
  6662. 								set #AlootSet4ID24, 0;
  6663. 								set #AlootSet4ID25, 0;
  6664. 								set set_alootid, 0;
  6665. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6666. 								close;
  6667.  
  6668. 							case 2:
  6669. 								mes .NPCName$;
  6670. 								mes "Come back if you want to delete a Set.";
  6671. 								close;
  6672. 						}
  6673. 					} else {
  6674. 						mes .NPCName$;
  6675. 						mes "Sorry, but this Set is already empty.";
  6676. 						mes "Nothing to do here.";
  6677. 						close;
  6678. 					}
  6679.  
  6680. 				case 5:
  6681. 					if (#LootSet5$ != "")
  6682. 					{
  6683. 						mes .NPCName$;
  6684. 						mes "So you want to delete Set 5?";
  6685. 						next;
  6686. 						switch(select("Yes:No"))
  6687. 						{
  6688. 							case 1:
  6689. 								mes .NPCName$;
  6690. 								mes "Set deleted.";
  6691. 								set #LootSet5$, "";
  6692. 								set #AlootSet5ID1, 0;
  6693. 								set #AlootSet5ID2, 0;
  6694. 								set #AlootSet5ID3, 0;
  6695. 								set #AlootSet5ID4, 0;
  6696. 								set #AlootSet5ID5, 0;
  6697. 								set #AlootSet5ID6, 0;
  6698. 								set #AlootSet5ID7, 0;
  6699. 								set #AlootSet5ID8, 0;
  6700. 								set #AlootSet5ID9, 0;
  6701. 								set #AlootSet5ID10, 0;
  6702. 								set #AlootSet5ID11, 0;
  6703. 								set #AlootSet5ID12, 0;
  6704. 								set #AlootSet5ID13, 0;
  6705. 								set #AlootSet5ID14, 0;
  6706. 								set #AlootSet5ID15, 0;
  6707. 								set #AlootSet5ID16, 0;
  6708. 								set #AlootSet5ID17, 0;
  6709. 								set #AlootSet5ID18, 0;
  6710. 								set #AlootSet5ID19, 0;
  6711. 								set #AlootSet5ID20, 0;
  6712. 								set #AlootSet5ID21, 0;
  6713. 								set #AlootSet5ID22, 0;
  6714. 								set #AlootSet5ID23, 0;
  6715. 								set #AlootSet5ID24, 0;
  6716. 								set #AlootSet5ID25, 0;
  6717. 								set set_alootid, 0;
  6718. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6719. 								close;
  6720.  
  6721. 							case 2:
  6722. 								mes .NPCName$;
  6723. 								mes "Come back if you want to delete a Set.";
  6724. 								close;
  6725. 						}
  6726. 					} else {
  6727. 						mes .NPCName$;
  6728. 						mes "Sorry, but this Set is already empty.";
  6729. 						mes "Nothing to do here.";
  6730. 						close;
  6731. 					}
  6732.  
  6733. 					case 6:
  6734. 					if (#LootSet6$ != "")
  6735. 					{
  6736. 						mes .NPCName$;
  6737. 						mes "So you want to delete Set 6?";
  6738. 						next;
  6739. 						switch(select("Yes:No"))
  6740. 						{
  6741. 							case 1:
  6742. 								mes .NPCName$;
  6743. 								mes "Set deleted.";
  6744. 								set #LootSet6$, "";
  6745. 								set #AlootSet6ID1, 0;
  6746. 								set #AlootSet6ID2, 0;
  6747. 								set #AlootSet6ID3, 0;
  6748. 								set #AlootSet6ID4, 0;
  6749. 								set #AlootSet6ID5, 0;
  6750. 								set #AlootSet6ID6, 0;
  6751. 								set #AlootSet6ID7, 0;
  6752. 								set #AlootSet6ID8, 0;
  6753. 								set #AlootSet6ID9, 0;
  6754. 								set #AlootSet6ID10, 0;
  6755. 								set #AlootSet6ID11, 0;
  6756. 								set #AlootSet6ID12, 0;
  6757. 								set #AlootSet6ID13, 0;
  6758. 								set #AlootSet6ID14, 0;
  6759. 								set #AlootSet6ID15, 0;
  6760. 								set #AlootSet6ID16, 0;
  6761. 								set #AlootSet6ID17, 0;
  6762. 								set #AlootSet6ID18, 0;
  6763. 								set #AlootSet6ID19, 0;
  6764. 								set #AlootSet6ID20, 0;
  6765. 								set #AlootSet6ID21, 0;
  6766. 								set #AlootSet6ID22, 0;
  6767. 								set #AlootSet6ID23, 0;
  6768. 								set #AlootSet6ID24, 0;
  6769. 								set #AlootSet6ID25, 0;
  6770. 								set set_alootid, 0;
  6771. 								mes "I also toggled the alootid off. Please enable it again and choose a new set.";
  6772. 								close;
  6773.  
  6774. 							case 2:
  6775. 								mes .NPCName$;
  6776. 								mes "Come back if you want to delete a Set.";
  6777. 								close;
  6778. 						}
  6779. 					} else {
  6780. 						mes .NPCName$;
  6781. 						mes "Sorry, but this Set is already empty.";
  6782. 						mes "Nothing to do here.";
  6783. 						close;
  6784. 					}
  6785. 			}
  6786.  
  6787. 		case 5:
  6788. 			mes .NPCName$;
  6789. 			mes "Come back if you want to change something.";
  6790. 			close;
  6791. 	}
  6792. 	close;
  6793.  
  6794. OnInit:
  6795. 	set .NPCName$, "^0000FF[Howard Alt-Eisen]^000000";
  6796. 	end;
  6797. 	}
  6798.  
  6799. -	script	Alootid	-1,{
  6800. OnPCLoginEvent:
  6801. 	if (set_alootid == 1)
  6802. 	{
  6803. 		switch(set_alootidnr)
  6804. 		{
  6805. 			case 1:
  6806. 				atcommand "@alootid +"+#AlootSet1ID1;
  6807. 				if (#AlootSet1ID2 != 0) { atcommand "@alootid +"+#AlootSet1ID2; }
  6808. 				if (#AlootSet1ID3 != 0) { atcommand "@alootid +"+#AlootSet1ID3; }
  6809. 				if (#AlootSet1ID4 != 0) { atcommand "@alootid +"+#AlootSet1ID4; }
  6810. 				if (#AlootSet1ID5 != 0) { atcommand "@alootid +"+#AlootSet1ID5; }
  6811. 				if (#AlootSet1ID6 != 0) { atcommand "@alootid +"+#AlootSet1ID6; }
  6812. 				if (#AlootSet1ID7 != 0) { atcommand "@alootid +"+#AlootSet1ID7; }
  6813. 				if (#AlootSet1ID8 != 0) { atcommand "@alootid +"+#AlootSet1ID8; }
  6814. 				if (#AlootSet1ID9 != 0) { atcommand "@alootid +"+#AlootSet1ID9; }
  6815. 				if (#AlootSet1ID10 != 0) { atcommand "@alootid +"+#AlootSet1ID10; }
  6816. 				if (#AlootSet1ID11 != 0) { atcommand "@alootid +"+#AlootSet1ID11; }
  6817. 				if (#AlootSet1ID12 != 0) { atcommand "@alootid +"+#AlootSet1ID12; }
  6818. 				if (#AlootSet1ID13 != 0) { atcommand "@alootid +"+#AlootSet1ID13; }
  6819. 				if (#AlootSet1ID14 != 0) { atcommand "@alootid +"+#AlootSet1ID14; }
  6820. 				if (#AlootSet1ID15 != 0) { atcommand "@alootid +"+#AlootSet1ID15; }
  6821. 				if (#AlootSet1ID16 != 0) { atcommand "@alootid +"+#AlootSet1ID16; }
  6822. 				if (#AlootSet1ID17 != 0) { atcommand "@alootid +"+#AlootSet1ID17; }
  6823. 				if (#AlootSet1ID18 != 0) { atcommand "@alootid +"+#AlootSet1ID18; }
  6824. 				if (#AlootSet1ID19 != 0) { atcommand "@alootid +"+#AlootSet1ID19; }
  6825. 				if (#AlootSet1ID20 != 0) { atcommand "@alootid +"+#AlootSet1ID20; }
  6826. 				if (#AlootSet1ID21 != 0) { atcommand "@alootid +"+#AlootSet1ID21; }
  6827. 				if (#AlootSet1ID22 != 0) { atcommand "@alootid +"+#AlootSet1ID22; }
  6828. 				if (#AlootSet1ID23 != 0) { atcommand "@alootid +"+#AlootSet1ID23; }
  6829. 				if (#AlootSet1ID24 != 0) { atcommand "@alootid +"+#AlootSet1ID24; }
  6830. 				if (#AlootSet1ID25 != 0) { atcommand "@alootid +"+#AlootSet1ID25; }
  6831.  
  6832. 				end;
  6833.  
  6834. 			case 2:
  6835. 				atcommand "@alootid +"+#AlootSet2ID1;
  6836. 				if (#AlootSet2ID2 != 0) { atcommand "@alootid +"+#AlootSet2ID2; }
  6837. 				if (#AlootSet2ID3 != 0) { atcommand "@alootid +"+#AlootSet2ID3; }
  6838. 				if (#AlootSet2ID4 != 0) { atcommand "@alootid +"+#AlootSet2ID4; }
  6839. 				if (#AlootSet2ID5 != 0) { atcommand "@alootid +"+#AlootSet2ID5; }
  6840. 				if (#AlootSet2ID6 != 0) { atcommand "@alootid +"+#AlootSet2ID6; }
  6841. 				if (#AlootSet2ID7 != 0) { atcommand "@alootid +"+#AlootSet2ID7; }
  6842. 				if (#AlootSet2ID8 != 0) { atcommand "@alootid +"+#AlootSet2ID8; }
  6843. 				if (#AlootSet2ID9 != 0) { atcommand "@alootid +"+#AlootSet2ID9; }
  6844. 				if (#AlootSet2ID10 != 0) { atcommand "@alootid +"+#AlootSet2ID10; }
  6845. 				if (#AlootSet2ID11 != 0) { atcommand "@alootid +"+#AlootSet2ID11; }
  6846. 				if (#AlootSet2ID12 != 0) { atcommand "@alootid +"+#AlootSet2ID12; }
  6847. 				if (#AlootSet2ID13 != 0) { atcommand "@alootid +"+#AlootSet2ID13; }
  6848. 				if (#AlootSet2ID14 != 0) { atcommand "@alootid +"+#AlootSet2ID14; }
  6849. 				if (#AlootSet2ID15 != 0) { atcommand "@alootid +"+#AlootSet2ID15; }
  6850. 				if (#AlootSet2ID16 != 0) { atcommand "@alootid +"+#AlootSet2ID16; }
  6851. 				if (#AlootSet2ID17 != 0) { atcommand "@alootid +"+#AlootSet2ID17; }
  6852. 				if (#AlootSet2ID18 != 0) { atcommand "@alootid +"+#AlootSet2ID18; }
  6853. 				if (#AlootSet2ID19 != 0) { atcommand "@alootid +"+#AlootSet2ID19; }
  6854. 				if (#AlootSet2ID20 != 0) { atcommand "@alootid +"+#AlootSet2ID20; }
  6855. 				if (#AlootSet2ID21 != 0) { atcommand "@alootid +"+#AlootSet2ID21; }
  6856. 				if (#AlootSet2ID22 != 0) { atcommand "@alootid +"+#AlootSet2ID22; }
  6857. 				if (#AlootSet2ID23 != 0) { atcommand "@alootid +"+#AlootSet2ID23; }
  6858. 				if (#AlootSet2ID24 != 0) { atcommand "@alootid +"+#AlootSet2ID24; }
  6859. 				if (#AlootSet2ID25 != 0) { atcommand "@alootid +"+#AlootSet2ID25; }
  6860. 				end;
  6861.  
  6862. 			case 3:
  6863. 				atcommand "@alootid +"+#AlootSet3ID1;
  6864. 				if (#AlootSet3ID2 != 0) { atcommand "@alootid +"+#AlootSet3ID2; }
  6865. 				if (#AlootSet3ID3 != 0) { atcommand "@alootid +"+#AlootSet3ID3; }
  6866. 				if (#AlootSet3ID4 != 0) { atcommand "@alootid +"+#AlootSet3ID4; }
  6867. 				if (#AlootSet3ID5 != 0) { atcommand "@alootid +"+#AlootSet3ID5; }
  6868. 				if (#AlootSet3ID6 != 0) { atcommand "@alootid +"+#AlootSet3ID6; }
  6869. 				if (#AlootSet3ID7 != 0) { atcommand "@alootid +"+#AlootSet3ID7; }
  6870. 				if (#AlootSet3ID8 != 0) { atcommand "@alootid +"+#AlootSet3ID8; }
  6871. 				if (#AlootSet3ID9 != 0) { atcommand "@alootid +"+#AlootSet3ID9; }
  6872. 				if (#AlootSet3ID10 != 0) { atcommand "@alootid +"+#AlootSet3ID10; }
  6873. 				if (#AlootSet3ID11 != 0) { atcommand "@alootid +"+#AlootSet3ID11; }
  6874. 				if (#AlootSet3ID12 != 0) { atcommand "@alootid +"+#AlootSet3ID12; }
  6875. 				if (#AlootSet3ID13 != 0) { atcommand "@alootid +"+#AlootSet3ID13; }
  6876. 				if (#AlootSet3ID14 != 0) { atcommand "@alootid +"+#AlootSet3ID14; }
  6877. 				if (#AlootSet3ID15 != 0) { atcommand "@alootid +"+#AlootSet3ID15; }
  6878. 				if (#AlootSet3ID16 != 0) { atcommand "@alootid +"+#AlootSet3ID16; }
  6879. 				if (#AlootSet3ID17 != 0) { atcommand "@alootid +"+#AlootSet3ID17; }
  6880. 				if (#AlootSet3ID18 != 0) { atcommand "@alootid +"+#AlootSet3ID18; }
  6881. 				if (#AlootSet3ID19 != 0) { atcommand "@alootid +"+#AlootSet3ID19; }
  6882. 				if (#AlootSet3ID20 != 0) { atcommand "@alootid +"+#AlootSet3ID20; }
  6883. 				if (#AlootSet3ID21 != 0) { atcommand "@alootid +"+#AlootSet3ID21; }
  6884. 				if (#AlootSet3ID22 != 0) { atcommand "@alootid +"+#AlootSet3ID22; }
  6885. 				if (#AlootSet3ID23 != 0) { atcommand "@alootid +"+#AlootSet3ID23; }
  6886. 				if (#AlootSet3ID24 != 0) { atcommand "@alootid +"+#AlootSet3ID24; }
  6887. 				if (#AlootSet3ID25 != 0) { atcommand "@alootid +"+#AlootSet3ID25; }
  6888. 				end;
  6889.  
  6890. 			case 4:
  6891. 				atcommand "@alootid +"+#AlootSet4ID1;
  6892. 				if (#AlootSet4ID2 != 0) { atcommand "@alootid +"+#AlootSet4ID2; }
  6893. 				if (#AlootSet4ID3 != 0) { atcommand "@alootid +"+#AlootSet4ID3; }
  6894. 				if (#AlootSet4ID4 != 0) { atcommand "@alootid +"+#AlootSet4ID4; }
  6895. 				if (#AlootSet4ID5 != 0) { atcommand "@alootid +"+#AlootSet4ID5; }
  6896. 				if (#AlootSet4ID6 != 0) { atcommand "@alootid +"+#AlootSet4ID6; }
  6897. 				if (#AlootSet4ID7 != 0) { atcommand "@alootid +"+#AlootSet4ID7; }
  6898. 				if (#AlootSet4ID8 != 0) { atcommand "@alootid +"+#AlootSet4ID8; }
  6899. 				if (#AlootSet4ID9 != 0) { atcommand "@alootid +"+#AlootSet4ID9; }
  6900. 				if (#AlootSet4ID10 != 0) { atcommand "@alootid +"+#AlootSet4ID10; }
  6901. 				if (#AlootSet4ID11 != 0) { atcommand "@alootid +"+#AlootSet4ID11; }
  6902. 				if (#AlootSet4ID12 != 0) { atcommand "@alootid +"+#AlootSet4ID12; }
  6903. 				if (#AlootSet4ID13 != 0) { atcommand "@alootid +"+#AlootSet4ID13; }
  6904. 				if (#AlootSet4ID14 != 0) { atcommand "@alootid +"+#AlootSet4ID14; }
  6905. 				if (#AlootSet4ID15 != 0) { atcommand "@alootid +"+#AlootSet4ID15; }
  6906. 				if (#AlootSet4ID16 != 0) { atcommand "@alootid +"+#AlootSet4ID16; }
  6907. 				if (#AlootSet4ID17 != 0) { atcommand "@alootid +"+#AlootSet4ID17; }
  6908. 				if (#AlootSet4ID18 != 0) { atcommand "@alootid +"+#AlootSet4ID18; }
  6909. 				if (#AlootSet4ID19 != 0) { atcommand "@alootid +"+#AlootSet4ID19; }
  6910. 				if (#AlootSet4ID20 != 0) { atcommand "@alootid +"+#AlootSet4ID20; }
  6911. 				if (#AlootSet4ID21 != 0) { atcommand "@alootid +"+#AlootSet4ID21; }
  6912. 				if (#AlootSet4ID22 != 0) { atcommand "@alootid +"+#AlootSet4ID22; }
  6913. 				if (#AlootSet4ID23 != 0) { atcommand "@alootid +"+#AlootSet4ID23; }
  6914. 				if (#AlootSet4ID24 != 0) { atcommand "@alootid +"+#AlootSet4ID24; }
  6915. 				if (#AlootSet4ID25 != 0) { atcommand "@alootid +"+#AlootSet4ID25; }
  6916. 				end;
  6917.  
  6918. 			case 5:
  6919. 				atcommand "@alootid +"+#AlootSet5ID1;
  6920. 				if (#AlootSet5ID2 != 0) { atcommand "@alootid +"+#AlootSet5ID2; }
  6921. 				if (#AlootSet5ID3 != 0) { atcommand "@alootid +"+#AlootSet5ID3; }
  6922. 				if (#AlootSet5ID4 != 0) { atcommand "@alootid +"+#AlootSet5ID4; }
  6923. 				if (#AlootSet5ID5 != 0) { atcommand "@alootid +"+#AlootSet5ID5; }
  6924. 				if (#AlootSet5ID6 != 0) { atcommand "@alootid +"+#AlootSet5ID6; }
  6925. 				if (#AlootSet5ID7 != 0) { atcommand "@alootid +"+#AlootSet5ID7; }
  6926. 				if (#AlootSet5ID8 != 0) { atcommand "@alootid +"+#AlootSet5ID8; }
  6927. 				if (#AlootSet5ID9 != 0) { atcommand "@alootid +"+#AlootSet5ID9; }
  6928. 				if (#AlootSet5ID10 != 0) { atcommand "@alootid +"+#AlootSet5ID10; }
  6929. 				if (#AlootSet5ID11 != 0) { atcommand "@alootid +"+#AlootSet5ID11; }
  6930. 				if (#AlootSet5ID12 != 0) { atcommand "@alootid +"+#AlootSet5ID12; }
  6931. 				if (#AlootSet5ID13 != 0) { atcommand "@alootid +"+#AlootSet5ID13; }
  6932. 				if (#AlootSet5ID14 != 0) { atcommand "@alootid +"+#AlootSet5ID14; }
  6933. 				if (#AlootSet5ID15 != 0) { atcommand "@alootid +"+#AlootSet5ID15; }
  6934. 				if (#AlootSet5ID16 != 0) { atcommand "@alootid +"+#AlootSet5ID16; }
  6935. 				if (#AlootSet5ID17 != 0) { atcommand "@alootid +"+#AlootSet5ID17; }
  6936. 				if (#AlootSet5ID18 != 0) { atcommand "@alootid +"+#AlootSet5ID18; }
  6937. 				if (#AlootSet5ID19 != 0) { atcommand "@alootid +"+#AlootSet5ID19; }
  6938. 				if (#AlootSet5ID20 != 0) { atcommand "@alootid +"+#AlootSet5ID20; }
  6939. 				if (#AlootSet5ID21 != 0) { atcommand "@alootid +"+#AlootSet5ID21; }
  6940. 				if (#AlootSet5ID22 != 0) { atcommand "@alootid +"+#AlootSet5ID22; }
  6941. 				if (#AlootSet5ID23 != 0) { atcommand "@alootid +"+#AlootSet5ID23; }
  6942. 				if (#AlootSet5ID24 != 0) { atcommand "@alootid +"+#AlootSet5ID24; }
  6943. 				if (#AlootSet5ID25 != 0) { atcommand "@alootid +"+#AlootSet5ID25; }
  6944. 				end;
  6945.  
  6946. 			case 6:
  6947. 				atcommand "@alootid +"+#AlootSet6ID1;
  6948. 				if (#AlootSet6ID2 != 0) { atcommand "@alootid +"+#AlootSet6ID2; }
  6949. 				if (#AlootSet6ID3 != 0) { atcommand "@alootid +"+#AlootSet6ID3; }
  6950. 				if (#AlootSet6ID4 != 0) { atcommand "@alootid +"+#AlootSet6ID4; }
  6951. 				if (#AlootSet6ID5 != 0) { atcommand "@alootid +"+#AlootSet6ID5; }
  6952. 				if (#AlootSet6ID6 != 0) { atcommand "@alootid +"+#AlootSet6ID6; }
  6953. 				if (#AlootSet6ID7 != 0) { atcommand "@alootid +"+#AlootSet6ID7; }
  6954. 				if (#AlootSet6ID8 != 0) { atcommand "@alootid +"+#AlootSet6ID8; }
  6955. 				if (#AlootSet6ID9 != 0) { atcommand "@alootid +"+#AlootSet6ID9; }
  6956. 				if (#AlootSet6ID10 != 0) { atcommand "@alootid +"+#AlootSet6ID10; }
  6957. 				if (#AlootSet6ID11 != 0) { atcommand "@alootid +"+#AlootSet6ID11; }
  6958. 				if (#AlootSet6ID12 != 0) { atcommand "@alootid +"+#AlootSet6ID12; }
  6959. 				if (#AlootSet6ID13 != 0) { atcommand "@alootid +"+#AlootSet6ID13; }
  6960. 				if (#AlootSet6ID14 != 0) { atcommand "@alootid +"+#AlootSet6ID14; }
  6961. 				if (#AlootSet6ID15 != 0) { atcommand "@alootid +"+#AlootSet6ID15; }
  6962. 				if (#AlootSet6ID16 != 0) { atcommand "@alootid +"+#AlootSet6ID16; }
  6963. 				if (#AlootSet6ID17 != 0) { atcommand "@alootid +"+#AlootSet6ID17; }
  6964. 				if (#AlootSet6ID18 != 0) { atcommand "@alootid +"+#AlootSet6ID18; }
  6965. 				if (#AlootSet6ID19 != 0) { atcommand "@alootid +"+#AlootSet6ID19; }
  6966. 				if (#AlootSet6ID20 != 0) { atcommand "@alootid +"+#AlootSet6ID20; }
  6967. 				if (#AlootSet6ID21 != 0) { atcommand "@alootid +"+#AlootSet6ID21; }
  6968. 				if (#AlootSet6ID22 != 0) { atcommand "@alootid +"+#AlootSet6ID22; }
  6969. 				if (#AlootSet6ID23 != 0) { atcommand "@alootid +"+#AlootSet6ID23; }
  6970. 				if (#AlootSet6ID24 != 0) { atcommand "@alootid +"+#AlootSet6ID24; }
  6971. 				if (#AlootSet6ID25 != 0) { atcommand "@alootid +"+#AlootSet6ID25; }
  6972. 				end;
  6973.  
  6974. 			default:
  6975. 				end; //Nothing to do here. :D
  6976. 		}
  6977. 	}
  6978. 	end;
  6979. }
Viewed 925 times, submitted by Guest.