mob/player/verb
intangibility()
density=0
usr<<"You body is able to phase through object for a set period."
sleep(g)
g=specialtime
usr<<"You body has returned to it's normal density."
density=1
Problem description: I want the time frame of sleep to depend on a var that mob holds.
mob
var
specialtime=20
sleep(src.specialtime)
in that instance. sleep takes a number argument. It doesn't matter if it's a literal value or a variable, just make sure whatever you put between those parenthesis evaluates to a number.
In Dreammaker, you can also press F1 on commands to get a detailed description (in most cases, at least).