PewN Posted June 19, 2012 Author 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
PewN Posted June 19, 2012 Author 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
_Dynosawr_ Posted June 19, 2012 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
JoWei Posted June 19, 2012 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
_Dynosawr_ Posted June 19, 2012 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
Question
PewN
npc will get the zeny? how can i do that?
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.