ID:142497
 
Code:
mob/verb
CTL()
set name = "Check tick lag"
world<<"[world.tick_lag]"
world<<"[100 - (world.tick_lag * WO)] {100 - [world.tick_lag] * [WO]} "
ChTL()
set name = "Change tick lag"
world.tick_lag = input("world tick lag")as num
world<<"[world.tick_lag]"

WO = input("change ppl per minimum tick lag increase (default is 25)")
world<<"[WO]"
world<<"[100 - (world.tick_lag * WO)]"
var
WO = 25


Problem description:

world<<"[100 - (world.tick_lag * WO)] {100 - [world.tick_lag] * [WO]} " The mob/verb CTL shows the right number. WO is defined as 25.
But the mob/verb ChTL's end result stays at 100.
The output fot ChTL in my case would be:
world.tick_lag = (example) 4 and shows 4 on the output
WO = (example) 9 and shows 9 on the output
However, [100 - (world.tick_lag * WO)] at ChTL gives me 100 at every thing (should be 100 - 36 = 64 as outcome).

I think I did something wrong, but I am not sure what.
I find it very appreciated if you helpme with this,

Rick.
Could anyone help? Sorry for the bumping, but it's just that I want to know, lol.