mob/var/roundstarted
mob/verb/start_round()
if(roundstarted == 1)
usr <<"The round has been started already!"
else
world <<"The round has started!"
roundstarted = 1
mob/Login()
. = ..()
world << "{{[usr] enters!}}"
if(roundstarted == 1)
usr <<"The round has already started! Better hurry up!"
else
usr <<"The round has not been started yet.. please wait."
mob/Logout()
. = ..()
world << "{{[usr] leaves!}}"
del src
mob/verb/say(msg as text)
world <<"[usr]: [msg]"
theres the code: Heres the error and where it goes when clicked!
loading Gem Quest.dme
Gem Quest.dm:14:error::invalid expression
Gem Quest.dmb - 1 error, 0 warnings (double-click on an error to jump to it)
jumps to:
if(roundstarted == 1)
ID:178428
May 14 2002, 9:53 am
|
|
In response to Emperor Beld
|
|
i dunno where it should go!
|
In response to ShadowSiientx
|
|
unindent them once
|
In response to ShadowSiientx
|
|
ok..il just send the code how it should be
mob/Login() . = ..() world << "{{[usr] enters!}}" if(roundstarted == 1) usr <<"The round has already started! Better hurry up!" else usr <<"The round has not been started yet.. please wait." something like that |
In response to Emperor Beld
|
|
You might also want to close the red with
</font></b> |
i dont think if (roundstarted ==1),else, and the messages need to be indented that far