05.10.2011, 14:49
I have the /report [ID] [Reason] in my script followed by admin commands /acceptreport(/ar) [Id] and /markfalse [Id]. I want to make three more commands to end a report, /reply /endreportgood [Reason] Or /endreportbad [Reason]
Here's my questions, I want to create a ReportLogs.txt. Where when a player reports something it is logged into a file. The file would write something like this in the TxT file. How would i go about doing so? Can someone point me in the direction of a useful tutorial, or explain where i would start?
Example Of A Good Ended Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: He Deathmatched Me. //Line One
Administrator: Santario_Leone has Accepted ReportID [ID] From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Good because [Reason]
Example Of A Badly Ended Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: He Deathmatched Me. //Line One
Administrator: Santario_Leone has Accepted ReportID [ID] From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Bad because [Reason]
Example Of A Marked False Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: noobs. //Line One
Administrator: Santario_Leone has Marked ReportID [ID] False From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Bad because [Reason]
Here's my questions, I want to create a ReportLogs.txt. Where when a player reports something it is logged into a file. The file would write something like this in the TxT file. How would i go about doing so? Can someone point me in the direction of a useful tutorial, or explain where i would start?
Example Of A Good Ended Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: He Deathmatched Me. //Line One
Administrator: Santario_Leone has Accepted ReportID [ID] From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Good because [Reason]
Example Of A Badly Ended Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: He Deathmatched Me. //Line One
Administrator: Santario_Leone has Accepted ReportID [ID] From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Bad because [Reason]
Example Of A Marked False Report:
[10/2/2011 >10:40A.M]ReportID[ID]Reginald_Bailey reported Tom_Hanks. Reason: noobs. //Line One
Administrator: Santario_Leone has Marked ReportID [ID] False From Reginald_Bailey. //Line Two
CompletedReport: Reginald Bailey Ended ReportID[ID] Bad because [Reason]