Jump to content
  • 0

[solved] Super Novice Death Counter Resetter


Question

1 answer to this question

Recommended Posts

  • 1
Posted
On 11/29/2023 at 12:02 PM, jamesandrew said:

I need help with an NPC script that resets the SN Death Counter in return for 10 Apples.

prontera,150,150,4    script    Resetter 69,{
    if(PC_DIE_COUNTER > 0 && countitem(501) >= 10){
      delitem 501,10;
      PC_DIE_COUNTER = 0;
      mes "Your PC_DIE_COUNTER has been reset to 0.";
      close;
    }
 mes "No die counter or not enough Red Potion.";
 close;
}

It's just a rough script but you should be able to make it work the way you want it, it has everything you need

  • MVP 1

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