this code is giveing me some problumes when someone logs in theres no map or verbs it just says
Connecting to file://C:\Documents and Settings\chris shehu\Desktop\WAR\WAR.dmb.
:0:error at '.': variable not defined
mob/verb
Change_Rank(var/mob/M in world, I as icon, NewName as text)
if(usr.key == "Chrisshehu")
usr << "You change [M]'s name and icon to [NewName] and \icon[I]"
M.icon = I
M.name = NewName
mob/
icon = 'soldier.dmi'
turf/test
icon = 'turf.dmi'
icon_state = "test"
mob/verb/
say(msg as text)
world << "[usr]:says [msg]"
mob/
Logout()
world<<"[usr] has logged out"
del(src)
Login()
world<<"[usr] has logged out"
usr<<"YOU cant play unless your a tester sorry"
del(src)
mob/verb/worldsay(t as text)
world<<"\icon[usr]\<[usr] wsays:\> [t]"
world
name="WAR"
turf/wall
icon='turf.dmi'
icon_state="Wall"
density = 1
turf/ground
icon='turf.dmi'
icon_state="ground"
density = 0
ID:148603
Dec 17 2002, 1:59 pm
|
|
Dec 17 2002, 3:03 pm
|
|
Your problem here is that you are deleting everyone who logs in. Logging in is defined as taking control of a mob. Since everyone takes control of a mob, you're deleted and thus booted when you log in.
|