Artisan Archive
Thread: What should an alias/macro text file look like?
Page 1 of 1
BronxBenny
Sun Jul 06, 2003 11:08 am
#1
Is there something specific that should go at the beginning and/or end to have it create the macro?
I type in all the commands I want the macro to run, load the text file in-game without a problem, but the macro doesn't end up in the list for me to choose.
What am I missing?
Cieka Esroso on Corbantis
Alphatraz
Mon Jul 07, 2003 12:17 am
#2
You can't actually make macros externally, only aliases.
Your aliases are stored in "C:\Program Files\StarWarsGalaxies\aliases.txt" by default. These are used for all characters. When you /load a text file, it is appended to this file. You can also add aliases while in the game using the /alias command.
Aliases can only be one line, you must use a semi-colon (
to separate commands. Example:
/alias safelogout /sit;/pause 1;/logout
Then you could type /safelogout and your character would sit and then safely logout. You could also just type /safe and it would execute that alias. This fact raises some issues. For example, if you had an alias called "samplewine" that executed the command "/emote samples the wine. BLECH!", when you type /sample to sample resources it would instead use the /sampledrink alias.
Currently there is no way to delete aliases in-game. In order to delete an alias you will have to log out, delete the line from aliases.txt, then log back in. Deleting the line and then typing "/load" won't work; /load simply appends commands to your current alias list.
And finally, you can use aliases in macro commands to put on your toolbar or assign to a hotkey.
Hope this helps
Your aliases are stored in "C:\Program Files\StarWarsGalaxies\aliases.txt" by default. These are used for all characters. When you /load a text file, it is appended to this file. You can also add aliases while in the game using the /alias command.
Aliases can only be one line, you must use a semi-colon (
/alias safelogout /sit;/pause 1;/logout
Then you could type /safelogout and your character would sit and then safely logout. You could also just type /safe and it would execute that alias. This fact raises some issues. For example, if you had an alias called "samplewine" that executed the command "/emote samples the wine. BLECH!", when you type /sample to sample resources it would instead use the /sampledrink alias.
Currently there is no way to delete aliases in-game. In order to delete an alias you will have to log out, delete the line from aliases.txt, then log back in. Deleting the line and then typing "/load" won't work; /load simply appends commands to your current alias list.
And finally, you can use aliases in macro commands to put on your toolbar or assign to a hotkey.
Hope this helps
LeChant
Sat Jul 12, 2003 10:06 am
#5
I'm obviously doing something very wrong.
When I attempted to use these instructions I got an error: "Failed to load aliases from: sample.txt" . . . what am I doing wrong?
I wrote the macro in plain text format:
/stand;/pause 2;/sample;/pause 200;/sit;/pause 240
I saved it in the SWG directory as "samplestuff.txt" ... I went in game and typed: /load sample.txt ... then the error occured.
Any help would be greatly appreciated.
When I attempted to use these instructions I got an error: "Failed to load aliases from: sample.txt" . . . what am I doing wrong?
I wrote the macro in plain text format:
/stand;/pause 2;/sample;/pause 200;/sit;/pause 240
I saved it in the SWG directory as "samplestuff.txt" ... I went in game and typed: /load sample.txt ... then the error occured.
Any help would be greatly appreciated.
Krullgan
Sat Jul 12, 2003 3:32 pm
#6
I wrote somewhat of a FAQ here if your interested, alot of people seem to misunderstand how to get this working
http://forums.station.sony.com/swg/board/message?board.id=artisan&message.id=4691"
Page 1 of 1