ID:264592
 
Code:
Leave_Team()
if (usr.BattleNum)
usr << "<font face= \"Comic Sans MS\" size=1>Not while in battle!</font>"
return
if (usr.TeamNum != 0)
usr.verbs-=/mob/Team/verb/Leave_Team
usr.verbs-=/mob/Team/verb/Invite_To_Team
usr.verbs+=/mob/verb/Create_Team
usr.TeamNum = 0
usr << "<font face= \"Comic Sans MS\" size=1>You leave your team.</font>"


Problem description:simple enough it says that /mob/verb/Create_Team: undefined type path. when its not. I cant remember how to fix this and i know its a simple solution


Leave_Team()
if (usr.BattleNum)
usr << "<font face= \"Comic Sans MS\" size=1>Not while in battle!</font>"
return
if (usr.TeamNum != 0)
usr.verbs-=/mob/Team/verb/Leave_Team/
usr.verbs-=/mob/Team/verb/Invite_To_Team/
usr.verbs+=/mob/verb/Create_Team/
usr.TeamNum = 0
usr << "<font face= \"Comic Sans MS\" size=1>You leave your team.</font>"


Try With That.
In response to Revolution Gohan
These was no change in result, just add / to the end really isnt gonna do anything.
Yes, it is. The compiler isn't just randomly lying at you.

Also: Comic Sans is terrible.
In response to Garthor
Only try national.
In response to Revolution Naruto
I figured it out, thanks tho.
National Guardsmen wrote:
Code:
> Leave_Team()
> if (usr.BattleNum)
> usr << "<font face= \"Comic Sans MS\" size=1>Not while in battle!</font>"
> return
> if (usr.TeamNum != 0)
> usr.verbs-=/mob/Team/verb/Leave_Team
> usr.verbs-=/mob/Team/verb/Invite_To_Team
> usr.verbs+=/mob/verb/Create_Team
> usr.TeamNum = 0
> usr << "<font face= \"Comic Sans MS\" size=1>You leave your team.</font>"
>

Problem description:simple enough it says that /mob/verb/Create_Team: undefined type path. when its not. I cant remember how to fix this and i know its a simple solution



Shouldnt it be mob/Team like all the others?

Leave_Team()
if (usr.BattleNum)
usr << "<font face= \"Comic Sans MS\" size=1>Not while in battle!</font>"
return
if (usr.TeamNum != 0)
usr.verbs-=/mob/Team/verb/Leave_Team
usr.verbs-=/mob/Team/verb/Invite_To_Team
usr.verbs+=/mob/Team/verb/Create_Team
usr.TeamNum = 0
usr << "<font face= \"Comic Sans MS\" size=1>You leave your team.</font>"


And
usr.verbs-=/mob/Team/verb/Leave_Team/
usr.verbs-=/mob/Team/verb/Invite_To_Team/
usr.verbs+=/mob/Team/verb/Create_Team/

Doesnt exist as far as I know

-[Edit]-

Oh, you fixed it already -.-
In response to Abrax
Yes, It Works Abrax