ID:139411
 
Code:
mob
Login()
..()
winset(src,"oocname_stat","text = [oocname]")


Problem description: Alright so I actually got it to work now. Which is great. However it only half works. It allows for one word OOC names, but if the name is longer then 1 word it only shows the word and I get this error at run time

winset: Parameter oocname_stat.artemis not found.

Artemis is the second part of the word that doesn't show up.

Also another issue I seem to be having is that when I change the OOCname in game, it doesn't update on the skin unless I relog.

EDIT: I am using the lable oocname_state to displace the players ooc name on the skin.


Try text='[oocname]'
In response to Legendary Goten X
Okay that fixed one of the problems. Thank you. =] It now displays the whole name.

But it still doesn't update when the name is changed in-game without having to relog.
In response to Moussiffer
Because you're just defining it when you log in. If you want it to update, put that winset action into a proc and call the proc whenever you need the variable updated.
In response to Legendary Goten X
Could you explain how to do that?
In response to Moussiffer
mob

proc

update()
winset()

verb

do_something()

//do_stuff
update()


Every time you do_something(), your winset() is updated. Of course you'd replace the do_something() command with whatever it is you're doing.
In response to Legendary Goten X
You sir, are a gentleman and a scholar. That worked perfectly. Thank you very much. =]