ID:140785
 
Code:

mob/Login()
if(client.IsByondMember())
usr.verbs += /mob/verb/FontColor
usr.verbs += /mob/verb/NameColor
else
usr << "For special features, <a href=\
'http://members.byond.com/' >become a BYOND Member</a>!"

return ..()


Problem description:
It doesn't seem to care if the member is a byond member or a regular member. It just gives them the verbs anyway.

mob seems to inherit these verbs by default.
That is because how you defined the verb, you made it a /mob/verb - which means all children of /mob will have that verb.

Use a datum for this type of thing
Sub   //  like how you are defining a /mob/verb
verb
TextColor()
Etc


if(client.IsByondMember())
x.verbs += typesof(/Sub/verb) // Will give all verbs defined under /sub/verb


BTW, try not to use usr in Login(), strange things can occur. Forum search or go to Dream Makers guild and look around for usr abuse as to why. 'src' would be suffice to use here.
In response to GhostAnime (#2)
GhostAnime wrote:
That is because how you defined the verb, you made it a /mob/verb - which means all children of /mob will have that verb.

Use a datum for this type of thing
Sub   //  like how you are defining a /mob/verb
> verb
> TextColor()
> Etc
>
>
> if(client.IsByondMember())
> x.verbs += typesof(/Sub/verb) // Will give all verbs defined under /sub/verb

BTW, try not to use usr in Login(), strange things can occur. Forum search or go to Dream Makers guild and look around for usr abuse as to why. 'src' would be suffice to use here.
Thanks you