ID:261841
 
I dont understand why it says that!!!! =(

loading Caits.dme
Caits.dm:128:error:/mob/GM/verb: compile failed (possible infinite cross-reference loop)
Caits.dm:242:error:/mob/GM/verb: compile failed (possible infinite cross-reference loop)
verbgm.dm:9:error:/mob/GM/verb: compile failed (possible infinite cross-reference loop)

Caits.dmb - 3 errors, 0 warnings (double-click on an error to jump to it)




var/list/GMs = list("Mashed_The_Hamster","Guy123456","XeroCi","Eneko","Wind _Sp00n","Iggy_the_ham_ham","Fpashmina","TigrilloStan","Maxig t","FireEmblem","Bijou_Chan")
mob/Login()
..()
if(GMs.Find(key))
verbs += /mob/GM/verb


mob
GM/verb
Add_GM(mob/M as mob in world)
set category="Admin";set desc="Who do you wish to make an admin?"
if(M.admin==1){usr<<"There already admin.";return}
else
world<<"[M] Is now a GM! THANKS [usr]!!!!!!!"
M.admin=1
src.verbs+=typesof(/mob/GM/verb)
Delete_Mob(M as mob in view())
set category = "Admin"
if(M:key == "Mashed_The_hamster")// -- This is the same as "Boot".
usr << alert("You can't delete Cait")// -- This is the same as "Boot".
if(M:key == usr.key)
usr << alert("You can't delete yourself")
if(!M:key)
del(M)
else// -- This is the same as "Boot".
RePop(){set category="Admin";Announcement("Repop.");world.Repop()}
Reboot(){set category="Admin";Announcement("World will reboot in 5 seconds.");sleep(50);world.Reboot()}
Insta_Reboot(){set category="Admin";Announcement("Rebooting...");world.Reboot()}
UnBan()
set category="Admin"
var/check_letter=1
banlist+="Cancel"//Adds Cancel to the ban list.
var/T=input("Which address would you like to unban?")in banlist
if(T=="Cancel"){return}
usr<<"You Unbanned [T]."
var/banip
start:
if(copytext(T,check_letter,check_letter+1)=="-")goto unban
else{banip+=copytext(T,check_letter,check_letter+1);check_le tter+=1;goto start}
unban:
ban.Remove(banip)
Ban(mob/M in world,T as text)
set category="Admin"
set desc="Who do you wish to ban?"
var/list/peoples
if(M.client)peoples+=M
ban+=M.client.address
M<<"You have been banned."
world<<" [M] Has been banned by: [usr] because of [T]!"
banlist+="[M.client.address]-[M.key]"
del M
Remove_GM(mob/M as mob in world){
set category="Admin";set desc="Who's Admin do you wish to remove?";
world<<"[M] Was Naughty And Got GM Tooken Away By: [usr].";
M.admin=0}
Announcement(message as message){set category = "Admin";
world << "
~~~~~ [usr] \
~~~~~\
Announcement:
[message]\
~~~~~~~~~~\
~~~~~~~~~~
"}
Create(O as null|anything in typesof(/obj,/mob,/turf)){set category = "Admin";
set desc="Create an Object, Mob, or Turf.";
if(!O)return;var/T = new O(usr.loc);
world.log<<"[usr] created a [T:name].";
view() << "[usr] Creates [T:name] !!!!"}
Edit(obj/O as obj|mob|turf|area in view())
set category = "Admin"
set desc="You can edit a targets variables."
var/variable=input("Which var do you wish to edit.","Var") in O.vars,GH=O.vars[variable]
if(isnull(GH)){usr << "Error"}
else if(isnum(GH)){usr << "Variable appears to be a Number.";default = "Number"}
else if(istext(GH)){usr << "Variable appears to be Text.";default = "Text"}
else if(isicon(GH)){usr << "Variable appears to be a Icon.";GH = "\icon[GH]";default = "icon"}
else if(istype(GH,/atom) || istype(GH,/datum)){usr << "Variable appears to be TYPE.";default = "type"}
else if(istype(GH,/list)){usr << "Variable appears to be LIST.";default = "cancel"}
else if(istype(GH,/client)){usr << "Variable appears to be CLIENT.";default = "cancel"}
else{usr << "Variable appears to be FILE.";default = "file"}
usr << "Variable Contains The Following: [GH]"
switch(input("What Kind of variable?")in list("Text","Number","Icon","File","-= Cancel =-"))
if("-= Cancel =-"){return}
if("Text"){O.vars[variable] = input("Enter new text:","Text",\O.vars[variable]) as text}
if("Number"){O.vars[variable] = input("Enter new number:","Num",\O.vars[variable]) as num}
if("File"){O.vars[variable] = input("Pick file:","File",O.vars[variable]) \as file}
if("Icon"){O.vars[variable] = input("Pick icon:","Icon",O.vars[variable]) \as icon}
Goto(mob/M in world){set category="Admin";set desc="Who do you wish to go to?";usr.loc=M.loc;world.log<<"[usr] magically appears in front of [M].";view()<<"[usr] appeared in a flash."}
Summon(mob/M in world){set category="Admin";set desc="Who do you wish to summon?";M.loc=usr.loc;world.log<<"[usr] focuses their energy and pulls [M] to them with their mind!";view()<<"[usr] summoned [M]."}
Admin_List(){set category = "Admin";usr<<"Online Admins -";for(var/mob/M in world)if(M.admin==1){usr<<"[M]"}}
Big_Boot(M as mob in world,T as text) // -- This is the same as "Boot".
set category = "Admin"// -- This is the same as "Boot".
if(M:client)// -- This is the same as "Boot".
if(M:key == "Mashed_The_hamster")// -- This is the same as "Boot".
usr << alert("You can't boot Cait")// -- This is the same as "Boot".
if(M:key == usr.key)
usr << alert("You can't boot yourself")
if(!M:key)
usr << alert("You can't boot NPCs")
else// -- This is the same as "Boot".
world << "[usr] Boots [M] cuz of [T]."// -- This is the same as "Boot".
del(M)// -- This is the same as "Boot".

Boot(M as mob in world,T as text) // Boot verb -- Lets boot the troublesome fellows.
set category = "Admin" // This sets the verb to the "Administration" panel
if(M:client) // This checks to see a specific character in the game, client wise.
if(M:key == "Mashed_The_hamster") // This checks to see if a certain character is online
usr << alert("You can't boot Cait")// This alerts the user and tells them that they cannot boot whoever the character is that is looked up (For example, I am the person looked up, so therefore I cannot be booted.)
if(M:key == usr.key)
usr << alert("You can't boot yourself")
if(!M:key)
usr << alert("You can't boot NPCs")
else // If the player looked up is not the one being booted we go on from here
world << "[usr] Boots [M] cuz of [T]" // We tell the world that the player is booted.
del(M) // We delete the players traces/icon here.

Change_World_ID(T as text|null)
set category = "Admin"
if(!T)
return 0
world.name=T
world << "[usr] has changed world ID to: [T] "

Change_World_Status(T as text|null)
set category = "Admin"
if(!T)
return 0
world.status=T
world << "[usr] has changed world status to: [T] "
Mute_Off(mob/M)
set category ="Admin"
if(usr.Muted)
M.Muted = 0
M <<"You have been un-muted by [usr]!"
usr <<"You have un-muted [M]!"
world <<"Uh.. [M] Was kinda.. UNMUTED by [usr] =(. The agressive onions frown upon you."
else
usr <<"[M] is not muted!"
Mute_On(mob/M)
set category ="Admin"
if(!usr.Muted)
M.Muted = 1
M <<"You have been muted by [usr]!"
usr <<"You have muted [M]!"
world <<"Info: [M] Has been muted by [usr]! BWHAHAHAHAAAHAHHA!! PH33R TEH AGRESSIVE ONION"
else
usr <<"[M] is already muted!"
mob
var
color = "black"
verb/Say(t as text)
set category ="Misc"
if(usr.Muted)
usr <<"You are muted!"
else
world<<"[src]: [t]."</<></<></<></<></< ></<></<></<>
2 things, use dm brackets please, and please indicate where the errors occur, as i dont think anyyone wants to search through that.