ID:262969
 
Code:
mob
verb
Program(T as message)
text2file(T,'Test.txt')


Problem description:
What I need is so when you press program, that the message box will show the last message you put in. For example, I typed HI! and pressed ok, if I press Program again it will show HI!.

->Calus CoRPS<-
mob/var/last
mob/verb/program()
var/t=input(src,"What would you like to program?","Program",last)as message|null
if(!t||t==last)return
last=t
text2file(t,'lol.txt')


Try that.
In response to Hell Ramen
I've been wondering about this...
For a .htm file, you need to use "file.htm", and for a .txt file you need to use 'file.txt' ?