• 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 "SetMayor"
    Differences between revisions 11 and 12
    Revision 11 as of 2015-09-07 22:11:23
    Size: 1531
    Editor: Inanna
    Comment:
    Revision 12 as of 2015-09-07 22:12:23
    Size: 1558
    Editor: Inanna
    Comment:
    Deletions are marked like this. Additions are marked like this.
    Line 1: Line 1:
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setMayor attribute ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setMayor pol ||
    ||<tablebgcolor="#F9F9F9" tablestyle="margin:1em 1em 1em 0px;border-style:solid;border-color:rgb(170, 170, 170);color:rgb(0, 0, 0);font-family:sans-serif;font-size:13px;line-height:19.5px;text-align:start; " tableclass="wikitable"#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Usage: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setmayor attribute ||
    ||<#F2F2F2 style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em; ">Example: ||<style="border-style:solid;border-color:rgb(170, 170, 170);padding:0.2em;">setmayor pol ||
    Line 5: Line 5:
    Arguments: att, atk, attack, pol, politics, int, intel, intelligence, none, and remove Valid Arguments:
    .{{{
    att or atk or attack
    pol or politics
    int or intel or intelligence
    none or remove
    }}}

    Usage:

    setmayor attribute

    Example:

    setmayor pol

    Valid Arguments:

    • att or atk or attack
      pol or politics
      int or intel or intelligence
      none or remove

    This command will change your current mayor for one of the specified attributes or will demote the mayor completely. It automatically selects the highest level of the attribute that you specify. This is very useful when creating, upgrading and demolishing buildings via script, as you can specify the highest level politic hero you have to go into office. Capturing a npc10 and only have a level 9 Feasting hall in one city? You can remove the mayor with this command to make sure he marches with the rest of the troops.

    examples:

    • // appoints highest politic hero to mayor
      setmayor pol
      
      // appoints highest attack hero to mayor
      setmayor att
      
      // appoints highest intel hero to mayor
      setmayor int
      
      // demotes current mayor
      setmayor remove
      setmayor none


    ScriptHero

    SetMayor (last edited 2015-09-07 22:12:23 by Inanna)