Jump to content

J0hn

Members
  • Posts

    7
  • Joined

  • Last visited

Everything posted by J0hn

  1. prontera,150,180,4 script QuestNPC 1002,{ mes "Hello adventurer! Do you want to complete a mission?"; if (getquest(9000) == -1) { mes "First, I need you to bring me some items."; if (countitem(607) >= 10 && countitem(501) >= 10) { mes "Great! You brought the required items."; delitem 607,10; delitem 501,10; setquest 9000; } else { mes "Bring me 10 Yggdrasil Berry and 10 Red Potions."; close; } } mes "Now you can choose one of the missions!"; set .@menu, select("Mission 1:Mission 2:Exit"); if (.@menu == 1) { if (countitem(607) >= 10 && countitem(4145) >= 1) { mes "Well done! Here is your reward."; delitem 607,10; delitem 4145,1; getitem 18200,1; } else { mes "You need to bring 10 Yggdrasil Berry and 1 GTB Card."; } } else if (.@menu == 2) { if (countitem(607) >= 10 && countitem(501) >= 10 && countitem(969) >= 10) { mes "Great job! Take your reward."; delitem 607,10; delitem 501,10; delitem 969,10; getitem 18201,1; } else { mes "You need to bring 10 Yggdrasil Berry, 10 Red Potions, and 10 Gold."; } } close; } would that be it? (made by chatgpt)
  2. //==================================================================== - shop 1hs_Shop2 -1,1102:100,1105:1500,1108:2900,1111:10000,1114:17000,1120:51000,1124:20000,1125:24000,1127:49000,1128:50000,1130:20000,1131:20000,1132:20000,1133:20000,1134:20000,1135:20000,1136:20000,1137:20000,1138:20000,1139:20000,1140:20000,1141:20000,1142:20000,1143:20000,1144:20000,1145:450000,1147:42000,1148:20000,1149:60000,1191:150000 - shop 2hs_Shop2 -1,1152:150000,1155:150000,1158:150000,1162:150000,1164:150000,1165:150000,1166:150000,1167:150000,1168:150000,1170:150000,1171:150000,1172:150000,1175:150000,1176:150000,1177:150000,1178:150000,1179:150000,1180:150000,1181:150000,1182:150000,1183:150000,1184:150000,1185:150000,1189:150000,1192:150000,1193:150000,1196:150000,1197:150000 - shop 1ha_Shop2 -1,1302:15000,1305:15000,1309:150000,1306:150000,1307:150000 - shop 2ha_Shop2 -1,1352:15000,1363:15000,1380:15000,1358:34000,1383:15000,1371:15000,1364:15000,1369:15000,1355:150000,1366:150000,1365:150000,1367:150000,1368:150000,1361:150000,1384:150000 turbo_room,77,138,5 script Weapon Shop 470,{ cutin "3rd_rune_knight",2; mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select what type of"; mes "Weapon you're going to see."; next; // Menu Selection switch(select("Swords:Axes")){ Case 1: // Swords mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select if ^FF00001-Handed^000000 or ^0000FF2-Handed^000000."; next; switch(select("^FF00001-Handed Sword^000000:^0000FF2-Handed Sword^000000")){ Case 1: mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select what type of"; mes "Weapon you're going to see."; next; callfunc "1hs_Shop1",0; end; Case 2: mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select what type of"; mes "Weapon you're going to see."; next; callfunc "2hs_Shop1",0; end; } Case 2: // Axes mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select if ^FF00001-Handed^000000 or ^0000FF2-Handed^000000."; next; switch(select("^^FF00001-Handed Axe^000000:^0000FF2-Handed Axe^000000")){ Case 1: mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select what type of"; mes "Weapon you're going to see."; next; callfunc "1ha_Shop1",0; end; Case 2: mes "[ ^00B2EEWeapon Shop^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Please select what type of"; mes "Weapon you're going to see."; next; callfunc "2ha_Shop1",0; end; } } } //Call function scripts ============================================================ function script 1hs_Shop1 { mes "[ ^FF0000Account Information^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Name: ^0000FF"+strcharinfo(0)+"^000000"; mes "Zeny Balance : ^FFD700"+F_InsertComma(Zeny)+"^000000 ^FF0000z^000000"; mes "Cash Points Balance : ^008000"+#CASHPOINTS+"^000000"; mes "Kafra Points Balance : ^9932CC"+#KAFRAPOINTS+"^000000"; callshop "1hs_Shop2",1; end; } function script 2hs_Shop1 { mes "[ ^FF0000Account Information^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Name: ^0000FF"+strcharinfo(0)+"^000000"; mes "Zeny Balance : ^FFD700"+F_InsertComma(Zeny)+"^000000 ^FF0000z^000000"; mes "Cash Points Balance : ^008000"+#CASHPOINTS+"^000000"; mes "Kafra Points Balance : ^9932CC"+#KAFRAPOINTS+"^000000"; callshop "2hs_Shop2",1; end; } function script 1ha_Shop1 { mes "[ ^FF0000Account Information^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Name: ^0000FF"+strcharinfo(0)+"^000000"; mes "Zeny Balance : ^FFD700"+F_InsertComma(Zeny)+"^000000 ^FF0000z^000000"; mes "Cash Points Balance : ^008000"+#CASHPOINTS+"^000000"; mes "Kafra Points Balance : ^9932CC"+#KAFRAPOINTS+"^000000"; callshop "1ha_Shop2",1; end; } function script 2ha_Shop1 { mes "[ ^FF0000Account Information^000000 ]"; mes "^8b8b8b____________________________^000000"; mes "Name: ^0000FF"+strcharinfo(0)+"^000000"; mes "Zeny Balance : ^FFD700"+F_InsertComma(Zeny)+"^000000 ^FF0000z^000000"; mes "Cash Points Balance : ^008000"+#CASHPOINTS+"^000000"; mes "Kafra Points Balance : ^9932CC"+#KAFRAPOINTS+"^000000"; callshop "2ha_Shop2",1; end; }
  3. tra_fild,65,142,5 itemshop Pontos PVP/WOE 110,7420,1801:80,504:10,505:20 aqui funcionou de boa... conf/misc.conf // Is item's price at item/point shop discountable? // 0 = No (Default) // 1 = Item shops // 2 = Point shops // 3 = Item & point shops discount_item_point_shop: 0
  4. - script PVP_Skull_Inventory -1,{ OnPCKillEvent: if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid)); end; } tenta isso...
  5. Vip Icon Time I need help, I can't pair the vip time with the vip icon buff time... ''/ and I'm also not applying: MaxWeight - script Vip_Icon -,{ OnPCLoginEvent: if(vip_status(1)) { set MaxWeight, MaxWeight + 4000; set .@day, vip_status(2); sc_start SC_VIPSTATE, .@day * 1000, 0; dispbottom "--- VIP ----"; dispbottom "=========================="; dispbottom "VIP Player"; dispbottom "Expire Date: "+vip_status(2); dispbottom "Time left: "+vip_status(3); dispbottom "=========================="; end; } }
  6. //01_emulator\rathena\conf\battle\player.conf / bone_drop: 0 - script PVP_Skull_Inventory -1,{ OnPCKillEvent: if (killedrid != getcharid(3)) getnameditem(7420,rid2name(killedrid)); end; }
×
×
  • Create New...