Addon2Cosmos + Autoexec Author:Tenvan | - auto-execute of three macros on startup - simple execute one of your macros with a slash-command - simple execute a slash-command in a lua-script - include every slash-command into the cosmos-book (only per script... there is no GUI)
description autoexec.lua:
define a makro with one of the following names: Autoexec <Playername> Afterexec
don't use';' at end of line, because the function try to execute the hole string of the line. on startup they will be executed in this sequence.
you can execute a macro on slash-promopt with this syntax:
/script RunMacroByName('<macroname>'); or /script RunMacroX(id);
id = number of the macro, first is 1
you can execute a slash-command in lua-script with this syntax:
ExecCommand('<slash-command>');
description Addon2Cosmos.lua:
to modify the addon to your own use, open the addon2cosmos.lua and in an editor. here you can find definitions like this:
-- AuctionIt A2CRegData.AuctionIt = { Text = A2C_AI_TEXT, Subtext = A2C_AI_SUBTEXT, Tip = A2C_AI_TIP, Icon ="Interface\\Icons\\INV_Crown_01", Command = function() ExecCommands( {'/ait config','/ait'} ) end, CheckObject = AuctionItFrame }
you can simply add other code of the same syntax, or delete the blocks, which do you not want. thats all. Development Status: stable Added: 2006-02-05 06:48:31 Version: 2.2
Rate this Package: 1 2 3 4 5 6 7 8 9 10
No Screenshots available.
| |
|