Jump to content
  • 0

[solved] Super Novice Death Counter Resetter


jamesandrew

Question


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.07
  • Content Count:  58
  • Reputation:   3
  • Joined:  06/21/23
  • Last Seen:  

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

Edited by jamesandrew
Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 1

  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.05
  • Content Count:  45
  • Reputation:   25
  • Joined:  09/09/23
  • Last Seen:  

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