ID:168108
 
ok, I cant seem to figure a way to make it to where only the GM can use certain codes, or even see the GM tab on the hub. please help. Thx
Move the verbs over to some random unused mob type. (/mob/GM, for example)
Add their ckey or key to a list and check if they're in the list.
If they are, give them typesof(/mob/GM/verb).
In response to Artemio
ckey? key?

you mean like

mob/GM/verb

GM_say
category stuff
stuff
other GM command
category stuff
other stuff


Im still new to this language so bare with me a little lol
Albire wrote:
ok, I cant seem to figure a way to make it to where only the GM can use certain codes, or even see the GM tab on the hub. please help. Thx

little question, just to be sure
(thrust me, its a mistake i and others often make)
do you have a statpanel?
(sorry if i sound stupid, just a mistake some often make)
no offence ok?
In response to Meganutter
stat panel?

im guessing i dont. if you mean like a tab for just the stats of the player, no, i have the default one for verbs and one for the GM commands, but i havent put one in for stats yet
In response to Albire
For that, look up statpanel() proc. Best thing is, how boring it may sound, press F1 in dreamseeker and read about simply everything described there.
ok, i added the stat panel, moved the verbs...only thing is, now i cant figure out how to make my mob a ,ob/gm kind.
i comed throough the help and the guid, but couldnt find it. sorry for being do uselesss lol.
In response to Albire
Albire wrote:
> mob/GM/verb
>
> GM_say
> category stuff
> stuff
> other GM command
> category stuff
> other stuff
>

my key = "VcentG". ckey = "vcentg" key has to be exact ckey is it all uncaps.

var/list/GMs = list("Albire","VcentG")
mob/Login()
if(src.key in GMs)
src.verbs += typesof(/mob/GM/verb/)
mob/GM/verb
GM_say
category stuff
stuff

In response to VcentG
THAAATS what istype is lol, ok thx a million lol =) now i can do admins and different player types too =D
In response to Albire
1 - Open Dreammaker
2 - Hit 'F1'
3 - Rejoice in the information you can now look up on your own.
In response to Jp
(Just a hint: You can use datums to store the GM commands, andit would take up less space on your mob list)

/GM/verb/
In response to Albire
look through the demos. there are plenty of them.