Skip to content

Latest commit

 

History

History
61 lines (45 loc) · 1.89 KB

README.md

File metadata and controls

61 lines (45 loc) · 1.89 KB

WC3 Code Paste Helper

This small script helps you to paste Lua code from your editor to Eikonium's Lua Debug Console for execution. This console can accept multi-line input of code when you prepend it with >.

All you have to do:

  1. Copy code in editor
  2. Go to game and press CTRL+B to paste it as multi-line code

For example, copy this code:

x = 19
y = 2
print("x + y = ".. x + y)

will be pasted in game chat like this to be executed:

>x = 19
>y = 2
print("x + y = ".. x + y)

Watch the video here

wc3-helper.mp4

Features:

  • Fast
  • Multi-line paste
  • Prepares code lines for you
  • Skips empty lines
  • Warns about lines too long for chat (max: 127 characters)
  • Audio indicators
  • Restores your clipboard after pasting in WC3
  • Configurable
  • Probably many false-positives by anti-virus software (complain to them about it)
    • Why? AutoIt was used by scriptkiddies in the past, but it doesn't excuse a blanket ban that flags ALL au3 scripts as malware.

Usage instructions

Exit the program: there'll be an icon in tray. Right Click -> Exit. Note: if you just right click the icon, the script will be paused immediately. You need to unpause it to use.

Compilation instructions:

It uses AutoIt3, download and install it. Then you can double-click to run the .au3 file or right-click -> compile to EXE.