After a few minutes of putting my latest game up on the hub a load of people joined and i thought "Great, this is gonna be good after all."
Unfortuanatley there were a few bugs on it that i couldn't see without it being online. The problem was that everyone was MGM without doing anything. I was fine about it for a while because it was only the beta testing for it, so i let them carry on editing their stats and so on.
Later on though people started booting NPC's stripping powers off each other (and me), then one guy by the name of Rick(dont know the key), thought it would be funny to ban me. So i've spent most of my day tring to track him down, and fix my save file and so on.
The point of this post is that who ever you give administrative powers to, theres always gonna be one person to ruin it for the rest.
For shame.
ID:275308
Sep 13 2003, 5:23 am
|
|
In response to Lummox JR
|
|
I should have it right, this is what i have...
mob Login() if(src.key == "Evil Guy"||src.key == "Boys") MGM=1 src.verbs += new/mob/admin/verb/GM_Login else ..() this should make it so that when me or my brother joins that are MGM and given the GM_Login verb, but for some reason everyone has it too. |
In response to Evil Guy
|
|
Evil Guy wrote:
I should have it right, this is what i have... Well, the "new" call couldn't have helped matters any. Lummox JR |
In response to Lummox JR
|
|
Well, i have seen te same thing happen in my game, but i cant remember what i did wrong. It seems to be a problem with the || opirator. I know that if you put the keys in a list then search the list, it will work fine. If you dont know how to do it, take it over to newbie central and ask.
|
In response to Scoobert
|
|
Scoobert wrote:
Well, i have seen te same thing happen in my game, but i cant remember what i did wrong. It seems to be a problem with the || opirator. I know that if you put the keys in a list then search the list, it will work fine. If you dont know how to do it, take it over to newbie central and ask. Evil Guy used the || operator correctly here, but I'd guess you did something like this: // this code is wrong Lummox JR |
In response to Lummox JR
|
|
Or to put in other terms:
// this code is wrong if(src.key == "Scoobert" || "Mr. Ed" || "Gray Davis") ... // this code is right if(src.key == "Scoobert" || src.key == "Mr. Ed" || src.key == "Gray Davis") ... :) |
Lummox JR