Jump to content
  • 0

help Deleting Zeny


Question

9 answers to this question

Recommended Posts

Posted (edited)


louyang,262,63,0 script Assassin Set Quest 404,{
mes "[Dark Assassin]";
mes "I have a favor to you stranger";
mes "please get all of this item's and i will give you a rare items";
next;
mes "Megingjard of Agility 1x";
mes "Megingjard of Dexterity 1x";
mes "PhantasmRO Tickets 2,000x";
mes "PhantasmRO Coins 2,000x";
mes "Gold 30,000x";
mes "Emblem of Sun God 10x";
mes "1,000,000,000 zeny";
next;
menu "> Yes. I will get all the items you need",yes,"> No Get your own fuck you!",no;
yes:
delitem 19252,1;
delitem 19251,1;
delitem 7227,2000;
delitem 7539,2000;
delitem 969,30000;
set Zeny,Zeny-1000000000;
{
mes "[Dark Assassin]";
mes "Are you trying to fool me. Fuck you!.";
close;
}
else
{
mes "[Dark Assassin]";
mes "Thanks!";
getitem 30021,1;
getitem 30037,1;
getitem 30061,1;
close;

no:
end;
}
}

what is wrong here?

Edited by bVersatile
Posted

can u help me fixing it? cuz i have a error.

i only completed 1 quest i have item 19252 1 pc. and i don't have the rest. npc deleted my 19252 item.s

Posted
[color="#000000"]if ( countitem(19252) < 1 || countitem(19251) < 1 || countitem(7227)[color="#000000"] < 2000 || countitem(7539) < 2000[color="#000000"] || countitem([/color]969) < 30000 || Zeny < [color="#006666"]1000000000 ) {[/color][/color][/color]
[color="#000000"][color="#000000"][color="#006666"]mes "You do not have the required items.";[/color][/color][/color]
[color="#000000"][color="#000000"][color="#006666"]close;[/color][/color][/color]
[color="#000000"][color="#000000"][color="#006666"]}[/color][/color][/color]
[color="#000000"]delitem [/color][color="#006666"]19252[/color][color="#666600"],[/color][color="#006666"]1[/color][color="#666600"];[/color][color="#000000"] 
delitem [/color][color="#006666"]19251[/color][color="#666600"],[/color][color="#006666"]1[/color][color="#666600"];[/color][color="#000000"] 
delitem [/color][color="#006666"]7227[/color][color="#666600"],[/color][color="#006666"]2000[/color][color="#666600"];[/color][color="#000000"] 
delitem [/color][color="#006666"]7539[/color][color="#666600"],[/color][color="#006666"]2000[/color][color="#666600"];[/color][color="#000000"] 
delitem [/color][color="#006666"]969[/color][color="#666600"],[/color][color="#006666"]30000[/color][color="#666600"];[/color] 
[color="#000088"]set[/color] [color="#660066"]Zeny[/color][color="#666600"],[/color][color="#660066"]Zeny[/color][color="#666600"]-[/color][color="#006666"]1000000000[/color][color="#666600"];[/color]

Posted (edited)

So many color tags that didnt go through in Joey's code. O_o

Well here's the code, not completely optimized but should work for what you want.

louyang,262,63,0 script Assassin Set Quest 404,{
mes "[Dark Assassin]";
mes "I have a favor to you stranger";
mes "please get all of this item's and i will give you a rare items";
next;
mes "Megingjard of Agility 1x";
mes "Megingjard of Dexterity 1x";
mes "PhantasmRO Tickets 2,000x";
mes "PhantasmRO Coins 2,000x";
mes "Gold 30,000x";
mes "Emblem of Sun God 10x";
mes "1,000,000,000 zeny";
next;
menu "> Yes. I will get all the items you need",yes,"> No Get your own fuck you!",no;
yes:
if(countitem(19252)<1 || countitem(19251)<1 || countitem(7227)<2000 || countitem(7539)<2000 || countitem(969) <30000 || Zeny < 1000000000)
{
mes "[Dark Assassin]";
mes "Are you trying to fool me. Fuck you!.";
close;
}else{
delitem 19252,1;
delitem 19251,1;
delitem 7227,2000;
delitem 7539,2000;
delitem 969,30000;
set Zeny,Zeny-1000000000;
mes "[Dark Assassin]";
mes "Thanks!";
getitem 30021,1;
getitem 30037,1;
getitem 30061,1;
close;
}
no:
close;
}

Edit: Yeah that slipped past my view, Thanks Joey. Change: Swap end; -> close;

Edited by JoWei
Posted (edited)

I honestly have NO idea what went wrong with my post e.e (Forums no laik meh.)

PS: Replace the 'end;' in the 'no' label with 'close;' so people don't get stuck in the NPC.

Edited by Joey

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...