ID:161570
 
you know how if ur in a situation where u really need something fast but u just cant remember what it is or supposed to be or w/e? well im in that i have all my codes done and i have to where if usr.key == "SadoSoldier" then i get owner verbs so how do i make the owner tab show up?
i add the verbs like this
usr.verbs += typesof(/mob/Owner/verb/)

brain block!! i just found a host but i need the code fixed =\
For yourself being a master, you want:

mob/owner
key = "SadoSoldier"
verb
verbs here
In response to Darkmag1c1an11
Unless there's some funky stuff involving the key variable, that won't work.
In response to Darkmag1c1an11
ahhhhhhhhhhhhhh that made 63 errors OO also im not the only owner
In response to Popisfizzy
can you help me?
In response to SadoSoldier
You didn't just try to copy and paste my code, did you? Because I didn't write that in Dream Maker, I wrote it on the forum and used spaces.

And if you have multiple owners, use a list.
In response to Popisfizzy
It does work, it's straight from the DM guide in fact.
In response to Darkmag1c1an11
no i didnt
In response to Darkmag1c1an11
Hmm. I've never seen it used like that.
SadoSoldier wrote:
you know how if ur in a situation where u really need something fast but u just cant remember what it is or supposed to be or w/e? well im in that i have all my codes done and i have to where if usr.key == "SadoSoldier" then i get owner verbs so how do i make the owner tab show up?
i add the verbs like this
usr.verbs += typesof(/mob/Owner/verb/)

brain block!! i just found a host but i need the code fixed =\

I dont see anything wrong with it, thats how we do it back at OPPD.
If you're using it in a proc, you should use src isntead of usr, read the nifty guide about usr at: http://www.byond.com/members/ DreamMakers?command=view_post&post=35932
mob/proc
MakeLV6Moderator()
src.verbs += typesof(/mob/Admin/verb)
In response to Popisfizzy
You should have looked up the key variable in the DM Reference then. :P
In response to Kaioken
mob/Login()
if(src.key=="Eternal Desire") //may be off with the ='s... cut me some slack i just woke up, lol
/*verb stuff
here*/