GM Takumirai Posted August 8, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Share Posted August 8, 2012 (edited) //////////////////////////////////////////////////////////////////////////// ////Waiting Room Red Team/////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// quiz_01,52,182,3 script Red Team#01 467,{ end; OnInit: waitingroom "Waiting room 1",2,"Red Team#01::OnRoomFull",2; //Create a waitingroom enablewaitingroomevent; //Enable the event trigger for the waiting room end; OnRoomFull: if(!getwaitingroomstate(32,"Blue Team#01")) end; //Check if the other waiting room is full, if not end the script. donpcevent "Blue Team#01::OnRoomWarp"; //Warp the second room callsub OnRoomWarp; //Warp this room. end; OnRoomWarp: doevent "teamwar::OnSubscriptionTeam"; warpwaitingpc "guild_vs3",14,51; end; } //////////////////////////////////////////////////////////////////////////// ////Waiting Room Blue Team////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// quiz_01,220,368,3 script Blue Team#01 467,{ end; OnInit: waitingroom "Waiting room 2",2,"Blue Team#01::OnRoomFull",2; enablewaitingroomevent; end; OnRoomFull: if(!getwaitingroomstate(32,"Red Team#01")) end; donpcevent "Red Team#01::OnRoomWarp"; callsub OnRoomWarp; end; OnRoomWarp: doevent "teamwar::OnSubscriptionTeam"; warpwaitingpc "guild_vs3",84,51; end; } i have an error in this line script error on npc/rAthena/party-vs-party.txt line 225 parse_line: expect command, missing function name or calling undeclared function 220 : end; 221 : 222 : //////////////////////////////////////////////////////////////////////////// 223 : ////Waiting Room Red Team/////////////////////////////////////////////////// 224 : //////////////////////////////////////////////////////////////////////////// * 225 : 'q'uiz_01,52,182,3 script Red Team#01 467,{ 226 : end; - also if room 1 is full and room 2 is full they don't warp the players inside the waiting room to their designated warp area - can someone fix it thanks.. - i will share my party v.s. party event when its done - to contribute in rAthena.. thanks Edited August 9, 2012 by GM Takumirai Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 8, 2012 show your full script ...... Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted August 8, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted August 8, 2012 (edited) thanks Emistry Help me with my full script //===== rAthena Script ======================================= //= Party v.s. Party //===== By: ================================================== //===== Current Version: ===================================== //= v.0.1 //===== Compatible With: ===================================== //= rAthena/eAthena //===== Description: ========================================= //= This is a Party War Event. //===== Additional Comments: ================================= //= Thanks to eAthena and rAthena for some script. //============================================================ prontera,157,187,4 script Team Wars::teamwar 899,{ if (getgmlevel() >= 99){ menu "standard menu",-,"reset",lend; } getpartymember(getcharid(1)); set @partymembercount,$@partymembercount; if ( $@start==1) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( @partymembercount==$@members) { if ($@TeamID1==getcharid(1)) { // here should be a check for the party leader ;O mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 1 : [ " + getpartyname($@TeamID1) + " ] has sign out. We need another Party to sign up now!",bc_yellow|bc_map; set $@TeamID1, 0; close; } if ($@TeamID2==getcharid(1)) { // here should be a check for the party leader ;O mes "Do you wish to sign out your team?"; next; if (select("I Give up ~.","Never Say Quit !!")==2) close; announce "Team 2 : [ " + getpartyname($@TeamID2) + " ] has sign out. We need another Party to sign up now!",bc_yellow|bc_map; set $@TeamID2, 0; close; } mes "Hello "+strcharinfo(0)+" what do you want?"; if ($@TeamID1 != 0 && $@TeamID2 != 0) { mes "The Sign Ups are currently unavailable because a match is in progress. Don't hesitate to try again in a few minutes!"; close; } if ( getpartyleader(getcharid(1),2) != getcharid(0) ) { mes "Only party leader have the right to sign up / out from the game with me.."; close; } mes "Choose your team to register."; switch(select("Red Team - [" + GetPartyName($@TeamID1) + "] :Blue Team - [" + GetPartyName($@TeamID2) + "]")) { case 1: mes "[ Red Team ]"; if ($@TeamID1==0 || getpartyname($@TeamID1)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt1[0],$@partymembercid[0],$@members; copyarray $@partymemberaid1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaid1[.@i],$@partymembercidt1[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } set $@TeamID1, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 1 : [ " +getpartyname($@TeamID1)+ " ] has sign up For the Team War!",bc_blue|bc_map; doevent "teamwar::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } case 2: mes "[ Blue Team ]"; if ($@TeamID2==0 || getpartyname($@TeamID2)=="null") { getpartymember(getcharid(1)),1; getpartymember(getcharid(1)),2; copyarray $@partymembercidt2[0],$@partymembercid[0],$@members; copyarray $@partymemberaid2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaid2[.@i],$@partymembercidt2[.@i])) set .@count,.@count+1; } if(.@count < $@members) { mes "You need all your party members to be online to Register"; close; } set $@TeamID2, getcharid(1); initnpctimer; mes "Your Party is now subscribed, good luck!"; announce "Team 2 : [ " +getpartyname($@TeamID2)+ " ] has sign up For the Team War!",bc_blue|bc_map; doevent "teamwar::OnSubscriptionTeam"; close; } else { mes "I'm sorry! Another Team has sign up before you..."; close; } } } else { mes "[Event Handler]"; mes "Please contact your party leader."; mes "Your team must have a party consisting of "+$@members+" members."; close; } //////////////////////////////////////////////////////////////////////////// ////Checker Script////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// OnSubscriptionTeam: getpartymember($@TeamID2),1; getpartymember($@TeamID2),2; copyarray $@partymembercidtc2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc2[.@i],$@partymembercidtc2[.@i])) set .@countx,.@countx+1; } if(.@countx < $@members) { announce "Team War : "+getpartyname($@TeamID2)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; } getpartymember($@TeamID1),1; getpartymember($@TeamID1),2; copyarray $@partymembercidtc1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc1[.@i],$@partymembercidtc1[.@i])) set .@countz,.@countz+1; } if(.@countz < $@members) { announce "Team War : "+getpartyname($@TeamID1)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; } if($@TeamID1!=0 && $@TeamID2!=0){ announce "Team War : We have 2 Teams signed up now : "+getpartyname($@TeamID1)+" and "+getpartyname($@TeamID2)+".",bc_blue|bc_map; set @win1, 0; set @win2, 0; warpparty "quiz_01",64,183,$@TeamID1; warpparty "quiz_01",229,368,$@TeamID2; goto OnStart; end; } OnTimer50000: if (($@TeamID1!=0) && ($@TeamID2!=0)) { stopnpctimer; end; } stopnpctimer; set $@TeamID1, 0; set $@TeamID1, 0; announce "Team War : we lack teams to start registration for two teams are now available",0; end; //////////////////////////////////////////////////////////////////////////// ////On Start////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// OnStart: set $@start,1; goto OnPub; end; //////////////////////////////////////////////////////////////////////////// ////If Inside Pub Timer///////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// OnPub: announce "Team War : Please Enter the pub to warp inside the arena.",0; sleep2 10000; announce "Team War : [4 min.] Please Enter The Pub to warp inside the Arena.",0; sleep2 10000; announce "Team War : [3 min.] Please Enter The Pub to warp inside the Arena.",0; sleep2 10000; announce "Team War : [2 min.] Please Enter The Pub to warp inside the Arena.",0; sleep2 10000; announce "Team War : [1 min.] Checking Participants...",0; if(getmapusers("quiz_01") > 1) goto OnDQ; if(getmapusers("quiz_01") == 0) { sleep2 10000; announce "Team War: Lets Start in 5.",0; sleep2 5000; announce "Team War: 4",0; sleep2 4000; announce "Team War: 3",0; sleep2 3000; announce "Team War: 2",0; sleep2 2000; announce "Team War: 1",0; sleep2 1000; setcell "guild_vs3",80,55,80,44,cell_walkable,1; setcell "guild_vs3",19,55,19,44,cell_walkable,1; disablenpc "WALL#41"; disablenpc "WALL#42"; disablenpc "WALL#43"; disablenpc "WALL#44"; disablenpc "WALL#45"; disablenpc "WALL#46"; disablenpc "WALL#47"; disablenpc "WALL#48"; disablenpc "WALL#49"; disablenpc "WALL#50"; disablenpc "WALL#51"; disablenpc "WALL#52"; disablenpc "WALL#53"; disablenpc "WALL#54"; disablenpc "WALL#55"; disablenpc "WALL#56"; disablenpc "WALL#57"; disablenpc "WALL#58"; disablenpc "WALL#59"; disablenpc "WALL#60"; disablenpc "WALL#61"; disablenpc "WALL#62"; disablenpc "WALL#63"; disablenpc "WALL#64"; announce "Team War: Ready to Rumble",0; end; //////////////////////////////////////////////////////////////////////////// ////Waiting Room Red Team/////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// quiz_01,52,182,3 script Red Team#01 467,{ end; OnInit: waitingroom "Waiting room 1",2,"Red Team#01::OnRoomFull",2; //Create a waitingroom enablewaitingroomevent; //Enable the event trigger for the waiting room end; OnRoomFull: if(!getwaitingroomstate(32,"Blue Team#01")) end; //Check if the other waiting room is full, if not end the script. donpcevent "Blue Team#01::OnRoomWarp"; //Warp the second room callsub OnRoomWarp; //Warp this room. end; OnRoomWarp: doevent "teamwar::OnSubscriptionTeam"; warpwaitingpc "guild_vs3",14,51; end; } //////////////////////////////////////////////////////////////////////////// ////Waiting Room Blue Team////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// quiz_01,220,368,3 script Blue Team#01 467,{ end; OnInit: waitingroom "Waiting room 2",2,"Blue Team#01::OnRoomFull",2; enablewaitingroomevent; end; OnRoomFull: if(!getwaitingroomstate(32,"Red Team#01")) end; donpcevent "Red Team#01::OnRoomWarp"; callsub OnRoomWarp; end; OnRoomWarp: doevent "teamwar::OnSubscriptionTeam"; warpwaitingpc "guild_vs3",84,51; end; } //////////////////////////////////////////////////////////////////////////// ////If Disqualified///////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// OnDQ: announce "Team War : No Party won due to player still not Entering the Waiting Room.!",0; mapwarp "quiz_01","prontera",156,191; mapwarp "guild_vs3","prontera",156,191; stopnpctimer; set $@members,7; // number of party members change this to your party size you want set $@TeamID1,0; set $@TeamID2,0; set $@start,0; set .@win1,0; set .@win2,0; setcell "guild_vs3",19,55,19,44,cell_walkable,0; setcell "guild_vs3",80,55,80,44,cell_walkable,0; enablenpc "WALL#41"; enablenpc "WALL#42"; enablenpc "WALL#43"; enablenpc "WALL#44"; enablenpc "WALL#45"; enablenpc "WALL#46"; enablenpc "WALL#47"; enablenpc "WALL#48"; enablenpc "WALL#49"; enablenpc "WALL#50"; enablenpc "WALL#51"; enablenpc "WALL#52"; enablenpc "WALL#53"; enablenpc "WALL#54"; enablenpc "WALL#55"; enablenpc "WALL#56"; enablenpc "WALL#57"; enablenpc "WALL#58"; enablenpc "WALL#59"; enablenpc "WALL#60"; enablenpc "WALL#61"; enablenpc "WALL#62"; enablenpc "WALL#63"; enablenpc "WALL#64"; end; //////////////////////////////////////////////////////////////////////////// ////Arena End Script//////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// lend: stopnpctimer; set $@members,2; // Number of Party Members Change This in your party size.. - don't forget to change also the pub number size.. set $@TeamID1,0; set $@TeamID2,0; set $@start,0; set .@win1,0; set .@win2,0; setcell "guild_vs3",19,55,19,44,cell_walkable,0; setcell "guild_vs3",80,55,80,44,cell_walkable,0; enablenpc "WALL#41"; enablenpc "WALL#42"; enablenpc "WALL#43"; enablenpc "WALL#44"; enablenpc "WALL#45"; enablenpc "WALL#46"; enablenpc "WALL#47"; enablenpc "WALL#48"; enablenpc "WALL#49"; enablenpc "WALL#50"; enablenpc "WALL#51"; enablenpc "WALL#52"; enablenpc "WALL#53"; enablenpc "WALL#54"; enablenpc "WALL#55"; enablenpc "WALL#56"; enablenpc "WALL#57"; enablenpc "WALL#58"; enablenpc "WALL#59"; enablenpc "WALL#60"; enablenpc "WALL#61"; enablenpc "WALL#62"; enablenpc "WALL#63"; enablenpc "WALL#64"; announce "Thanks for playing",0; end; } //////////////////////////////////////////////////////////////////////////// ////Arena Timer Script////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// OnTimer250000: Announce "Team War : No Party won due to time limit!",0; mapwarp "guild_vs3","prontera",156,191; goto lend; OnPCKillEvent: getmapxy(.@map$,.@x,.@y,0); if(.@map$=="guild_vs3") { set .@guser, getmapguildusers("guild_vs3",getcharid(1)); if ( getcharid(1) == $@TeamID2 ) { if (.@guser) end; // Checks if 0 guild member of teamid2 left warpparty "prt_in",284,132,$@TeamID2; announce "Team War :"+GetPartyName($@TeamID2)+" won",0; goto lend; } if ( getcharid(1) == $@TeamID1 ) { if (.@guser) end; // Checks if 0 guild member of teamid1 left warpparty "prt_in",284,132,$@TeamID1; announce "Team War :"+GetPartyName($@TeamID1)+" won",0; goto lend; } } end; OnPCDieEvent: OnPCLogoutEvent: if(strcharinfo(3) != "guild_vs3") end; for(set .@i, 0; .@i < $@members; set .@i, .@i + 1) { if ( $@partymembercidt1[.@i] == getcharid(0)) { deletearray $@partymembercidt1[.@i], 1; if( getarraysize($@partymembercidt1) == 0 ) { // Team of Party 1 has been defeated goto T2Win; } } if ( $@partymembercidt2[.@i] == getcharid(0) ) { deletearray $@partymembercidt2[.@i], 1; if( getarraysize($@partymembercidt2) == 0 ) { // Team of Party 2 has been defeated goto T1Win; } } } end; //////////////////////////////////////////////////////////////////////////// ////Arena Wall////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// guild_vs3,19,55,0 script WALL#41 1905,{ guild_vs3,19,54,0 duplicate(WALL#41) WALL#42 1905 guild_vs3,19,53,0 duplicate(WALL#41) WALL#43 1905 guild_vs3,19,52,0 duplicate(WALL#41) WALL#44 1905 guild_vs3,19,51,0 duplicate(WALL#41) WALL#45 1905 guild_vs3,19,50,0 duplicate(WALL#41) WALL#46 1905 guild_vs3,19,49,0 duplicate(WALL#41) WALL#47 1905 guild_vs3,19,48,0 duplicate(WALL#41) WALL#48 1905 guild_vs3,19,47,0 duplicate(WALL#41) WALL#49 1905 guild_vs3,19,46,0 duplicate(WALL#41) WALL#50 1905 guild_vs3,19,45,0 duplicate(WALL#41) WALL#51 1905 guild_vs3,19,44,0 duplicate(WALL#41) WALL#52 1905 guild_vs3,80,55,0 duplicate(WALL#41) WALL#53 1905 guild_vs3,80,54,0 duplicate(WALL#41) WALL#54 1905 guild_vs3,80,53,0 duplicate(WALL#41) WALL#55 1905 guild_vs3,80,52,0 duplicate(WALL#41) WALL#56 1905 guild_vs3,80,51,0 duplicate(WALL#41) WALL#57 1905 guild_vs3,80,50,0 duplicate(WALL#41) WALL#58 1905 guild_vs3,80,49,0 duplicate(WALL#41) WALL#59 1905 guild_vs3,80,48,0 duplicate(WALL#41) WALL#60 1905 guild_vs3,80,47,0 duplicate(WALL#41) WALL#61 1905 guild_vs3,80,46,0 duplicate(WALL#41) WALL#62 1905 guild_vs3,80,45,0 duplicate(WALL#41) WALL#63 1905 guild_vs3,80,44,0 duplicate(WALL#41) WALL#64 1905 //////////////////////////////////////////////////////////////////////////// ////Winner Script/////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// T2Win: warpparty "prt_in",284,132,$@TeamID2; warpparty "prontera",156,191,$@TeamID1; announce "Team War :"+GetPartyName($@TeamID2)+" won",0; goto lend; T1Win: warpparty "prt_in",284,132,$@TeamID1; warpparty "prontera",156,191,$@TeamID2; announce "Team War :"+GetPartyName($@TeamID1)+" won",0; goto lend; } //////////////////////////////////////////////////////////////////////////// ////Map Flag//////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// guild_vs3 mapflag nosave guild_vs3 mapflag nomemo guild_vs3 mapflag nobranch guild_vs3 mapflag pvp_noguild guild_vs3 mapflag nocommand 99 guild_vs3 mapflag noicewall guild_vs3 mapflag pvp guild_vs3 mapflag nowarp 99 prt_in mapflag nosave prt_in mapflag nomemo prt_in mapflag nobranch prt_in mapflag pvp_noparty prt_in mapflag nocommand 99 prt_in mapflag nowarp 99 quiz_01 mapflag nosave quiz_01 mapflag nomemo quiz_01 mapflag nocommand 99 quiz_01 mapflag nowarp 99 //////////////////////////////////////////////////////////////////////////// ////Prize Giver///////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////// prt_in,289,135,0 script #prizegiver 111,5,5,{ //OnTouch2: OnTouch: getitem 909,rand(1,2); warp "prontera",156,196; close; } } - Emistry i also have a request can you modify the prize giver??.. Edited October 20, 2012 by GM Takumirai Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 8, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 8, 2012 http://pastebin.com/raw.php?i=i80AgqrF i didnt test it.. Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted August 8, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted August 8, 2012 (edited) Thanks Emistry Testing it... ----------------------- Another Error npc_parsesrcfile: Unknown syntax in file 'npc/rAthena/party-vs-party.txt', line '1'. Stopping... * w1=prontera,157,187,4 script Team Wars::teamwar 899,{ - wait let me check the tabbing.. - ok done tabbing - but i have another problem http://pastebin.com/0rHf5NnV - when clicking the NPC nothing happens/ i can't click the npc to register.. - no error in map-server i don't know what part of the script stopping it to run.. - i can't click the first part of NPC ~ Edited August 9, 2012 by GM Takumirai Quote Link to comment Share on other sites More sharing options...
trisomy 231 Posted August 22, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 12 Reputation: 2 Joined: 08/13/12 Last Seen: February 24, 2013 Share Posted August 22, 2012 (edited) http://pastebin.com/raw.php?i=i80AgqrF i didnt test it.. what's wrong with my npc..i can't click it here - shop Usable -1,12214:1,13894:3,13891:3,13892:3,13893:3,14232:1,12210:1,7776:1,13710:25,12103:10,13836:3,13837:3,13838:3,13839:3,13840:3,14087:3,14093:3 - shop Armors -1,2367:8,2383:18,2345:12,2347:18,2349:18,2351:18,2388:12,2382:30,2374:30,2375:30,2377:35,2378:35,2379:35,2380:35,2381:35,2370:35,2384:40,2376:60 - shop Cards -1,4441:40,4361:65,4399:30,4359:78,4145:35,4357:8,4365:18,4403:18,4427:5 - shop Headgears1 -1,5266:10,5286:12,5184:10,5372:18,5200:5,5311:10,5224:5,5225:8,5363:5,5360:12,5188:10,5359:10,5083:18,5479:15,5808:15,5379:15,5468:28,5483:25,5325:25,5393:25,5395:25,5288:20,5520:20,5463:32,5521:21,5378:18,5377:21,5361:28,5466:35,5373:18,5389:45,30011:18,30019:25,30020:25,5470:21,5401:21,5308:10,5423:15,5501:20,5800:20,30017:60,30018:60,30004:48,5805:45,5013:65,30006:65,5421:80,5495:85,5803:100,5498:85 - shop Garments -1,2543:75,2554:75,2540:12,2535:12,2539:20,2538:28,2537:45,2542:35 - shop Shields -1,2115:5,2130:5,2131:7,2119:5,2127:8 - shop Shoes -1,2437:12,2435:21,2436:21,2424:19,2410:35,2433:35,2423:65 - shop Accessories -1,2744:31,2630:9,2678:5,2679:5,2785:8,2629:21,2702:21,2729:12,2712:40,2733:21 - shop Weapons -1,13646:5,1424:5,13023:5,1736:5,1261:12,13017:12,1228:12,1728:12,1425:12,1419:12,1567:18,1977:18,1924:18,13034:18,13035:18,13412:18,13413:18,13166:18,2000:18,1633:21,1738:21,1565:30,1628:40,1530:30,13110:12,13176:21,13177:21,13178:21,13179:21,13171:21,1186:21,1637:21,1743:21,1635:25,1640:25,13305:25,13306:21,1310:38,1927:42,1981:42,1426:42 - shop Donate items -1,5305:1000,2703:5000,30024:5000,5374:1000,5518:1000,30029:5000,5471:1000,30802:1000,30803:1000,30805:1000 //================================================================== quiz_02,321,64,6 script Donation Shop 829,{ mes "[Donation Shop]"; mes "^4AA02C NOTE:^000000 if you try to BUY multiple items, only the 1st one will be bought. ^FF0000Discount Skills^000000 do not apply."; mes "All prices are in ^0000FFPODs^000000"; mes "^FF0000ITEMS ARE NON-REFUNDABLE^000000"; next; mes "[Donation Shop]"; mes "Choose Shop to begin viewing items in the ^808000Donation Shop^000000"; next; switch(select("Usable","Armors","Cards","Headgears","Garments","Shields","Shoes","Accessories","Weapons","Donate items")){ Case 1: close2; callshop "Usable",1; npcshopattach "Usable"; end; break; Case 2: close2; callshop "Armors",1; npcshopattach "Armors"; end; break; Case 3: close2; callshop "Cards",1; npcshopattach "Cards"; end; break; Case 4: close2; callshop "Headgears1",1; npcshopattach "Headgears1"; end; break; Case 5: close2; callshop "Garments",1; npcshopattach "Garments"; end; break; Case 6: close2; callshop "Shields",1; npcshopattach "Shields"; end; break; Case 7: close2; callshop "Shoes",1; npcshopattach "Shoes"; end; break; Case 8: close2; callshop "Accessories",1; npcshopattach "Accessories"; end; break; Case 9: close2; callshop "Weapons",1; npcshopattach "Weapons"; end; break; Case 10: close2; callshop "Donate items",1; npcshopattach "Donate items"; end; break; } OnBuyItem: for(set @i, 0; @i < getarraysize(@bought_nameid); set @i, @i + 1){ if(@bought_nameid[@i] == 12214){ if(countitem(7179) >= 1*@bought_quantity[@i]){ delitem 7179,1*@bought_quantity[@i]; getitem 12214, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13894){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13894, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13891){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13891, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13892){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13892, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13893){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13893, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 14232){ if(countitem(7179) >= 1*@bought_quantity[@i]){ delitem 7179,1*@bought_quantity[@i]; getitem 14232, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 12210){ if(countitem(7179) >= 1*@bought_quantity[@i]){ delitem 7179,1*@bought_quantity[@i]; getitem 12210, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 7776){ if(countitem(7179) >= 1*@bought_quantity[@i]){ delitem 7179,1*@bought_quantity[@i]; getitem 7776, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13710){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 13710, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 12103){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 12103, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13836){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13836, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13837){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13838, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13839){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13839, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13840){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 13840, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 14087){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 14087, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 14093){ if(countitem(7179) >= 3*@bought_quantity[@i]){ delitem 7179,3*@bought_quantity[@i]; getitem 14093, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2367){ if(countitem(7179) >= 8*@bought_quantity[@i]){ delitem 7179,8*@bought_quantity[@i]; getitem 2367, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2383){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 2383, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2345){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2345, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2347){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 2347, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2349){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 2349, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2351){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 2351, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2388){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2388, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2382){ if(countitem(7179) >=30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 2382, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2374){ if(countitem(7179) >= 30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 2374, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2375){ if(countitem(7179) >= 30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 2375, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2377){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2377, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2378){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2378, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2379){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2379, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2380){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2380, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2381){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2381, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2370){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2370, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2384){ if(countitem(7179) >= 40*@bought_quantity[@i]){ delitem 7179,40*@bought_quantity[@i]; getitem 2384, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2376){ if(countitem(7179) >= 60*@bought_quantity[@i]){ delitem 7179,60*@bought_quantity[@i]; getitem 2376, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4441){ if(countitem(7179) >= 40*@bought_quantity[@i]){ delitem 7179,40*@bought_quantity[@i]; getitem 4441, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; end; } } if(@bought_nameid[@i] == 4361){ if(countitem(7179) >= 65*@bought_quantity[@i]){ delitem 7179,65*@bought_quantity[@i]; getitem 4361, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4399){ if(countitem(7179) >= 30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 4399, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4359){ if(countitem(7179) >= 78*@bought_quantity[@i]){ delitem 7179,78*@bought_quantity[@i]; getitem 4359, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4145){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 4145, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4357){ if(countitem(7179) >= 8*@bought_quantity[@i]){ delitem 7179,8*@bought_quantity[@i]; getitem 4357, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4365){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 4365, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4403){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 4403, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 4427){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 4427, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5266){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5266, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5286){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 5286, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5184){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5184, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5372){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 5372, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5200){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 5200, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5311){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5311, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5224){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 5224, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5225){ if(countitem(7179) >= 8*@bought_quantity[@i]){ delitem 7179,8*@bought_quantity[@i]; getitem 5225, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5363){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 5363, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5360){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 5360, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5188){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5188, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5359){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5359, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5083){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 5083, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5479){ if(countitem(7179) >= 15*@bought_quantity[@i]){ delitem 7179,15*@bought_quantity[@i]; getitem 5479, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5808){ if(countitem(7179) >= 15*@bought_quantity[@i]){ delitem 7179,15*@bought_quantity[@i]; getitem 5808, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5379){ if(countitem(7179) >= 15*@bought_quantity[@i]){ delitem 7179,15*@bought_quantity[@i]; getitem 5379, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5468){ if(countitem(7179) >= 28*@bought_quantity[@i]){ delitem 7179,28*@bought_quantity[@i]; getitem 5468, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5483){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 5483, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5325){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 5325, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5393){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 5393, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5395){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 5395, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5288){ if(countitem(7179) >= 20*@bought_quantity[@i]){ delitem 7179,20*@bought_quantity[@i]; getitem 5288, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5520){ if(countitem(7179) >= 20*@bought_quantity[@i]){ delitem 7179,20*@bought_quantity[@i]; getitem 5520, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5463){ if(countitem(7179) >= 32*@bought_quantity[@i]){ delitem 7179,32*@bought_quantity[@i]; getitem 5463, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5521){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 5521, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5378){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 5378, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5377){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 5377, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5361){ if(countitem(7179) >= 28*@bought_quantity[@i]){ delitem 7179,28*@bought_quantity[@i]; getitem 5361, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5466){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 5466, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5373){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 5373, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5389){ if(countitem(7179) >= 45*@bought_quantity[@i]){ delitem 7179,45*@bought_quantity[@i]; getitem 5389, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30011){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 30011, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30019){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 30019, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30020){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 30020, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5470){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 5470, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5401){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 5401, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5308){ if(countitem(7179) >= 10*@bought_quantity[@i]){ delitem 7179,10*@bought_quantity[@i]; getitem 5308, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5423){ if(countitem(7179) >= 15*@bought_quantity[@i]){ delitem 7179,15*@bought_quantity[@i]; getitem 5423, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5501){ if(countitem(7179) >= 20*@bought_quantity[@i]){ delitem 7179,20*@bought_quantity[@i]; getitem 5501, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5800){ if(countitem(7179) >= 20*@bought_quantity[@i]){ delitem 7179,20*@bought_quantity[@i]; getitem 5800, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30017){ if(countitem(7179) >= 60*@bought_quantity[@i]){ delitem 7179,60*@bought_quantity[@i]; getitem 30017, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30018){ if(countitem(7179) >= 60*@bought_quantity[@i]){ delitem 7179,60*@bought_quantity[@i]; getitem 30018, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30004){ if(countitem(7179) >= 48*@bought_quantity[@i]){ delitem 7179,48*@bought_quantity[@i]; getitem 30004, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5805){ if(countitem(7179) >= 45*@bought_quantity[@i]){ delitem 7179,45*@bought_quantity[@i]; getitem 5805, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5013){ if(countitem(7179) >= 65*@bought_quantity[@i]){ delitem 7179,65*@bought_quantity[@i]; getitem 5013, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30006){ if(countitem(7179) >= 65*@bought_quantity[@i]){ delitem 7179,65*@bought_quantity[@i]; getitem 30006, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5421){ if(countitem(7179) >= 80*@bought_quantity[@i]){ delitem 7179,80*@bought_quantity[@i]; getitem 5421, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5495){ if(countitem(7179) >= 85*@bought_quantity[@i]){ delitem 7179,85*@bought_quantity[@i]; getitem 5495, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5803){ if(countitem(7179) >= 100*@bought_quantity[@i]){ delitem 7179,100*@bought_quantity[@i]; getitem 5803, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5498){ if(countitem(7179) >= 85*@bought_quantity[@i]){ delitem 7179,85*@bought_quantity[@i]; getitem 5498, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2543){ if(countitem(7179) >= 75*@bought_quantity[@i]){ delitem 7179,75*@bought_quantity[@i]; getitem 2543, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2554){ if(countitem(7179) >= 75*@bought_quantity[@i]){ delitem 7179,75*@bought_quantity[@i]; getitem 2554, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2540){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2540, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2535){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2535, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2539){ if(countitem(7179) >= 20*@bought_quantity[@i]){ delitem 7179,20*@bought_quantity[@i]; getitem 2539, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2538){ if(countitem(7179) >= 28*@bought_quantity[@i]){ delitem 7179,28*@bought_quantity[@i]; getitem 2538, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2537){ if(countitem(7179) >= 45*@bought_quantity[@i]){ delitem 7179,45*@bought_quantity[@i]; getitem 2537, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2542){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2542, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2115){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 2115, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2130){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 2130, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2131){ if(countitem(7179) >= 7*@bought_quantity[@i]){ delitem 7179,7*@bought_quantity[@i]; getitem 2131, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2119){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 2119, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2127){ if(countitem(7179) >= 8*@bought_quantity[@i]){ delitem 7179,8*@bought_quantity[@i]; getitem 2127, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2437){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2437, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2435){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 2435, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2436){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 2436, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2424){ if(countitem(7179) >= 19*@bought_quantity[@i]){ delitem 7179,19*@bought_quantity[@i]; getitem 2424, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2410){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2410, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2433){ if(countitem(7179) >= 35*@bought_quantity[@i]){ delitem 7179,35*@bought_quantity[@i]; getitem 2433, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2423){ if(countitem(7179) >= 65*@bought_quantity[@i]){ delitem 7179,65*@bought_quantity[@i]; getitem 2423, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2744 if(countitem(7179) >= 31*@bought_quantity[@i]){ delitem 7179,31*@bought_quantity[@i]; getitem 2744, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2630){ if(countitem(7179) >= 9*@bought_quantity[@i]){ delitem 7179,9*@bought_quantity[@i]; getitem 2630, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2678){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 2678, @bought_quantity[@i]; } else{ dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2679){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 2679, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2785){ if(countitem(7179) >= 8*@bought_quantity[@i]){ delitem 7179,8*@bought_quantity[@i]; getitem 2785, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2629){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 2629, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2702){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 2702, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2729){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 2729, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2712){ if(countitem(7179) >= 40*@bought_quantity[@i]){ delitem 7179,40*@bought_quantity[@i]; getitem 2712, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2733){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 2733, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13646){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 13646, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1424){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 1424, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13023){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 13023, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1736){ if(countitem(7179) >= 5*@bought_quantity[@i]){ delitem 7179,5*@bought_quantity[@i]; getitem 1736, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1261){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 1261, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13017){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 13017, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1228){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 1228, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1728){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 1728, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1425){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 1425, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1419){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 1419, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1567){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 1567, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1977){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 1977, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1924){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 1924, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13034){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 13034, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13035){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 13035, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13412){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 13412, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13413){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 13413, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13166){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 13166, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2000){ if(countitem(7179) >= 18*@bought_quantity[@i]){ delitem 7179,18*@bought_quantity[@i]; getitem 2000, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1633){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 1633, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1738){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 1738, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1565){ if(countitem(7179) >= 30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 1565, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1628){ if(countitem(7179) >= 40*@bought_quantity[@i]){ delitem 7179,40*@bought_quantity[@i]; getitem 1628, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1530){ if(countitem(7179) >= 30*@bought_quantity[@i]){ delitem 7179,30*@bought_quantity[@i]; getitem 1530, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13110){ if(countitem(7179) >= 12*@bought_quantity[@i]){ delitem 7179,12*@bought_quantity[@i]; getitem 13110, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13176){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13176, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13177){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13177, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13178){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13178, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13179){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13179, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13171){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13171, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1186){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 1186, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1637){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 1637, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1743){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 1743, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1635){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 1635, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1640){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 1640, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13305){ if(countitem(7179) >= 25*@bought_quantity[@i]){ delitem 7179,25*@bought_quantity[@i]; getitem 13305, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 13306){ if(countitem(7179) >= 21*@bought_quantity[@i]){ delitem 7179,21*@bought_quantity[@i]; getitem 13306, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1310){ if(countitem(7179) >= 38*@bought_quantity[@i]){ delitem 7179,38*@bought_quantity[@i]; getitem 1310, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1927){ if(countitem(7179) >= 42*@bought_quantity[@i]){ delitem 7179,42*@bought_quantity[@i]; getitem 1927, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 1981){ if(countitem(7179) >= 42*@bought_quantity[@i]){ delitem 7179,42*@bought_quantity[@i]; getitem 1981, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } }if(@bought_nameid[@i] == 1426){ if(countitem(7179) >= 42*@bought_quantity[@i]){ delitem 7179,42*@bought_quantity[@i]; getitem 1426, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5305){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 5305, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 2703){ if(countitem(7179) >= 5000*@bought_quantity[@i]){ delitem 7179,5000*@bought_quantity[@i]; getitem 2703, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30024){ if(countitem(7179) >= 5000*@bought_quantity[@i]){ delitem 7179,5000*@bought_quantity[@i]; getitem 30024, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5374){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 5374, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5518){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 5518, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30029){ if(countitem(7179) >= 5000*@bought_quantity[@i]){ delitem 7179,5000*@bought_quantity[@i]; getitem 30029, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 5471){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 5471, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30802){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 30802, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30803){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 30803, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } if(@bought_nameid[@i] == 30805){ if(countitem(7179) >= 1000*@bought_quantity[@i]){ delitem 7179,1000*@bought_quantity[@i]; getitem 30805, @bought_quantity[@i]; } else { dispbottom "Donation Shop : Insufficient PODs!"; mes "[Donation Shop]"; mes "Insufficient ^FF0000PODs^000000!!!"; mes "Please get some POD Ticket to Obtain this Item."; close; end; } } } deletearray @bought_quantity, getarraysize(@bought_quantity); deletearray @bought_nameid, getarraysize(@bought_nameid); dispbottom "Donation Shop : Trade successfuly done!"; end; OnInit: waitingroom "Donation Pods Item",0; npcshopitem "Usable", 12214,1,13894,3,13891,3,13892,3,13893,3,14232,1,12210,1,7776,1,13710,25,12103,10,13836,3,13837,3,13838,3,13839,3,13840,3,14087,3,14093,3; npcshopitem "Armors", 2367,8,2383,18,2345,12,2347,18,2349,18,2351,18,2388,12,2382,30,2374,30,2375,30,2377,35,2378,35,2379,35,2380,35,2381,35,2370,35,2384,40,2376,60; npcshopitem "Cards", 4441,40,4361,65,4399,30,4359,78,4145,35,4357,8,4365,18,4403,18,4427,5; npcshopitem "Headgears1", 5266,10,5286,12,5184,10,5372,18,5200,5,5311,10,5224,5,5225,8,5363,5,5360,12,5188,10,5359,10,5083,18,5479,15,5808,15,5379,15,5468,28,5483,25,5325,25,5393,25,5395,25,5288,20,5520,20,5463,32,5521,21,5378,18,5377,21,5361,28,5466,35,5373,18,5389,45,30011,18,30019,25,30020,25,5470,21,5401,21,5308,10,5423,15,5501,20,5800,20,30017,60,30018,60,30004,48,5805,45,5013,65,30006,65,5421,80,5495,85,5803,100,5498,85; npcshopitem "Garments", 2543,75,2554,75,2540,12,2535,12,2539,20,2538,28,2537,45,2542,35; npcshopitem "Shields", 2115,5,2130,5,2131,7,2119,5,2127,8; npcshopitem "Shoes", 2437,12,2435,21,2436,21,2424,19,2410,35,2433,35,2423,65; npcshopitem "Accessories", 2744,31,2630,9,2678,5,2679,5,2785,8,2629,21,2702,21,2729,12,2712,40,2733,21; npcshopitem "Weapons", 13646,5,1424,5,13023,5,1736,5,1261,12,13017,12,1228,12,1728,12,1425,12,1419,12,1567,18,1977,18,1924,18,13034,18,13035,18,13412,18,13413,18,13166,18,2000,18,1633,21,1738,21,1565,30,1628,40,1530,30,13110,12,13176,21,13177,21,13178,21,13179,21,13171,21,1186,21,1637,21,1743,21,1635,25,1640,25,13305,25,13306,21,1310,38,1927,42,1981,42,1426,42; npcshopitem "Donate items", 5305,1000,2703,5000,30024,5000,5374,1000,5518,1000,30029,5000,5471,1000,30802,1000,30803,1000,30805,1000; end; } //DUPLICATE DSHOP prontera,141,179,6 duplicate(Donation Shop) Donation Shop#2-1 829 alberta,50,249,3 duplicate(Donation Shop) Donation Shop#3-1 829 geffen,140,56,3 duplicate(Donation Shop) Donation Shop#4-1 829 izlude,122,122,3 duplicate(Donation Shop) Donation Shop#5-1 829 morocc,162,83,3 duplicate(Donation Shop) Donation Shop#6-1 829 payon,148,246,3 duplicate(Donation Shop) Donation Shop#7-1 829 prontera,166,91,3 duplicate(Donation Shop) Donation Shop#8-1 829 morocc,186,259,3 duplicate(Donation Shop) Donation Shop#9-1 829 Edited August 22, 2012 by Joseph Codebox-ed. Quote Link to comment Share on other sites More sharing options...
Emistry Posted August 22, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted August 22, 2012 @trisomy231 you should create your own post ~ and what error you get ? why not you just use those dynamic script that already available in the forum ? i believe those dynamic script that already available in forum is way better than your current script... you can try Euphy's Dynamic script or mine... https://rathena.org/board/index.php?/files/file/2504-%7B?%7D/ Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 20, 2012 I just want to bump this nred help please hope annie can fix it or euphy or gmocean Quote Link to comment Share on other sites More sharing options...
nanakiwurtz Posted October 20, 2012 Group: Members Topic Count: 81 Topics Per Day: 0.02 Content Count: 1654 Reputation: 583 Joined: 08/09/12 Last Seen: January 14, 2020 Share Posted October 20, 2012 GM Takumirai, why are you using 'if (getgmlevel() >= 99)' ? Why not > 98? or just = 99 ? AFAIK the highest gmlevel allowed is 99, if you're using >= 99, then you're assuming there's gmlevel 99, 100, 101, 102 and so on... Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 20, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 20, 2012 - when clicking the NPC nothing happens/ i can't click the npc to register..- no error in map-server[/b] i don't know what part of the script stopping it to run.. - i can't click the first part of NPC ~ [Error]: script:menu: argument #4 (from 1) is not a label or label not found.[Debug]: Data: variable name='lend' [Debug]: Source (NPC): Team Wars at prontera (157,187) and here's the error I gotif you use gm99 account, it tries to read lend label but you put lend: label inside another npc -> Blue Team#01 Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 20, 2012 i didn't understand it annie.. - hope you can revise it.. thanks for your response @annie i think your script in this topic http://rathena.org/board/topic/72372-bg-type-emperium-breaking/page__pid__145777#entry145777 - can also be used to make a party vs party pvp script although it use a battleground script.. but its good to use it.. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 20, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 20, 2012 the only reason you don't understand your own script because you rip it http://www.eathena.ws/board/index.php?s=&showtopic=270169 in the original script, all triggering function are in one npc, but you split it out ...... seriously, can't you even try to write on your own ? Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 20, 2012 Yes i admit it annie i just rip it and trying to fix the exploit of the script seen in eAthena.. - hope you release a party vs party script Quote Link to comment Share on other sites More sharing options...
Emistry Posted October 20, 2012 Group: Forum Moderator Topic Count: 93 Topics Per Day: 0.02 Content Count: 10018 Reputation: 2370 Joined: 10/28/11 Last Seen: Sunday at 05:32 PM Share Posted October 20, 2012 Yes i admit it annie i just rip it and trying to fix the exploit of the script seen in eAthena.. - hope you release a party vs party script what exploit ? O.o too bad...but annie wont release these script...because it's too simple for her ..... xD @annie ~ ~~ warming up for script frenzy mode ~~ ~emistry and gmocean, you both better watch out ! LOL....xD Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 20, 2012 if team leader AA register to Red Team compose of 6, then he will invite another 1 member but the member will not yet accept the party invite.. - then after registration he will accept the invite.. if team leader BB register to Blue Team then the 2 team will be warp but the problem is it will be 7vs 6 suppostedly 6v6 Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 20, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 20, 2012 (edited) I don't mind writing more event script if you have some outstanding idea like this one http://rathena.org/board/topic/72259-wow-battlegrounds-into-ro/page__p__145102#entry145102 if its not interesting its not worth my time to write ... I can easily say I made more than 20 or 30 pvp/gvg scripts in the past ( yeah its too easy now ) just make a decent topic in script request and explain as much as possible so you'll attract people who interested to script it hmm ... u know I'm also interested in reviving this one http://www.eathena.ws/board/index.php?showtopic=269206 EDIT: suddenly your post pop out, is that a new request ? or a bug on your script ? Edited October 20, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 20, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 20, 2012 @annie http://www.eathena.ws/board/index.php?s=&showtopic=270169 = there was a problem on this script if party leader team A already have 6 member and invite another 1 member, but the 1 member will not yet accept the invitation.. - then the party leader go to the registration after registration the NPC will register team A as Red Team.. = so the total of team A will be 7 and it suppose to be 6 vs 6 only.. hope you understand what i mean @annie i like the idea of WoW hope you will finish it.. ill support that project .. thanks Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 20, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 20, 2012 (edited) LOL it took me 2 hours to figure out, shame on myself ! the reason behind is this script only checks the count of party member on the beginning of the script if ( @partymembercount==$@members) { however this check doesn't perform inside OnSubscriptionTeam: label damn, always learn something new, my old pvp/gvg script most probably also having this problem ... nvm I'm not working on any server anymore and hopes nobody complain =/ OnSubscriptionTeam: getpartymember($@TeamID2),1; getpartymember($@TeamID2),2; [b]if ( $@partymembercount != $@members ) { announce "Team War : party member count does not match !", 0; goto lend; }[/b] copyarray $@partymembercidtc2[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc2[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc2[.@i],$@partymembercidtc2[.@i])) set .@countx,.@countx+1; } if(.@countx < $@members) { announce "Team War : "+getpartyname($@TeamID2)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; close; } getpartymember($@TeamID1),1; getpartymember($@TeamID1),2; [b]if ( $@partymembercount != $@members ) { announce "Team War : party member count does not match !", 0; goto lend; }[/b] copyarray $@partymembercidtc1[0],$@partymembercid[0],$@members; copyarray $@partymemberaidc1[0],$@partymemberaid[0],$@members; for (set .@i,0; .@i<$@members; set .@i,.@i+1) { if(isloggedin($@partymemberaidc1[.@i],$@partymembercidtc1[.@i])) set .@countz,.@countz+1; } if(.@countz < $@members) { announce "Team War : "+getpartyname($@TeamID1)+"are not all online the match has been canceled",0; announce "Team War : registration for 2 new teams are now available",0; goto lend; close; } seems the highlighting doesn't work anyway its simple fix, add the stuff I did with "" and "[/b.]" right below getpartymember($@TeamID2),2; and getpartymember($@TeamID1),2; Edited October 20, 2012 by AnnieRuru Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 21, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 21, 2012 Thanks Annie, annie another suggestion how would i make it that the winner will automatically get the prize, because hiding a npc might be abuse by other GM.. Quote Link to comment Share on other sites More sharing options...
AnnieRuru Posted October 21, 2012 Group: Members Topic Count: 18 Topics Per Day: 0.00 Content Count: 2044 Reputation: 682 Joined: 10/09/12 Last Seen: December 20, 2020 Share Posted October 21, 2012 party vs party.txt 1 Quote Link to comment Share on other sites More sharing options...
GM Takumirai Posted October 21, 2012 Group: Members Topic Count: 69 Topics Per Day: 0.01 Content Count: 592 Reputation: 31 Joined: 11/14/11 Last Seen: July 29, 2015 Author Share Posted October 21, 2012 Thanks annie /lv Quote Link to comment Share on other sites More sharing options...
xx_paul_2013_xx Posted January 19, 2013 Group: Members Topic Count: 0 Topics Per Day: 0 Content Count: 4 Reputation: 0 Joined: 06/17/12 Last Seen: April 7, 2018 Share Posted January 19, 2013 I'm getting script error script: jump_zero: not label ! on the file AnnieRuru uploaded using rAthena 16328 Quote Link to comment Share on other sites More sharing options...
icabit Posted January 19, 2013 Group: Members Topic Count: 28 Topics Per Day: 0.01 Content Count: 353 Reputation: 70 Joined: 07/14/12 Last Seen: February 12, 2023 Share Posted January 19, 2013 (edited) omg i feel responsible for this >.> this is my kinda like my old topic http://www.eathena.w...howtopic=270169 ok time to create my own fix and mod thx annie xD Edited January 19, 2013 by icabit Quote Link to comment Share on other sites More sharing options...
karazu Posted November 15, 2013 Group: Members Topic Count: 57 Topics Per Day: 0.01 Content Count: 374 Reputation: 5 Joined: 03/09/12 Last Seen: June 19, 2018 Share Posted November 15, 2013 any update? Quote Link to comment Share on other sites More sharing options...
rhay18 Posted February 25, 2014 Group: Members Topic Count: 3 Topics Per Day: 0.00 Content Count: 16 Reputation: 0 Joined: 10/18/12 Last Seen: May 22, 2014 Share Posted February 25, 2014 http://pastebin.com/raw.php?i=i80AgqrF i didnt test it.. why i can't talk the npc?? what i need to do? any new update about here? Quote Link to comment Share on other sites More sharing options...
c2greentea Posted July 10, 2014 Group: Members Topic Count: 68 Topics Per Day: 0.02 Content Count: 173 Reputation: 0 Joined: 06/07/14 Last Seen: December 17, 2014 Share Posted July 10, 2014 How to add prize for losing party? And also, how to make it enabled only at a specific time? So if its not enabled, the npc will just say check back at these ff opening times? Willing to tip please! Quote Link to comment Share on other sites More sharing options...
Question
GM Takumirai
i have an error in this line
- also if room 1 is full and room 2 is full they don't warp the players inside the waiting room to their designated warp area
- can someone fix it thanks..
- i will share my party v.s. party event when its done - to contribute in rAthena.. thanks
Edited by GM TakumiraiLink to comment
Share on other sites
25 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.