mob
bkadmin
verb
Start_Budokai()
set category = "Budokai Admin"
for(var/mob/M in world)
if(M.client)
M.verbs += budokai
world << "<b><font color = 'red'>Budokai signups have begun!"
End_Budokai_Signups()
set category = "Budokai Admin"
world << "<b><font color = 'red'>Budokai signups have ended!"
for(var/mob/M in world)
world << "<b><font color = 'red'>Budokai signups have ended!"
if(M.client)
M.verbs -= budokai
world << "<b><font color = 'red'>Budokai signups have ended!"
Problem description:
runtime error: wrong type of value for list
proc name: Start Budokai (/mob/bkadmin/verb/Start_Budokai)
source file: Budokai.dm,11
usr: <FONT COL... (/mob/characters/saiyajin)
src: <FONT COL... (/mob/characters/saiyajin)
call stack:
<FONT COL... (/mob/characters/saiyajin): Start Budokai()
runtime error: Cannot read null.vars
proc name: Edit (/mob/Admin/verb/Edit)
source file: Police.dm,785
usr: <FONT COL... (/mob/characters/saiyajin)
src: <FONT COL... (/mob/characters/saiyajin)
call stack:
<FONT COL... (/mob/characters/saiyajin): Edit(null)
I get this error when I try to use the Start_Budokai verb and when I try to use the End_Budokai_Signups verb it repeats "Budokai signups have ended!" a lot. Can anyone tell me how to fix this?
for() loops what you have dont use world << "Budokai signups have ended!" use M<< "Budokai signups have ended!"