Scripts
From Anarchy Online Wiki [AOWiki]
Revision as of 06:25, 19 October 2005 by old_Malusz (talk | contribs)
Scripts in AO are textfiles, they are located in "...\Anarchy Online\Scripts\", they have usually no file extention for better handling ingame. They are basically a list of chat commands to be executed on call.
How to create 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 while logged in.)
- type "/testscript" in some chatwindow
- watch yourself 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 ;)