PK kill count

Mu online season 21 - grand opening

kash12

Golden Oldie
Golden Oldie
Apr 22, 2004
726
4
105
Has anyone got a script to make the amount of PKs a person has done, show on their name?
 

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
lol thats a crazy long script
the only way to do it is to use human variables

in the Qfunction put

[@onmurder]
#ACT
CalcVar HUMAN Murder + 1
SaveVar HUMAN Murder ..\QuestDiary\Variables\Integral.txt
GOTO @killcount

[@killcount]
#IF
CheckVar HUMAN Murder = 100
#ACT
SETRANKLEVELNAME %s\100_Kills
BREAK

#IF
CheckVar HUMAN Murder = 99
#ACT
SETRANKLEVELNAME %s\99_Kills
BREAK

#IF
CheckVar HUMAN Murder = 98
#ACT
SETRANKLEVELNAME %s\98_Kills
BREAK

#IF
CheckVar HUMAN Murder = 97
#ACT
SETRANKLEVELNAME %s\97_Kills
BREAK


etc etc go up as many kills as you want
in the Qmanage put the same killcount script so it loads up there rank name but also put

Var Integer HUMAN Murder 0

so it sets the variable off with out any errors

by using this system you can reward players for killing other players etc
But it is very exploitable unless you add account checks and ipchecks etc
But this is basicaly what you need
 
Upvote 0

paul.obrien

LOMCN Veteran
Veteran
Aug 28, 2008
453
4
45
forgot to mention you can set this up so you only get your kills on a certain map like a LMS.

Just put the map check in and the
#ELSEACT
BREAK
CLOSE
 
Upvote 0