Advanced AO Scripting, make menus, popup tips, message boxes,
and make custom options script to easily change all ingame settings
by running a script. I.e Low, Med, Hi or whatever ya wanna call it.
And even some options not available.
But check this out!

The AO Client has a simple
markup language builtin, the ingame help system use it,
but more interestingly you can use it as well.
-------------------------------------------------------------------------
To show a box with some text and a Ok button use the following command.
/messagebox <text to display>
-------------------------------------------------------------------------
To show a text file in a window similar to that of the help system.
/showfile <filename.txt>
(note, showfile path defaults to your "Anarchy Online\cd_image\text\help\" path)
The txt files displayed by /showfile support several advanced command/code features,
as seen in the ingame help system.
#Cxx
Using this sets the color of the text until next colorcode.
xx is a 2 digit color code like #C18 or #C20 etc.
#L "name of link" "link"
This shows a clickable link, make sure you use "" around the text and the link.
Examples:
#L "Show help" "/help"
This makes a link that calls the command /help
#L "Go to next menu" "/showfile anothermenu.txt"
To make a link that leads to another text file.
This is how the AO help menu system works actually.
Just study the help files in "Anarchy Online\cd_image\text\help\" to see how it works.
#L "My dance script" "/mydancescript.txt"
This will run your mydancescript.txt
in your "Anarchy Online\scripts\" folder
If you wish to trigger more than one command inside a link use \n
#L "My dance script" "/mydancescript.txt\n /messagebox Dance script loaded!"
Etc. funky huh? Hehe!
You can use all types of commands, emotes, pet commands etc etc.
So a custom clickable menu of your most used emotes and shouts all in one neat window.
You just click click click those shouts and emotes away

No more clunky macros, or calling a lengthy script you have no control over once started.
This allows you to click/run each step yourself if setup right

-------------------------------------------------------------------------
#S
Is a section indicator inside tip .txt files.
It's of most use in the TipOfTheDay.txt file
to seperate each section (tip) from the next.
But can be seen in some of the help .txt files too,
tough I'm not entirely sure of their presence there.
Maybe a leftover, or a section/paragraph indicator there as well.
(i.e in files displayed with /showfile command, doesnt seem to change formatting tough)
-------------------------------------------------------------------------
/TipOfTheDay
You may know, when making a new character it's autoenabled.
What you might not know is the more advanced features it has.
The rest of the tip system is beyond the scope of
this help system script quickguide.
Check the file "Anarchy Online\cd_image\text\tips\TipHeader.txt"
Study this and you will realise you can make it pop up a special text file
with info when you enter certain playfields.
This would allow the use of auto info/guides and more.
The tip system also support the same color codes etc as the help system.
And the something.txt tip files could also use also all codes/commands as shown
in this guide.
Studying the file "Anarchy Online\cd_image\text\tips\TipHeader.txt"
and the file "Anarchy Online\cd_image\text\TipOfTheDay.txt"
Should work as a nice guide on the tip system. TipHeader.txt
is even well commented inside it.
-------------------------------------------------------------------------
To start a external program or open a external weblink or some datafile (pictures).
/start <http://url>
/start <path\program.exe>
/start <path\mediafile>
-------------------------------------------------------------------------
Other commands.
/TipOfTheDay
Shows a new TipOfDay
/TipOfTheDay prev
Shows the previous TipOfDay
A counter is kept of where in the TipOfDay file the tip system is.
See below for info on reset command.
/close infoview
Closes the infoview window. (i.e TipOfTheDay window etc).
-------------------------------------------------------------------------
Options commands you can use on chatline or from scripts or the help/etc system.
/setoption ShowTipOfTheDay 0
Turns off tip of the day. using 1 instead of 0 will enable it again.
/setoption CurrentTipOfTheDay 0
Sets the CurrentTipOfDay counter to 0 and thus the tips will start
from the first entry in TipOfDay.txt again.
/setoption IsTipEnabled 0
To turn off tip system, and 1 to turn on.
/setoption IsFirstTime 0
To turn off, or 1 to turn on.
IsTipEnabled and IsFirstTime is stored in char.cfg in
the char spesific prefs folder in the ao prefs folders.
what noob tips you have been shown already (if you choose Do Not Show This Tip Again)
Is stored in TipSystemPrefs.cfg in the chars own prefs folder.
Unfortunately you cant use /setoption to change this file.
In fact you can use /setoption command to set (i think) ALL, yes ALL
options/settings you see in the file "D:\Games\Anarchy Online\Prefs\<accountname>\Login.cfg"
Be carefull tough, some of the options may not be suitable for changes while ingame.
Most should be ok. In other words, the options you see ingame in the OPTS menu
and in this Login.cfg can be set using /setoption
Try this for fun. open the options menu in the game and open the music/audio part.
Then type this in the chat input in the game.
/setoption MusicOn 0
then
/setoption MusicOn 1
You should see the checkbox in the audio section in the game options menu
get unset then set again

If you fail to realize what this means I'll tell you.
Imagine you got 3 scripts in your scripts folder.
AllStuffOn.txt
NoStuffOn.txt
SomeStuffOn.txt
In these 3 scripts you use /setoptions to create 3 different default setups.
No more need to plow thru the options menu and click on everything you want to turn on/off.
Now you just run the apropriate script and it's all changed the way you want it
by calling a single script instead.
Now use your imagination and combine these advanced commands with the meny system,
the script system and maybe even with the tip system and things could get awsome.
In fact you can set options using /setoptions you cant set using ingame options menu.
(this may be for a reason tough as some settings may need a relog of the game)
I havent tested yet how enabling/disdabling starotation or windengine
or stormparticles etc affect being changed directly while playing.
So be very carefull when changing things not seen in ingame options menues.
-------------------------------------------------------------------------
Note!
Except the color codes and special codes starting with # which only
works in text files loaded with the /showfile command,
all the meny/helpsystem commands can also be used directly in chat
or used inside your scripts.
I hope that some of the talented people out there find this usefull
and make custom guides that uses the menusystem to a advanced structure
with links, colors and commands etc. to provide semi-interactive crafting guides.
Or other forms of advanced "ingame" guides.
-------------------------------------------------------------------------