Mr BrycE Posted July 7, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Share Posted July 7, 2012 (edited) dicastes01,213,167,5 script Dewata Warper 112,{ if( paid ) { warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; end; } if( countitem(6048) >= 10 || countitem(7078) >= 5 || countitem(6153) >= 1000) { delitem 6048,10; delitem 7078,5; delitem 6153,1000; set paid, 1; warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; } else { warp "dicastes01",210,168; dispbottom "Entry to Dewata requires a 10pcs Unidentified Ore and 5pcs Wrath of Valkyrie and Thousand SET."; } end; } i want someone to modify it...because.. for example when a player has the 10pcs Und Ore 5pcs wrath of Valk then accidentally talk to the NPC, the NPC will eat the 10 and 5pcs because the 1000 SET are not in their inventory.. i want to modify the script into when, the player has an incomplete requirments it will not eat the other requirements. Edited July 7, 2012 by Mr BrycE Quote Link to comment Share on other sites More sharing options...
Aerie Posted July 7, 2012 Group: Members Topic Count: 11 Topics Per Day: 0.00 Content Count: 383 Reputation: 110 Joined: 11/11/11 Last Seen: August 2, 2017 Share Posted July 7, 2012 You should use && (and), not || (or). dicastes01,213,167,5 script Dewata Warper 112,{ if( paid ) { warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; end; } if( countitem(6048) >= 10 && countitem(7078) >= 5 && countitem(6153) >= 1000) { delitem 6048,10; delitem 7078,5; delitem 6153,1000; set paid, 1; warp "dewata",232,53; announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all; } else { warp "dicastes01",210,168; dispbottom "Entry to Dewata requires a 10pcs Unidentified Ore and 5pcs Wrath of Valkyrie and Thousand SET."; } end; } Quote Link to comment Share on other sites More sharing options...
Mr BrycE Posted July 7, 2012 Group: Members Topic Count: 125 Topics Per Day: 0.03 Content Count: 595 Reputation: 24 Joined: 02/23/12 Last Seen: April 1, 2018 Author Share Posted July 7, 2012 (edited) ohh i see..thanks sirr EDIT: thanks sir. Edited July 7, 2012 by Mr BrycE Quote Link to comment Share on other sites More sharing options...
Question
Mr BrycE
i want someone to modify it...because..
for example
when a player has the 10pcs Und Ore 5pcs wrath of Valk then accidentally talk to the NPC, the NPC will eat the 10 and 5pcs
because the 1000 SET are not in their inventory..
i want to modify the script into when, the player has an incomplete requirments it will not eat the other requirements.
Edited by Mr BrycELink to comment
Share on other sites
2 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.