Check_Logs()
set category = "GM"
/*if(MasterGMCheck() != 2)
usr<<System("This verb is reserved for the MasterGM")
return*/
switch(input("Options:","Which log?") as null|anything in list("Suggestion Log", "Bug Log", "Error Log", "Clear All Logs", "Cancel"))
if("Clear All Logs")
switch(alert("Are you sure?","Think Carfully","Yes", "No"))
if("No")
return
if("Yes")
if(!key in Owner)
usr<< "Only the Owner can clear logs"
return
fdel(SLog)
SLog = "<body bgcolor=#000000><font size = 2>"
fdel(BugLog)
BugLog = "<body bgcolor=#000000><font size = 2>"
world<< "All logs cleared by [usr]"
if("Suggestion Log")
switch(input("Options:","Suggestion Log") as null|anything in list("Check Log", "Clear Log"))
if("Check Log")
winset(usr, "browser", "is-visible=true")
src << browse(SLog)
if("Clear Log")
if(!key in Owner)
usr<< "Only the Owner can clear logs"
return
fdel(SLog)
SLog = "<body bgcolor=#000000><font size = 2>"
world<< "Suggestion log cleared"
Problem description:
So I'm fairly new to skins and i'm trying my best but I have a suggestion reporting verb and a GM verb that can call the log but when I do that the text in the browser is black and I can only see it when I highlight it with my mouse... ? Anyone else experience this that can help? Thank you! Let me know if you need more info or snippets.