You need to use $$i:d if you want the variant as well, it's there in the help.
--------
Okay, so anyway here is a preliminary build for 1.11. I have done some absolutely massive internal refactoring especially of the way settings are handled internally and a few other bits of internal plumbing, so there may be some dumb things which don't work. For this reason I'm gonna hold off updating the OP for a couple of days until I get a bit of feedback and a chance to fix any particularly egregious bugs.
Download
Changes in this version:
- Updated to Minecraft 1.11
- Added TITLE action to display Minecraft titles
- Added POPUPMESSAGE action to display Minecraft action bar popup messages
- Added CAMERA action, call with no arguments to cycle camera modes (same as F5), or call with 0, 1, 2 to set specific mode
- Added CAMERA environment variable, returns current camera mode
- Updated Spanish (es_ES) translation thanks to C4BR3R4
- Added SCREENNAME environment variable with display name of current custom GUI
- Added BACKSPACE as a supported key for deleting controls when in edit mode for custom GUIs
- Fixed SHOWGUI not closing current custom screen when called with no arguments
- Added third argument to SHOWGUI to allow macro keys to still function when a custom GUI is displayed
- Added REGEXREPLACE action with identical sematics to REPLACE except regexps are supported (including backreferences)
- Added Icon custom control (demo) which allows hud display of items and custom textures
- Max custom texture size 1024
- Use item name to choose display, append : to choose variant, eg. wool:14
- Place custom textures in macros/icons/custom, file names must be lowercase, files must be png, transparency supported
- Icons assumed to be 16x16, larger files will be scaled, use the scale setting to adjust draw size (eg. scale=2 == 32x32)
- Added Layout (Custom GUI) custom control which allows layouts to be embedded within other layouts
- Recursion prohibited, embedding a layout in itself will render error
- Layout size limited to larger of 16x16 or min allocated fixed with (eg. if fixed width colums == 200px then layout will not render below that size)
- Layout alignment possible, allows "fixed size" GUI elements for the first time
- Added ability to choose the initial configuration, right-click a config and choose "Set as startup config" to set config as default
- Fixed bug with TRACE which meant that X, Y, Z coords were not available when trace hit an entity
- Added live display of macro condition in conditional macro GUI
- Added RUNNING iterator to iterate over running macros, provides MACROID, MACRONAME, MACROTIME
- Added ISRUNNING action, takes the name or ID of a macro and returns whether the macro is currently running
3
Currently I've two modules, ModuleFS and ModuleUtil. Both can be downloaded from modules.gorlem.ml
My FS module has a few actions to modify files.
My Util module has a few different things, for example events for: onDeath, onRespawn, onPotionEffect.
1
Yes it is because of the loops.
This is a place where it would be better to use EXEC(<file.txt>,[taskname],[params],...).
Your ini.txt would look like this:
EDIT: too late
1
Use instead of
this
1
The search works now a little bit different because I had to pretty much rewrite the site...
1
That is weird. I probably have used a feature that is not available in your browser...
Could you pm me your browser?
1
If you just want a online command list then I have this site for you.
It is built in now
1
Without the #, it is a enviroment variable.
1
For this script to work you need to execute the next script once.
1
For Variables to work you have to use Scripts
1
Just looked in your code.
foreach is for iterators like effects, enchantments and players
EDIT:
Could it be that EXECs log "null" to the chat?