Difference between revisions of "Scripts"
From Anarchy Online Wiki [AOWiki]
m (added category (glossary)) |
|||
Line 17: | Line 17: | ||
** macro: "/macro watch_out /script %t" | ** macro: "/macro watch_out /script %t" | ||
** will result in a shout: "Watch out! A <name of your target>!". | ** will result in a shout: "Watch out! A <name of your target>!". | ||
+ | * %f similiar to %t but its the fighting target. | ||
* /delay x = will pause the script for x milliseconds ( x = 1000 = 1 second) | * /delay x = will pause the script for x milliseconds ( x = 1000 = 1 second) | ||
* /targetself = not sure what this does ;) | * /targetself = not sure what this does ;) | ||
[[Category:Glossary]] | [[Category:Glossary]] |
Revision as of 13:57, 1 July 2005
Scripts in AO are textfiles, they are located in "...\Anarchy Online\Scripts\", they have usually no fileextention for better handling ingame. They are basically a list of chatcommand to be executed on call.
How to make and use a script:
- Open your windows-explorer and go to "...\Anarchy Online\Scripts\"
- Create a new Textfile "testscript" in this folder.
- Open it and type: "/w well well, this is a script, who would have figured...."
- Save and close the file. go ingame (scripts can be modiefied whil logged in.)
- type "/testscript" in some chatwindow
- watch your self whispering: "well well, this is a script, who would have figured...."
All chat commands can be used in scripts, from emotes (/ymca) over shouting (/s) to specific groups (/g "<orgname>"). Some special command usually only used in scripts are:
- %m = a variable replaced with your name
- %1 = a variable, it is the 1st word you typed after the scriptname
- script: "/s Watch out! A %1!"
- macro: "/macro watch_out /script %t"
- will result in a shout: "Watch out! A <name of your target>!".
- %f similiar to %t but its the fighting target.
- /delay x = will pause the script for x milliseconds ( x = 1000 = 1 second)
- /targetself = not sure what this does ;)