mob icon = 'p.dmi' Login() loc = locate(/turf/start) verb say(msg as text) // "as text" saves it as a text file. MSG is merely the variable name. world << "[usr] says, '[msg]'" whisper(M as mob, msg as text) M << "[usr] whispers to you, '[msg]'" set_name(nme as text) //Variable "nme" is going to be set to name, shown later in script. set desc = "Change your name." name = nme look_at() set src in view() view() << "[usr] looks at [src]." //Advantage of using this over an argument is the player gets to choose the mob on a list. grin_at() set src in view() view() << "[usr] grins at [src]." check_weather() usr << weather check_life() //Tells players their current life. Different responses depending on how wounded they are. if (usr.life > 75) usr << "\blue You have [life] life points remaining!" else if(usr.life > 50) usr << "\blue You have [life] life points remaining! You are hurt, you might want to find a way to heal yourself." else if (usr.life > 25) usr << "\blue You have [life] life points remaining! You are hurt really badly, find a way to heal yourself!" else usr << "\blue You have [life] life points remaining! You are nearly dead! Find healing!"