ID:272072
 
I have made a code so that when someone wants to see their mission stats, it opens a window in the client's skin and puts the info into it.
    Read_Mission()
set category=null
winshow(usr,"Mission")
usr << output("[src.Tittle]","Mission.Tittle")
usr << output("[src.Reward]","Mission.Reward")
usr << output("[src.Details]","Mission.Details")
usr << output("[src.Target]","Mission.Target")
usr << output("[src.Client]","Mission.Client")
usr << output("[src.Type]","Mission.Type")
usr << output("[src.Completed]","Mission.Completed")
usr << output("[src.icon_state]","Mission.Rank")

the issue is that the << makes the old text stay in the window, so if they look up a mission once the tittle will look like
_______
| Test |
------
But if they look it up again it will look like
_______
| Test |
| Test |
------

How can i make it so the old text is deleted before the new tittle is put in?
You should first erase the previous text on that screen before outputing any new data... thankfully this can be easily done by output()ing null:
        for(var/A in list("Title","Other","ID Endings","like","Reward"))
usr << output(null,"Mission.[A]")
winshow(usr,"Mission")

usr << output("[src.Tittle]","Mission.Tittle")