Jump to content
  • 0

Question

Posted

dicastes01,213,167,5 script Warp to Dewata 536,{
if( countitem(6048) >= 10 || countitem(7078) >= 5) {
delitem 6048,10;
delitem 7078,5;
warp "dewata",232,53;
announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all;
}else{
warp "SavePoint",0,0;
dispbottom "Entry to Dewata requires a 10pcs Unidentified Ore and 5pcs Wrath of Valkyrie.";
}
end;
}

how will i change it to when they enter again they dont need to pay again...

2 answers to this question

Recommended Posts

Posted (edited)

here ya go.

dicastes01,213,167,5 script Warp to Dewata 536,{
   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) {
           delitem 6048,10;
           delitem 7078,5;
           set paid, 1;
           warp "dewata",232,53;
           announce " "+strcharinfo(0)+": has been warped to Dewata Island!!",bc_all;

       } else {
           warp "SavePoint",0,0;
           dispbottom "Entry to Dewata requires a 10pcs Unidentified Ore and 5pcs Wrath of Valkyrie.";
       }
   end;
}

Edited by quesoph

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...