Jump to content

Dark Theme was set as default for all members. Please report any issues here.

  • 0
Sign in to follow this  
trackxart

Healer count how much zeny remove from server

Question

Hi,

I'm currently using a healer on my server and I was wondering if it's possible to show to players how much zenys people (all server) already waste healing (every heal costs 2000 zenys)?

To show to people that one simple npc can remove zenys from the server.

Thanks in advance

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 0

Set a variable that is increased every time someone purchases a heal. Display the variable.

Please see the script command documentation and sample scripts located at /doc/script_commands.txt and /doc/sample/

Be cognizant that you will need to handle the number prior to it exceeding the maximum integer value of 2^31 to avoid any issues.

Share this post


Link to post
Share on other sites
  • 0
On 10/20/2019 at 11:32 AM, trackxart said:

Hi,

I'm currently using a healer on my server and I was wondering if it's possible to show to players how much zenys people (all server) already waste healing (every heal costs 2000 zenys)?

To show to people that one simple npc can remove zenys from the server.

Thanks in advance

Try my script ^_^

healer.txt

Share this post


Link to post
Share on other sites
  • 0
8 hours ago, Chatterboy said:

You are awesome ❤️

I got one issue but I belive that's because I'm using older rev

script:callfunc: function not found! F_InsertComma 

I removed the F_InsertComma and worked well :)

Also had to put close; otherwise my char get stuck


@HD = gettimetick(2) + [email protected];
close;
	end;

 

Edited by trackxart

Share this post


Link to post
Share on other sites
  • 0

Here for Hercules compatible ^_^ sorry

healer.txt

 

5 hours ago, trackxart said:

You are awesome ❤️

I got one issue but I belive that's because I'm using older rev

script:callfunc: function not found! F_InsertComma 

script:callfunc: function not found! F_InsertComma 

I removed the F_InsertComma and worked well :)

Also had to put close; otherwise my char get stuck

@HD = gettimetick(2) + [email protected]; close; end;


@HD = gettimetick(2) + [email protected];
close;
	end;

 

Yeah, I forgot that ^_^ to change the end; to close; 

Share this post


Link to post
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.   Restore formatting

  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.

Loading...
Sign in to follow this  

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.