Jump to content
  • 0

help with this script


Mr BrycE

Question


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

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

Link to comment
Share on other sites

2 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.00
  • Content Count:  210
  • Reputation:   10
  • Joined:  11/20/11
  • Last Seen:  

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


  • Group:  Members
  • Topic Count:  125
  • Topics Per Day:  0.03
  • Content Count:  595
  • Reputation:   23
  • Joined:  02/23/12
  • Last Seen:  

i will try this thank you sir...

EDIT:

Thank you sir its working..

Edited by Mr BrycE
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...