Commands - all players

MEC core version: 2.3

  • -vertexColor (vc, wild) [ <red> <green> <blue> [<transparency>] ]
    Without parameter takes a random vertex color without changing transparency
  • -vertexColorRed (vcr) [<red>]
    Changes the red part of the vertex color only
  • -vertexColorGreen (vcg) [<Green>]
    Changes the green part of the vertex color only
  • -vertexColorBlue (vcb) [<Blue>]
    Changes the blue part of the vertex color only
  • -vertexColorTransparency (vct) [<transparency>]
    Changes the transparency of the hero
  • -noVertex (nv)
    Put normal vertex color : RGB(100, 100, 100) with 0 transparency
  • -colorInfo (ci) [<Pcolor>]
    Displays base color and vertex color of a hero
  • -effect (ef) <effect>
    Adds an effect on each hand of the hero
  • -customEffect (ce) <effect> <body_part>
    Adds an effect on a body part of the hero
  • -effectsEverywhere (efe) <effect>
    Adds the same effect to each body part of the hero
  • -deleteEffects (de) [<numberOfEffectsToRemove>]
    Delete a specified effect of the hero or all effects if not specified
  • -cameraField (cf) x
    Changes the camera field (height), default is 2500
  • -debugCameraField (dcf)
  • -resetCamera (rc)
    Put the camera back like chosen field
  • -resetCameraInit (rci)
    Changes the camera field back to its default value (2500)
  • -animation (an) <string>
    Makes your hero doing an animation
  • -mapNbMonsters (mnbm) [moving(m)|all(a)|notMoving(nm)]
    "moving" is the default value
  • -levelNbMonsters (lnbm) [moving(m)|all(a)|notMoving(nm)|bookOfLife(bol)]
    "moving" is the default value
  • -kill (kl)
    Kills your hero
  • -kick (kc)
    Kicks yourself
  • -getTerrainInfo (gti) [ <terrain> | <lowInteger> <upInteger> ]
  • -getMonsterInfo (gmi)
    Click on a monster to get its info
  • -getDoorAndKeyInfo (gdaki)
    Click on a key, or near a door, to get the info of the door and its key
  • -stop (s)
    Stop creating monsters or terrain or stop getTerrainInfoMode or getMonsterInfoMode
  • -disco (d) [off|1~30]
    choose the number of color changes in ten seconds, or stop color changing (without parameter once a second)
  • -clearText (clr)
    Remove the text on the screen
  • -usedTerrains (ut)
    Display the terrains already used (onto the map) during this game (16 is the maximum possible !)
  • -drunk () <real drunkValue>
    Value between 5 and 60
  • -noDrunk ()
    Stop drunk mode
  • -autoContinueAfterSliding (acas) <boolean status>
  • -apm () [all|a]
    Displays apm on slide of everybody or just yourself
  • -cpm () [all|a]
    Displays cpm on slide of everybody or just yourself
  • -assign (as) [<modifier>]<key> <command>
    puts a command into any alphanumeric key with of without modifiers ctrl (C) or shift (S) or both (CS)
  • -unassign (uas) [<modifier>]<key>
    Removes the command put into a key
  • -displayShortcuts (ds)
    Displays the commands associated to your shortcuts
  • -saveCommand (sc) <commandLabel> <command>
    Save a command into a name of your choice
  • -executeCommand (ec) <commandLabel>
    Execute a command you saved with "saveCommand"
  • -toggle (tgl) <command>
    Execute <command> with a boolean added at its end, 1 the first time, then 0, then 1... (kept for you and that command). If <command> contains "<bool>", each one is replaced by the boolean instead
  • -getCurrentLevel (getcl) [player]
    Displays the number of the current level (first one is number 0)
  • -leaderboard (ldb) on | off | mb|multiboard|reset | classic | global | current | speedrun
    Displays the leaderboard
  • -firstPersonCam (fpc) on | off
    Displays the first person camera
  • -lockCam (lc, spectate) [<player> | on | off]
    Locks the camera
  • -lockCamRotation (lcr) on | off
  • -lockCamHeight (lch) on | off
  • -spinCam () [speed | off]
    Spins the camera
  • -followMouse (fm) [<boolean>]
    Toggle or set follow mouse mode (active while holding right mouse button)
  • -followMouseMax () <boolean> [neverDisable|nd]
    Follows the mouse
  • -mirror (m, reverse) <boolean>
    Mirrors the camera
  • -ignoreDeathMessages (idm) <boolean>
    Ignores death messages
  • -panCameraOnRevive (pcor) <coop | all | none> [width] [height]
    Pan camera on revive, default width = 2048; height = 1536
  • -panCameraOnPortal (pcop) <boolean>
    Pan camera on portal
  • -showNames (sn) <boolean>
  • -showSlideSpeed (sss) <boolean>
    Shows the slide speed of every hero sliding, yours included, as a percentage of its base speed: the one of its slide terrain, or of -setSlideSpeed. With -showNames too, other heroes show "Name (120%)"
  • -othersTransparency (ot) <number | off | reset> [all | unallied | allied | player]
  • -shadow () <boolean | reset> [all | unallied | allied | player | monsters]
  • -luckyLuke () <boolean | number>
    While your hero slides async, faintly shows its unit, which follows it where the other players see it: on gives it 70% transparency (instead of 100%), a number from 0 to 100 sets another transparency. Off by default
  • -myStartCommands (msc) [ list [player] | add <command> | del <commandNumber> | ec <commandNumber> | set <commandNumber> <command> | delall ]
    Run commands on start of the game
  • -userInterface (ui) off | on | map
    Disable partly or totally the graphical user interface
  • -ally () player
    Ally people, lets you revive them
  • -unally () player
    Unally people, prevents you from reviving them
  • -slideMode (sm) [async|a|asyncClicks|ac|legacy|l]
    How your hero is steered while sliding. async: your own machine moves it, and it follows your mouse in real time (right click to start steering). asyncClicks (the default): your own machine moves it, and it turns towards your right clicks at once. legacy: the slide as it always was, through the network. Without a value, tells the current mode
  • -testAsyncClicks (tac) <boolean>
    Left and right clicks move an effect at once on your screen, and log how much earlier they are read than the network click. Only you see the effect and the logs
  • -hideChat (hc, monk) on | off
    Hides the chat
  • -glow () <boolean> [player]
    Change your slider glow
  • -progression (prog) [player]
  • -autoCircle () [<boolean status>]
    Toggle auto circle for current player
  • -monsterDatabase (mdb, monsterdb) <search>
    Lookup monsters by id, name, or comment
  • -heroStopAction ()
    Use the basic Stop action from WC3 for your selected units
  • -grid () [<falsyBoolean>|1|2|3]
    Toggle grid. Best usage is without parameter to switch between all modes.
  • -setGridOpacity (setgo) <opacity>|(<opacityGrid1> <opacityGrid2> <opacityGrid3>)
    Set the grid opacity in percentage. You can choose values between 5, 10, 15, 25, 50, 75, and 100. Default opacities are 50%, 50%, 25%.
  • -debugCollisions (debc) <boolean>
    Enable of debug collisions for yourself. Shows collisions circles around units.
  • -debugSlideInertia (debsi) <boolean>
    Shows two rays from your sliding hero, 700 long, the acceleration degrees of -physicalTurn times the inertia on each side of where it heads: how far your hero turns from no rotation before reaching its maximum rotation speed. Red while your cursor is between them, green otherwise, none while your cursor is not known. Only you see them. Nothing is shown while -legacySlideInertia is on.
  • -slidingMode () [normal|max]
    Change your sliding mode
  • -help (h, ?) [search terms...] [page]
    List commands. Use page number for pagination (10 per page)
  • -commandHistory (cmdh, cmdhis, cmdhis) [on|off|toggle|clear|1|0]
    Toggle command history display, or clear unpinned commands