Scripting Your Own Pop-Up Windows.
Scripts For Dummies!
Since I figured out how to do this with the help of a friend earlier this week, i have had a deluge of people asking me how to do it. Hence, im gonna write a little thread on how its done, so that i can just give the link to anyone who asks me how to do it when they see my using it. Maybe someone could sticky it for me, as i think its pretty cool info, good to know.
Right. The first thing you need to do is make sure you have a scripts folder. Go to your Anarchy Online folder, there should be a folder called "Scripts". If there isnt, make a new folder, and name it "Scripts"
Next, you need to open up notepad.
Right, paste the following in there, ill explain what it all means.
<a href="text://Text Goes Here">Link Goes Here</a>
Okay, the "<a href" tells Ao that you want to make a window that people can get up by clicking your link.
The ="text://TestGoesHere" tells Ao what you want INSIDE that window
And the >LinkGoesHere</a> Tells Ao what you want your link in the Chat window to say.
So the script:
<a href="text://Hey look i can script! Yey for me!">Clicky Clicky!</a>
Would put a blue link called Clicky Clicky into the chat window, and when clicked on it would bring up a window that said "Hey look, i can script! Yey for me!"
Thats about it, simple as =)
As i figure out more stuff, ill post other stuff, such as how to add colours and whatnot.
Enjoy =)
ummm there is missing something
what do u save the script under "name " ?
and how to recall it in game ..
<a href="text://Hey look i can script! Yey for me!">Clicky Clicky!</a> that i save in notepad as yay.txt
but typing /v yay.txt dont make it come out ...
what am i doing wrong ?
My Tier one Info looks like this in our bot.
It is in swedish though but you may translate it if you want to use it. To get it in the bot i used !learn > t1 as a command. And to look at it we type !info t1.
(no colours added since i am totally colourblind)
För First Tier Armor behöver du: <br>6 stycken <a href='itemref://239835/239835/1'>Consanguineal Embryo of Annwn<br><a href='chatcmd://'><img src=rdb://144701></a></a><br>, 6 stycken
<a href='itemref://223445/223445/1'>Canister of Pure Liquid Notum<br><a href='chatcmd://'><img src=rdb://100305></a></a>, <br><br>18 stycken av din yrkesgrupps Visions samt 6 stycken av ditt yrkes Novictum.<br><br><a href='itemref://239466/239466/1'>Visions of The Reposeful<br><a href='chatcmd://'><img src=rdb://151032></a></a> <br><br>- Aventurer - Doctor - Fixer - Meta-physisist - Trader<br><br><a href='itemref://239468/239468/1'>Visions of the Unshakable<br><a href='chatcmd://'><img src=rdb://151033></a></a><br><br> - Enforcer - Engineer - Keeper - Martial Artist - Shade<br><br><a href='itemref://239467/239467/1'>Visions of The Tempestuous<br><a href='chatcmd://'><img src=rdb://151031></a></a><br><br> - Agent - Bureaucrat - Nano-technician - Soldier<br><br><a href='itemref://218472/218472/1'>Novictum:<br><a href='chatcmd://'><img src=rdb://20407></a></a><br><br><br>Adventurer Novictum Mud<br><br>Agent Transparent Novictum Gas<br><br>Bureaucrat Radient Novictum Gas<br><br>Doctor Pure Novictum Liquid<br><br>Enforcer Compact Novictum Stone<br><br>Engineer Crystalized Novictum<br><br>Fixer Mist of Novictum<br><br>Keeper Spongy Novictum<br><br>Martial Artist Novictum Sand<br><br>Meta-Physicist Plastic Novictum<br><br>Nano-Technician Caustic Novictum<br><br>Shade Carbonized Novictum Stone<br><br>Soldier Porous Novictum Stone<br><br>Trader Fragmented Novictum Crystals
<a href='chatcmd://' Is there for later editing. The request was from my org that we should link it to a Novictum/Vision/Embryo bank.