Healer count how much zeny remove from server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Guest
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

 
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.

 
Last edited by a moderator:
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 ^_^

View attachment healer.txt

 
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

Code:
@HD = gettimetick(2) + .@Delay;
close;
	end;
 
Last edited:
Here for Hercules compatible ^_^ sorry

View attachment healer.txt

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) + .@Delay; close; end;

@HD = gettimetick(2) + .@Delay;
close;
end;

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

 
Back
Top