PewN Posted June 19, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Share Posted June 19, 2012 npc will get the zeny? how can i do that? Quote Link to comment Share on other sites More sharing options...
SlashGeeGee Posted June 19, 2012 Group: Members Topic Count: 111 Topics Per Day: 0.02 Content Count: 573 Reputation: 20 Joined: 11/19/11 Last Seen: October 24, 2014 Share Posted June 19, 2012 set Zeny,Zeny-<zenyamount>; Quote Link to comment Share on other sites More sharing options...
PewN Posted June 19, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted June 19, 2012 (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 June 19, 2012 by bVersatile Quote Link to comment Share on other sites More sharing options...
SlashGeeGee Posted June 19, 2012 Group: Members Topic Count: 111 Topics Per Day: 0.02 Content Count: 573 Reputation: 20 Joined: 11/19/11 Last Seen: October 24, 2014 Share Posted June 19, 2012 set zeny, zeny-1000000000; Quote Link to comment Share on other sites More sharing options...
EvilPuncker Posted June 19, 2012 Group: Members Topic Count: 19 Topics Per Day: 0.00 Content Count: 713 Reputation: 71 Joined: 11/08/11 Last Seen: December 25, 2024 Share Posted June 19, 2012 there are no item nor zeny check Quote Link to comment Share on other sites More sharing options...
PewN Posted June 19, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted June 19, 2012 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 Quote Link to comment Share on other sites More sharing options...
_Dynosawr_ Posted June 19, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 69 Reputation: 10 Joined: 05/14/12 Last Seen: June 26, 2012 Share Posted June 19, 2012 [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] Quote Link to comment Share on other sites More sharing options...
JoWei Posted June 19, 2012 Group: Members Topic Count: 2 Topics Per Day: 0.00 Content Count: 117 Reputation: 18 Joined: 01/06/12 Last Seen: April 1, 2021 Share Posted June 19, 2012 (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 June 19, 2012 by JoWei Quote Link to comment Share on other sites More sharing options...
_Dynosawr_ Posted June 19, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 69 Reputation: 10 Joined: 05/14/12 Last Seen: June 26, 2012 Share Posted June 19, 2012 (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 June 19, 2012 by Joey Quote Link to comment Share on other sites More sharing options...
PewN Posted June 20, 2012 Group: Members Topic Count: 209 Topics Per Day: 0.04 Content Count: 892 Reputation: 27 Joined: 12/09/11 Last Seen: April 16, 2016 Author Share Posted June 20, 2012 thank's to all of you guys. :* Quote Link to comment Share on other sites More sharing options...
Question
PewN
npc will get the zeny? how can i do that?
Link to comment
Share on other sites
9 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.