ID:169738
 
After calling a load command from the main menu, I'm trying to make the load proc call the level proc to check if the user's level again. I placed a text command in the while loop so I can tell if the level proc is running but nothing happens. The level proc doesn't run at all. Can anyone please help?

mob
player
RF(var/mob/player/M)
//Load code goes here.
sleep(40)
Lvl(M)


Also, My items pnel doesn't show what items the user has. Can anyone help?(I added a few ways to tell me if i was able to pick up the item or not and if the item was in my inventory.) So what it comes out with is:
Yes
You picked up [item]
But it doesn't show up on my inventory panel.
obj
Item
verb
Get()
set src in oview(1)
if(Move(usr))
if(src in usr.contents)
usr << "Yes"
else
usr << "No"
usr << "You got the [src]"
del(src)
usr.verbs += /obj/Item/verb/Equip
usr.verbs += /obj/Item/verb/Drop
else
usr << "You couldn't get [src]"
Also, My items pnel doesn't show what items the user has. Can anyone help?(I added a few ways to tell me if i was able to pick up the item or not and if the item was in my inventory.) So what it comes out with is:
Yes
You picked up [item]
But it doesn't show up on my inventory panel.
> obj
> Item
> verb
> Get()
> set src in oview(1)
> if(Move(usr))
> if(src in usr.contents)
> usr << "Yes"
> else
> usr << "No"
> usr << "You got the [src]"
> del(src)
> usr.verbs += /obj/Item/verb/Equip
> usr.verbs += /obj/Item/verb/Drop
> else
> usr << "You couldn't get [src]"
>


It's not showing up because you no longer have it. You're deleting it as soon as you pick it up. Incidentally, a proc or verb whose src is deleted will stop immediately, so nothing after that del(src) line would even be processed.
In response to Fuuhaa
OK. Thanks for helping me with that.