ID:1712328
 
(See the best response by Super Saiyan X.)
mob/gm
verb/tmp
Give_Skill(var/mob/m in players)
set category = "Admin"
var/list/skills = typesof(/mob/rank/verb, /mob/Teachable/Combat/verb, /mob/Teachable/Movement/verb)
var/n = input("What skill would you like to give?") in skills
m.verbs += n


mob
proc
AdminCheck()
if(src.ckey in adminlist)
src.admin = adminlist[src.ckey]
switch(admin)
if(null)
if(1)
src.verbs+=typesof(/mob/mod/verb)
if(2)
src.verbs+=typesof(/mob/mod/verb, /mob/gm/verb)
if(3)
src.verbs+=typesof(/mob/mod/verb, /mob/gm/verb, /mob/admin/verb)
if(4)
src.verbs+=typesof(/mob/mod/verb, /mob/gm/verb, /mob/admin/verb,/mob/host/verb)
if(5)
if(scert == "Certified")
src.verbs+=typesof(/mob/mod/verb, /mob/gm/verb, /mob/admin/verb, /mob/coded/verb)
if(6)
src.verbs+=typesof(/mob/mod/verb, /mob/gm/verb, /mob/admin/verb, /mob/coded/verb, /mob/host/verb,/mob/member/verb)



Admin.dm:39:error: /mob/gm/verb: compile failed (possible infinite cross-reference loop)
Admin.dm:41:error: /mob/gm/verb: compile failed (possible infinite cross-reference loop)
Admin.dm:43:error: /mob/gm/verb: compile failed (possible infinite cross-reference loop)
Admin.dm:46:error: /mob/gm/verb: compile failed (possible infinite cross-reference loop)
Admin.dm:48:error: /mob/gm/verb: compile failed (possible infinite cross-reference loop)
Admin.dm:262:error: n: compile failed (possible infinite cross-reference loop)

Obviously its scared I'm going to make this GM verb give myself the same GM verb.. (why does that even matter? I could give anyone the same verb twice with the current verb) How do I make it stop complaining about this?
Best response
You have an indentation error. m.verbs +=n needs to be shifted over to the left once.
oh