hi there,
is there a funtion that can sort an ini file? highest value to lowest?
i have a point system, like everyone else :p
ini looks like this
[#channel.nick]
seconds=1
[#channel.nick2]
seconds=5
when typing !chatstats the user gets his total time active in chat displayed in chat and how much lines he posted. now i want it to display the rank as well :s
if nick2 uses !chatstats it currently gives out the lines he posted + hours and minutes. and i want it to give out [1] in like the ranking. he is ranked 1 because he is the most active user
+ can i use $remove() to remove all the text after a chr?
like $remove(%var,.*)
but that wont work unfortunately
i want everything after the . removed. got this one solved with $int()
thanks in advance!