• My Pages
  • Comments
  • Add Link
  • Subscribe
  • Subscribe User
  • Edit (GUI)
  • 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 "PromoAddFriend"
    Differences between revisions 1 and 2
    Revision 1 as of 2015-10-28 16:24:00
    Size: 926
    Editor: Inanna
    Comment:
    Revision 2 as of 2015-10-29 00:59:10
    Size: 962
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 4: Line 4:
    // compliments of Sericom, I think

    This one is very very commonly requested.. bascially everytime Evony runs a holiday promo. Copy and paste this script into the script window of any alt in your alt alliance, click run. It will output an addfriend xxx line for each member in the alliance into your log window below. You can then copy the outputted script and share it with your alliancemates/friends so that they can add your alts before coining.

    • // compliments of Sericom, I think
      command "members"
      echo $result.replace(/"([^"]+).+/gm, "addfriend $1").split("\n").splice(1).join("\n")

    If you'd like to clear your friendslist first, in order to remove people that have quit/sold, you can run this one first on your main:

    • execute "removefriend " + player.friendBeansArray[0].userName
      if player.friendBeansArray.length > 0 loop

    Please note both scripts can take awhile to complete running if you have a lot of people to add or remove.


    ScriptExamples

    PromoAddFriend (last edited 2015-10-29 00:59:10 by Inanna)