ID:155209
 
I'm trying to confine my code so I don't have to constantly type all the different types of categories out. Basically I would like to make it so certain verbs inherit a certain category by using an alias or something.

Here is my code so far:

// *****Player Verbs*****

mob/verb
// *****Chat Verbs*****
say(msg as text)
set src = usr
set category = "Chat"
view() << "[usr.name] says, [msg]"

OOC(msg as text)
set src = usr
set category = "Chat"
world << "[key]: [msg]"

// *****Emote Verbs*****

smile()
set src = usr
set category = "Emotes"
view() << "[usr.name] smiles."

// *****Special Verbs*****

ghost()
set src = usr
set category = "Special"
invisibility = 1
density = 0

// *****NPC*****

Talk()
set src in oview(1)
set category = "NPC"
if(NPC == "Scientist")
usr << "[src]: [Reply] [usr.name]"


Anyone know where I need to look?
Unfortunately what you're asking for isn't possible, you'll have to 'set category' each verb. If you have a lot of verbs in one category you can use the 'default_verb_category' variable to set the default category.
In response to Nadrew
Thanks for the info