• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (Text)
  • Rename Page
  • Copy Page
  • Load Page
  • Save Page
  • Delete Page
  • Attachments
  • Check Spelling
  • Diffs
  • Info
  • Revert to this revision
  • XML
  • Render as Docbook
  • Print View
  • Raw Text
  • Delete Cache
  • Like Pages
  • Local Site Map
  • Remove Spam
  • Package Pages
  • Sync Pages
    • Diff for "CleanReports"
    Differences between revisions 1 and 4 (spanning 3 versions)
    Revision 1 as of 2012-09-09 22:25:14
    Size: 1321
    Editor: Inanna
    Comment:
    Revision 4 as of 2012-09-09 22:27:24
    Size: 991
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 2: Line 2:
    ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">cleanreports barbarian cleanreports troops,lake || ||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; background-color: rgb(242, 242, 242); ">Example:||<style="border-style: solid; border-color: rgb(170, 170, 170); padding: 0.2em; ">cleanreports barbarian<<BR>>cleanreports troops,lake ||
    Line 5: Line 5:

    An example that should delete all reports you have could be:

     {{{
    // Everything with the word 'attack' in it
    cleanreports attack
    // Everything with the word 'scout' in it
    cleanreports scout
    // Everything with the word 'attackers' in it, such as ''attackers arrived'' or ''attackers returned''.
    cleanreports attackers
    }}}
    Line 20: Line 9:
    CategoryAllScripts CategoryFunctionScripts CategoryAllScripts CategoryGeneralScripts

    Usage:

    cleanreports searchstring

    Example:

    cleanreports barbarian
    cleanreports troops,lake

    This command will go through your reports searching both Subject & To Headers, and deleting anything that matches your search string from them.

    This command will clean all reports generated, not just the ones from the running city.


    CategoryAllScripts CategoryGeneralScripts

    CleanReports (last edited 2013-03-30 07:18:08 by Inanna)