Jump to content
  • 0

help Deleting Zeny


PewN

Question


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

npc will get the zeny? how can i do that?

Link to comment
Share on other sites

9 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

set Zeny,Zeny-<zenyamount>;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  


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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  111
  • Topics Per Day:  0.02
  • Content Count:  573
  • Reputation:   20
  • Joined:  11/19/11
  • Last Seen:  

set zeny, zeny-1000000000;

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  19
  • Topics Per Day:  0.00
  • Content Count:  713
  • Reputation:   70
  • Joined:  11/08/11
  • Last Seen:  

there are no item nor zeny check

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

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

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

[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]

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  2
  • Topics Per Day:  0.00
  • Content Count:  117
  • Reputation:   18
  • Joined:  01/06/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  69
  • Reputation:   10
  • Joined:  05/14/12
  • Last Seen:  

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
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  209
  • Topics Per Day:  0.05
  • Content Count:  892
  • Reputation:   27
  • Joined:  12/09/11
  • Last Seen:  

thank's to all of you guys. :) :*

Link to comment
Share on other sites

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.

×
×
  • Create New...