ID:144016
 
obj
Paper
icon = 'icons.dmi'
icon_state = "Paper"
verb
pickup()
set src in oview()
Move(usr)
wright_on(msg as message, msg = src.desc)
src.desc = msg



Problem description: How would i do this? I want the message to start out as the old desc. of the item so they can change it.

There's your problem:

            wright_on(msg as message, msg = src.desc)


Remove the <code>msg = src.desc</code> part of the line, and you should be fine. I don't really understand what you were trying to do there, since you already set <code>src.desc</code> to <code>msg</code> at the neighboring line below.
Instead of message use text like this.

obj
Paper
icon = 'icons.dmi'
icon_state = "Paper"
verb
pickup()
set src in oview()
Move(usr)
wright_on(msg as text)
src.desc = msg
In response to Northern Rabbit
Northern Rabbit wrote:
There's your problem:

wright_on(msg as message, msg = src.desc)

Remove the <code>msg = src.desc</code> part of the line, and you should be fine. I don't really understand what you were trying to do there, since you already set <code>src.desc</code> to <code>msg</code> at the neighboring line below.

I think he was trying to put the old description into the message box, to be able to edit it again, like change somthing on it or somthing.

Just a guess.
RuneKingOmega wrote:
obj
Paper
icon = 'icons.dmi'
icon_state = "Paper"
verb
pickup()
set src in oview()
Move(usr)
wright_on(msg as message, msg = src.desc)
src.desc = msg

What, you could possibly do is this.

obj/Paper
icon = 'icons.dmi'
icon_state = "Paper"
name = "Paper"
verb
Write_On()
var/txt input("What, do you wish to write","Paper","[txt]") as null|text //null| adds a cancel option.
if(!txt) return //If the text is blank, just return it
else
usr << "You wrote [txt]" //Tells the person what they wrote