ID:262698
 
Code:
client
command_prompt = "Name - [mob.name] Race - [mob.Race] Hp - [mob.Hp] / [mob.MaxHP] Mp - [mob.Mp] / [mob.MaxMP] Gold - [mob.gold] Exp - [mob.exp] / [mob.MaxExp]"


Problem description:

Erm...Errors that those vars dont exist, but they do XX

I'm pretty sure that the default typecast for client.mob is only /mob, even if you set world/mob to something else, so any variable defined within a child of /mob (eg. /mob/Player/var/Exp) would be undefined. Also, to define it like that, you need a constant expression, like a plain string without brackets. So I suggest switching to a looping proccess with a sleep in it, maybe the built in Stat() proc.
In response to DarkCampainger
Yes, you can do it in stat()
mob/Stat()
command_prompt = "Name - [mob.name] Race - [mob.Race] Hp - [mob.Hp] / [mob.MaxHP] Mp - [mob.Mp] / [mob.MaxMP] Gold - [mob.gold] Exp - [mob.exp] / [mob.MaxExp]"


BUT be warned, everytime Stat() runs, and changes the command_prompt, the message in the pink bar get's erased, so.. It's going to be annoying ot players.