autoexec_bat Author:Agge@Runetotem | This addon wil allow you to do stuff when your character enters the world.
The addon is named'autoexec_bat' after the autoexec.bat file in good old DOS, that did the same: running stuff at startup. Originally it was named just'autoexec', but there was a naming confict, so I renamed it to'autoexec_bat'
The addon is not a fancy one with GUI. In that respect it is like DOS: text based.
The commandset is as follows
/autoexec help
show a minimal help
/autoexec add<Some commands>
add a command to the startup sequence. Example: /autoexec add /say Hello WOW world
/autoexec list
Lists the current startup set (with sequence numbers)
/autoexec del<command number>
Delete a command from the set. Example: delete command numer 3: /autoexec del 3
/autoexec chatlog /autoexec combatlog
These are specials, and the actual reason why I wrote this: I wanted to make sure that caht and combat log was on always. /chatlog is a toggle, so this command wont do it: /autoexec add /chatlog
use this instead: /autoexec add /autoexec chatlog
/autoexec chatlog looks if chatlog is already running, and then decides if a /chatlog should be issued
Big Example: /autoexec add /e enters the game /autoexec add /gu Hola Riddlebox /autoexec add /autoexec chatlog /autoexec add /w Rugz You are a Pally /autoexec list /autoexec del 4 /autoexec list
Settings is pr. toon, so you can have a autoexec specific for each toon
manuel edit
If you want (nerd alert), you can edit: ...\World of Warcraft\WTF\Account\<YOUR_ACCOUNT>\SavedVariables\autoexec_bat.lua and write your autoexec here:
Code Start:
autoexec = { ['Agge@Runetotem'] = { ['commands'] = { [1] ='/say autoexec.bat', [2] ='/autoexec combatlog', [3] ='/autoexec chatlog', [0] ='-- autoexec for Agge@Runetotem --', }, }, ['Aggemam@Runetotem'] = { ['commands'] = { [1] ='/say hello wow world', [2] ='/yell AGGEMAM', [0] ='-- autoexec for Aggemam@Runetotem --', }, }, }
Code End:
Remember you can only edit Savedvariables when WOW is closed down.
Agge@Runetotem - Warlock of Riddlebox - For the Horde
Rate this Package: 1 2 3 4 5 6 7 8 9 10
| |
|