I'm not even sure how to explain it. I want to give admins the ability to add more admins but and I have a nice little verb for it. The problem I can't use it on people. I'm not sure how to select people... like a target or something. And really, I'd rather have it so I can add an admin from anywhere on the map, not just standing next to the player or in the view.
So what I'm asking for is a way to make all the players logged in to the game at the time pop up in a list when I use the verb.
Sorry for being a noob ;)
ID:273273
![]() Jan 4 2010, 7:44 am
|
|
Thanks bunches.
But now how do I set what verbs it gives? Just fill in more verbs underneath M.verbs+=/mob/GM/verb/Give_Powers/ Like M.verbs+=/mob/GM/verb/Delete_Object/ ????? Then, of course, give meaning to Delete_Object, but still. |
The Miracle Worker wrote:
Thanks bunches. To Give Verbs, Like Announce, Mute, Delete Object, Give Powers and that you need to do this: M.verbs+=/mob/GM/verb/Give_Powers/ M.verbs+=/mob/GM/verb/Delete_Object/ M.verbs+=/mob/GM/verb/Mute/ M.verbs+=/mob/GM/verb/Announce/ But Be Sure, when u add a gm verb do this
mob/GM/verb/(Here the Verb)()
Edit: Where says (Here the Verb) Remove the ( ) -Gohan |
No Problem. xD
mob/Login() -Gohan |
The Miracle Worker wrote:
I think that mob/GM/verb thing is messing with it. I can't seem to get the verb on my key. Sorry, src.verbs+=/mob/GM/verb/Announce/ -Gohan |
I usually do it like this:
//For Adding the verb |
Am I supposed to use "GM" to set my key as a GM somehow? Because I can't get the verb unless I take /GM out.
|
Well, if you want add a Verb you need do this
mob/Login() -Gohan |
Look. I have
Login() and I have mob/GM And I'm still at a loss. I seem to have the verbs when I get on but after I choose a character I lose them. I just spent like 20 minutes going over my savefile system and couldn't find anything that would change my key or take away my verbs. |
The Miracle Worker wrote:
Look. I have > Login() and I have > mob/GM And I'm still at a loss. I seem to have the verbs when I get on but after I choose a character I lose them. I just spent like 20 minutes going over my savefile system and couldn't find anything that would change my key or take away my verbs. Well, When you Choose Character add the if(usr.key=="The Miracle Worker") and the Verbs. and Tell me if that works. -Gohan |
Gohan Games wrote:
Oops, Sorry i was missing that =P I am a day saver. ^_^ |
I found it! Thank you. I was using a library so I wasn't familiar with my own code...
I had a New() process in my character loading code and I fixed it. |
Thats a Simple Give Admin Verb.
-Gohan