ID:178698
 
hey how do you put a verb inside a statpanel without getting the "proc definition not allowed inside another
proc" error.
Please be more specific.
In response to Nadrew

Stat()
statpanel("[src]")
stat("HP:","[src.HP]")
stat("Cash:","[src.Cash]")
statpanel("Commands")


how do i put an attack verb into the Commands statpanel.

thx
In response to Akarat
Are you trying to do something like this?

mob/verb/Attack()
set category = "Attacks"
usr << "You try to attack but fall on your face."



[Edit]

Forgot to close my <DM> tag.
In response to Nadrew
yeah ive done the verb i just cant put it in the statpanel
In response to Akarat
That's because statpanels are for stats not verbs.
In response to Nadrew
but ive played games where u can havel ike attack in there and stuff
In response to Akarat
Did you even read my post. Look at the verb example I showed you mainly at the set category = "Attacks" part.
In response to Nadrew
oooooh sorry man!!

okay thanks great help :)

see ya round!:)