1) Go in to your Anarchy Online Directory (mine is C:/Program Files/Funcom/Anarchy Online) and create a folder called scripts.
2) Open up notepad, type some text (doesn't matter what just yet) and save it in the scripts folder under the name test.
3) Log into AO and type /test.txt. It should spit out what you put into your notepad file.
Basic scripting:
You can change the color of your text with <font color='#RRGGBB'>text</font>. Common hexidecimal color codes can be found here
You can underline text with <u>text</u>
You can input variables with %1, %2, %3, etc. These can only be replaced by 1 word.
Example:
Script (name is script.txt):
Code: Select all
/tell %1 can you buff me with %2 please?
It will send a /tell to Shohizzle with the text "can you buff me with MOP please?"
Windows:
To make a clickable link that creates a window...
Code: Select all
<a href="text://<br>line 1<br>line 2<br>">Window title</a>
Text commands:
These can only be used in a window. It makes a clickable link that either makes a macro, or sends a /tell, etc.
Code: Select all
<a href="text://<br><a href='chatcmd://text command'>Link title</a>">Window title</a>
Code: Select all
<a href="text://<br>Click --><a href='chatcmd:///macro assist /assist %1'>Here</a><--">Assist Macro</a>
Code: Select all
<a href="text://<br>Level 115-160 AI raid looking for %1 more.<br><br><a href='chatcmd:///tell Shodocizzle'>Click here</a> and send me your profession/level">It's about that time again...</a>
Code: Select all
/tell %1 <a href="text://<br>Omni Ent platform bank is at 985x580<br>that is east of the grid terminal between the wompas">Wrangles Available at Ent Platform Bank</a>