ID:158585
 
        Delete_GM_Notes()
set category = "Admin"
set name="GM Notes (Delete)"
GMlog = new()//deletes all entries in the list
fdel("savefiles/GMlog.sav")//deletes the save file for reports
Check_GMnotes()
set category = "Admin"
set name="GM Notes (Read)"
var/html = {"<font size=3><b>GM NOTES: </b></font size>
<hr>
<font color=black>
<font size=2>"}

if(length(GMlog))
for(var/R in GMlog)
html+="[R]<br><br>"
else
html+="<br><b>No GM NOTES</b>"
html+="<br>---------------------------<br><br><b><u>Current Time</u>: [time2text(world.realtime)]</b>"
usr<<browse(html,"window=who,size=550x600")
Write_GMnotes(msg as text)
set category = "Admin"
set name="GM Notes (Write)"
if(!msg) return
GMlog+="[time2text(world.realtime)] - <b>[usr.client.address] - [usr] ([usr.key])</u></b><br>[html_encode(msg)]<br>---"
usr << "Your note has been saved"
var
list
GMlog = list()

The only problem is that the save files for the log do not save after a reboot. (BTW the coding isn't actually this sloppy its just i had to take pieces from different spots and put it onto here.)
Where are you actually saving the log?
Use text2file() to add your message to a log file, like this:

mob/verb/AddNotes(message as message)
message = "([time2text(world.realtime)]) [src.key]: [message]"
text2file(message, "log.txt")
src << "Your message has been recorded."
In response to Kaiochao
In response to Louisthe10
Nothing saves on its own.
In response to Foomer
how come now i am not able to read them at all