Melvinizer
Members-
Posts
4 -
Joined
-
Last visited
Profile Information
-
Gender
Not Telling
-
Location
Philippines
-
Server
HelloRO
- Github: none
Melvinizer's Achievements
Poring (1/15)
0
Reputation
-
Thank you!
-
Hi, how can I add announcement after a player created the item, please help. thank you. Here's the script. prt_monk,132,163,0 script Glorious Fist 123,{ mes "Greetings Brother, you seek strength from within, but ignore the fact that there's simpler ways to beat some foes."; menu "I want to create Glorious Fist!!",-; next; mes "Bring me the following to unlock inhuman strength!"; mes "250 Gold"; mes "250 Trunk"; mes "350 Jellopy"; mes "120 Burnt Tree"; mes "100 Steel"; next; menu "I have them right now!",-; if(countitem(969) < 250 || countitem(1019) < 250 || countitem(909) < 350 || countitem(7068) < 120 || countitem(999) < 100) goto Lne; mes "Okay, here you go!"; delitem 969,250; delitem 1019,250; delitem 909,350; delitem 7068,120; delitem 999,100; getitem 1827,1; close; Lne: mes "Are you trying to fool me!? Go away shooo shooo"; close; }
-
Hi guys. Can you help me to make an NPC that can be use every 3 hours. It will ask for an item then if I give the item to the NPC, it will summon a monster. Thank you so much in advance for your help.
-
Hi guys. I need help. I am trying to use this script but it is not letting me click the NPC. Need a little help here. Thank you! prt_in,59,55,3 script Great Balthazar 813,{ callfunc "highrefinemain","Balthazar"; end; } morocc_in,73,35,3 script Great Galadrel 813,{ callfunc "highrefinemain","Galadrel"; end; } payon,147,173,3 script Great Adramelech 813,{ callfunc "highrefinemain","Adramelech"; end; } alberta_in,25,63,3 script Great Azrael 813,{ callfunc "highrefinemain","Azrael"; end; } yuno_in01,167,23,3 script Great Lannor 813,{ callfunc "highrefinemain","Lannor"; end; } ein_in01,23,82,3 script Great Baulfor 813,{ callfunc "highrefinemain","Baulfor"; end; } lhz_in02,278,20,3 script Great Kandror 813,{ callfunc "highrefinemain","Kandror"; end; } prt_in,59,55,3 script Great Balthazar 99,{ mes "[" + getarg(0) + "]"; mes "Looking for more power, eh? I can high refine your equipments."; mes "That is, attempt to refine them past +10 refine rates."; mes "^0000FFJust have equipped your +10 gear, and they will be shown in the list.^000000"; next; setarray [email protected]$[1], "Head","Body","Left hand","Right hand","Robe","Shoes","Accessory 1","Accessory 2","Head 2","Head 3"; set [email protected]$,""; for( set [email protected],1; [email protected] <= 10; set [email protected],[email protected]+1 ) { if( getequipisequiped([email protected]) && (getequiprefinerycnt([email protected]) >= 10) ) set [email protected]$, [email protected]$ + [email protected]$[[email protected]] + "-" + "[" + getequipname([email protected]) + "]"; set [email protected]$, [email protected]$ + ":"; } if (!M_quickref) set [email protected]$, [email protected]$ + "^0000FFTurn ^009933ON^0000FF Quick Refining^000000"; else set [email protected]$, [email protected]$ + "^0000FFTurn ^FF0000OFF^0000FF Quick Refining^000000"; set [email protected],select([email protected]$); if ([email protected] == [email protected] ) { mes "[" + getarg(0) + "]"; if (!M_quickref) { mes "The ^0000FFQuick Refine^000000 Function has been Turned ^009933ON^000000"; set M_quickref, 1; } else { mes "The ^0000FFQuick Refine^000000 Function has been Turned ^FF0000OFF^000000"; set M_quickref, 0; } close; } if(!getequipisequiped([email protected])) { mes "[" + getarg(0) + "]"; mes "Hey, you must have equipped +10 or above gears so that they can be highly refined."; emotion 6; close; } //Check if the item is refinable... if(!getequipisenableref([email protected])) { mes "[" + getarg(0) + "]"; mes "I don't think I can"; mes "refine this item at all..."; close; } //Check if the item is identified... (Don't know why this is in here... but kept it anyway) if(!getequipisidentify([email protected])) { mes "[" + getarg(0) + "]"; mes "You can't refine this"; mes "if you haven't appraised"; mes "it first. Make sure your"; mes "stuff is identified before"; mes "I can refine it."; close; } //Check to see if the items are bellow +10 (Double check?) if(getequiprefinerycnt([email protected]) < 10) { mes "[" + getarg(0) + "]"; mes "I can't refine this."; mes "Talk to the normal blacksmith to"; mes "refine this up to +10 first."; close; } set [email protected], getequipid([email protected]); // save id of the item set [email protected], getequiprefinerycnt([email protected]); //save refinery count switch(getequipweaponlv([email protected])){ // ----------- Refine Prices, Materials and Safe Refines ---------- // case 0: //Refine Armor set [email protected],50000; set [email protected],6223; break; case 1: //Refine Level 1 Weapon set [email protected],10000; set [email protected],6224; break; case 2: //Refine Level 2 Weapon set [email protected],20000; set [email protected],6224; break; case 3: //Refine Level 3 Weapon set [email protected],60000; set [email protected],6224; break; case 4: //Refine Level 4 Weapon set [email protected],120000; set [email protected],6224; break; case 5: //Refine other stuff? set [email protected],50000; set [email protected],6223; break; // ------------------------------------------------------------------ // } next; mes "[" + getarg(0) + "]"; mes "So how many times would you like me to high refine your item?"; next; input [email protected]; set [email protected],[email protected] + getequiprefinerycnt([email protected]); if ([email protected] < 1 || [email protected] > 20) { mes "[" + getarg(0) + "]"; mes "I can't high refine this item that many times."; close; } mes "["+strnpcinfo(1)+"]"; mes "Alright, I can do it for only your currently equipped item, or ALL ^0000FF"+getequipname([email protected])+"^000000 you have in your inventory. What would you like to do?"; next; if (select ("Currently Equipped:All Items in Inventory") == 2) set [email protected], 1; if ([email protected]) set [email protected], getequiprefinerycnt([email protected]) + [email protected]; mes "[" + getarg(0) + "]"; if ( [email protected]) mes "This will try to high refine the equipment " + ([email protected] - getequiprefinerycnt([email protected])) + " times. If it fails, your equipment will be pulverized."; else mes "Remember this will attempt to high refine to ^009933+"[email protected]+"^000000 ^FF0000ALL^000000 the ^0000FF"+getequipname([email protected])+"^000000 items you have in your inventory!!"; next; if(select("Accept","Reject") == 2){ mes "[" + getarg(0) + "]"; mes "Ha, just as I thought!"; close; } if ([email protected]) { deletearray @inventorylist_refine; deletearray @inventorylist_id; getinventorylist; set [email protected], 0; for (set [email protected], 0; [email protected] < @inventorylist_count; set [email protected], [email protected] + 1) { if (( @inventorylist_id[[email protected]] == getequipid([email protected]) ) && (@inventorylist_refine[[email protected]] >= 10)) { set [email protected][[email protected]], @inventorylist_refine[[email protected]]; set [email protected], [email protected] + 1; } } deletearray @inventorylist_refine; deletearray @inventorylist_id; } set [email protected], 0; if ( [email protected] ) set [email protected],[email protected] * [email protected]; else { set [email protected], 0; for ( set [email protected], 0; [email protected] < [email protected] ; set [email protected], [email protected] + 1) { if ( [email protected][[email protected]] < [email protected] ) { set [email protected], [email protected] + ( ( [email protected] - [email protected][[email protected]] ) * [email protected] ); set [email protected], [email protected] + ([email protected] - [email protected][[email protected]]); } } deletearray [email protected]; } mes "[" + getarg(0) + "]"; if ( [email protected] ) mes "That will cost you " + [email protected] + " " + getitemname([email protected]) + " and " + [email protected] + " Zeny. Is that ok?"; else mes "That will cost you " + [email protected] + " " + getitemname([email protected]) + " and " + [email protected] + " Zeny. Is that ok?"; next; if(select("Yes","No...") == 2){ mes "[" + getarg(0) + "]"; mes "You said so..Hmm so be it..."; close; } if ( [email protected] ) { if(countitem([email protected]) < [email protected] || Zeny < [email protected]) { mes "[" + getarg(0) + "]"; mes "I only work with ^0000FFBradiums^000000, ^009933Kaluniums^000000 and ^FF0000Zeny^000000, pal."; close; } set Zeny,Zeny - [email protected]; delitem [email protected],[email protected]; while([email protected]){ if (getequipisequiped([email protected]) == 0) { mes "[" + getarg(0) + "]"; mes "Look here... you don't have any Items on..."; close; } if (getequipid([email protected]) != [email protected]) { mes "[" + getarg(0) + "]"; mes "What, you changed your equipment!?!"; mes "You moron!"; next; atcommand "@nuke "+strcharinfo(0); end; } mes "Clang, clang!!!"; if(getequippercentrefinery([email protected]) <= rand(100)) { failedrefitem [email protected]; emotion 23; mes "[" + getarg(0) + "]"; mes "Hey, it broke, but don't blame me. Your item sucked."; set [email protected],[email protected] - 1; if([email protected] == 0) close; mes "Here's the unused Zeny and Material back."; getitem [email protected],[email protected]; set [email protected],[email protected] * [email protected]; set Zeny,Zeny + [email protected]; close; } successrefitem [email protected]; emotion 21; set [email protected],[email protected] - 1; next; } } else { if ( getbrokenid ([email protected]) ) { mes "[" + getarg(0) + "]"; mes "Sorry but I can't work to high refine an equipment if you have another of the same kind of item that's not repaired in your inventory."; close; } if(countitem([email protected]) < [email protected] || Zeny < [email protected]) { mes "[" + getarg(0) + "]"; mes "You have no zeny or materials. Get lost."; close; } set [email protected], 0; while(1){ for (set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected] + 1) deletearray getd("[email protected]_inf"[email protected]); if ( getequipisequiped([email protected]) == 0 ) { equip [email protected]; set [email protected], 0; while ( getequiprefinerycnt([email protected]) >= [email protected] ) { for (set [email protected], 0; [email protected] < 4; set [email protected], [email protected] + 1) if (getequipcardid([email protected],[email protected]) != 0) setd "[email protected]_inf"[email protected]+"[[email protected]]", getequipcardid([email protected],[email protected]); setd "[email protected]_inf"[email protected]+"[4]", getequiprefinerycnt([email protected]); unequip [email protected]; delitem2 [email protected],1,1,getd("[email protected]_inf"[email protected]+"[4]"),0,getd("[email protected]_inf"[email protected]+"[0]"), getd("[email protected]_inf"[email protected]+"[1]"),getd("[email protected]_inf"[email protected]+"[2]"),getd("[email protected]_inf"[email protected]+"[3]"); equip [email protected]; set [email protected], [email protected] + 1; } if ([email protected]) { for (set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected] + 1) { getitem2 [email protected],1,1,getd("[email protected]_inf"[email protected]+"[4]"),0,getd("[email protected]_inf"[email protected]+"[0]"), getd("[email protected]_inf"[email protected]+"[1]"),getd("[email protected]_inf"[email protected]+"[2]"),getd("[email protected]_inf"[email protected]+"[3]"); } } for (set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected] + 1) deletearray getd("[email protected]_inf"[email protected]); } if (checkweight([email protected],1) == 0 ) { next; mes "[" + getarg(0) + "]"; mes "Hey you are overweight, try storing some items first."; close; } if (getequipid([email protected]) != [email protected]) { mes "[" + getarg(0) + "]"; mes "What, you changed your equipment!?!"; mes "You moron!"; next; atcommand "@nuke "+strcharinfo(0); end; } if (getequiprefinerycnt([email protected]) < 10) { next; mes "[" + getarg(0) + "]"; mes "You changed your equipment!"; mes "You douchebag!!"; next; atcommand "@nuke "+strcharinfo(0); end; } if (!M_quickref) { set [email protected], rand(1,4); if ([email protected] == 1) mes "WaCLANG clang CLANG!"; else if ([email protected] == 2) mes "Crack clang CLaNG ClAnG!"; else if ([email protected] == 3) mes "CRaCk ClAnG ClANg!"; else if ([email protected] == 4) mes "CraCK CrAck CLaNG!!"; } else if ([email protected]) { mes "ClAng ClanG ^FF0000CRACK^000000 ClanG Clangg CLAgn ^FF0000CRACK^000000 Cnaglnac CLnacnlnagCALNGa ClangaglnaCLAnagacalNCagaCLNAangCRACKalncalclanCLANGlancLANgacln!!!"; mes "^FF0000(Please do not Log-Off while in this process)^000000"; set [email protected], 1; } set Zeny, Zeny - [email protected]; delitem [email protected], 1; if(getequippercentrefinery([email protected]) <= rand(100)) { set [email protected], [email protected] - getequiprefinerycnt([email protected]) ; set [email protected], [email protected] - [email protected] ; failedrefitem [email protected]; if([email protected] <= 0) close; } else { successrefitem [email protected]; set [email protected], [email protected] - 1; if([email protected] <= 0) close; set [email protected], 0; while ( getequiprefinerycnt([email protected]) >= [email protected] ) { for (set [email protected], 0; [email protected] < 4; set [email protected], [email protected] + 1) if (getequipcardid([email protected],[email protected]) != 0) setd "[email protected]_inf"[email protected]+"[[email protected]]", getequipcardid([email protected],[email protected]); setd "[email protected]_inf"[email protected]+"[4]", getequiprefinerycnt([email protected]); unequip [email protected]; delitem2 [email protected],1,1,getd("[email protected]_inf"[email protected]+"[4]"),0,getd("[email protected]_inf"[email protected]+"[0]"), getd("[email protected]_inf"[email protected]+"[1]"),getd("[email protected]_inf"[email protected]+"[2]"),getd("[email protected]_inf"[email protected]+"[3]"); equip [email protected]; set [email protected], [email protected] + 1; } if ([email protected]) { for (set [email protected], 0; [email protected] < [email protected]; set [email protected], [email protected] + 1) { getitem2 [email protected],1,1,getd("[email protected]_inf"[email protected]+"[4]"),0,getd("[email protected]_inf"[email protected]+"[0]"), getd("[email protected]_inf"[email protected]+"[1]"),getd("[email protected]_inf"[email protected]+"[2]"),getd("[email protected]_inf"[email protected]+"[3]"); } } } if (!M_quickref) next; else { set [email protected], [email protected] + 1; sleep2 300; } } } mes "[" + getarg(0) + "]"; mes "All finished... Come again soon."; close; }