ID:143129
 
Code:is this correct ? I tryed but there is a error
mob/Squad1
verb
MakeLieutenantGeneral(mob/M in world)
set category = "Squad"
if(src.Race=="Shinigami")
if(src.Squad=="Squad One")
src.Rank="13th Division Lieutenant"
world<<"<font color=red>[src] has been promoted to 1st Division Lieutenant by [usr]!"
src.verbs += typesof(/mob/RemoveLieutenantGeneral/verb)


Problem description:CaptainVerbs.dm:9:error:/mob/ RemoveLieutenantGeneral/verb: compile failed (possible infinite cross-reference loop)

If there's only oneof that verb, just directly add that verb. If there are other verbs of that pathtype, thats when you use typesof.
In response to Pyro_dragons
its is ok if i added this right
src.verbs += (/mob/Squad1/verb)


Its still says the same error