• 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 "AllianceChat"
    Differences between revisions 2 and 2
    Revision 2 as of 2012-12-06 18:42:11
    Size: 1232
    Editor: Inanna
    Comment:
    Revision 2 as of 2012-12-06 18:42:11
    Size: 1232
    Editor: Inanna
    Comment:
    No differences found!

    Usage:

    alliancechat message

    Example:

    alliancechat Hello friends!

    Allows you to send a message to alliance chat. Expressions do not yet work with this, but can be used along with the Execute command.

    An example of how to use Execute with this command as part of your defensive script could be:

    • // Alert my alliance with a message like "Help, I have 5 incoming waves to 400,123"
      if (city.NumberOfRealAttacks > 0) execute "alliancechat Help, I have " + city.NumberOfRealAttacks + " incoming waves to " + city.coords


    ScriptAccount

    AllianceChat (last edited 2012-12-06 18:42:11 by Inanna)