Page 1 of 1

Points honor!!!

Posted: Sun Oct 06, 2013 11:33 am
by wilifox
It is possible to know the points of honor and doing something in particular?

for example;

if (point == 25000 honor)
then
....................
.............
end

Re: Points honor!!!

Posted: Sun Oct 06, 2013 11:55 am
by rock5

Code: Select all

if getCurrency("honor") == 25000 then
....................
.............
end

Re: Points honor!!!

Posted: Sun Oct 13, 2013 7:52 am
by Bot_romka
Variant with macro

Code: Select all

if RoMScript('GetPlayerHonorPoint()') == 25000 then

Re: Points honor!!!

Posted: Mon Oct 21, 2013 6:29 am
by wilifox
thx now found!

Re: Points honor!!!

Posted: Sat Nov 09, 2013 7:08 am
by nerf
there is something wrong with this? this should work with the client in any language? I do not work for me

Code: Select all

	if( 82 > player.Level and RoMScript('GetPlayerHonorPoint()') >= 25000 ) then
			sendMacro("Logout();"); yrest(8000);
		end
part of Bot_romka script

Re: Points honor!!!

Posted: Sat Nov 09, 2013 8:07 am
by rock5
I don't know if GetPlayerHonorPoint works with the points you get since the currency changes a while back. The new function for all currencies is GetPlayerPointInfo. But you can just use the bot function getCurrency("honor").

Code: Select all

 if( 82 > player.Level and getCurrency("honor") >= 25000 ) then

Re: Points honor!!!

Posted: Sat Nov 09, 2013 9:37 am
by nerf
rock5 wrote:I don't know if GetPlayerHonorPoint works with the points you get since the currency changes a while back. The new function for all currencies is GetPlayerPointInfo. But you can just use the bot function getCurrency("honor").

Code: Select all

 if( 82 > player.Level and getCurrency("honor") >= 25000 ) then

thanks, but it works With The client in any language?

Re: Points honor!!!

Posted: Sat Nov 09, 2013 10:37 am
by rock5
Yes. "honor" is just a code word to return the honor points.