#IF
CHECKLEVELEX = 21
#ACT
LineMSG 5 "Congratulations <$USERNAME> You've been premoted to rank of Apprentice"
Taken from a section of HellzLoose's rank system.
i dont think this is what omen is after km, that would just send a message to the player not actually set the rank
this is taken from my qmanage, in mapquest folder, under the loginact bit
;==================================================
#IF
#ACT
#CALL [\Common\LoginAct.txt] @Act
;==================================================
#IF
checkjob Warr
checklevel 0
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob Warr
checklevel 15
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob Warr
checklevel 25
#ACT
SETRANKLEVELNAME %s\NoviceSwordsman
#IF
checkjob Warr
checklevel 35
#ACT
SETRANKLEVELNAME %s\IntermediateWarrior
#IF
checkjob Warr
checklevel 45
#ACT
SETRANKLEVELNAME %s\AdvancedFighter
#IF
checkjob Warr
checklevel 55
#ACT
SETRANKLEVELNAME %s\HardWarrior
#IF
checkjob Wizard
checklevel 0
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob Wizard
checklevel 15
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob Wizard
checklevel 25
#ACT
SETRANKLEVELNAME %s\NoviceSorcerer
#IF
checkjob Wizard
checklevel 35
#ACT
SETRANKLEVELNAME %s\IntermediateCaster
#IF
checkjob Wizard
checklevel 45
#ACT
SETRANKLEVELNAME %s\DemonicMage
#IF
checkjob taos
checklevel 0
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob taos
checklevel 15
#ACT
SETRANKLEVELNAME %s\Beginner
#IF
checkjob taos
checklevel 25
#ACT
SETRANKLEVELNAME %s\NovicePriest
#IF
checkjob taos
checklevel 35
#ACT
SETRANKLEVELNAME %s\AdvancedPriest
edit the titles, and levels to what you want them to be, but hopefully you can understand how it works, also you can make the qmanage look for a flag to assign a rank, so for example you would have a rank npc where you could choose a rank, when you choose it, it would then set a flag, then the qmanage would check that flag and assign the rank you have put in there for example:
#if
check [100] 1
#act
setranklevelname %s\TITLE
etc etc
hope this helps
BTW: this works for the 2.3 files aswell