I was wondering if anybody has any hints on writing Scripts or Macros. Also, i have seen pople typing in different colors. How is this done?
-Thanks
I was wondering if anybody has any hints on writing Scripts or Macros. Also, i have seen pople typing in different colors. How is this done?
-Thanks
here you go
the most basic macro is
/macro yell BLAH BLAH BLAH!
this simple macro makes a little box with the text yell in it this is what your macro label is the text blah blah blah is what happens when you press your macro.
general syntax is this
/macro <name of macro> <macro command or text>
you can also make a macro that uses an in game script
/macro shout /s CRAP!
or dance
/macro dance /disco
colors are a little more advanced and ill give you the link
of the site that i learned and still use to make my colored macros
http://www.kuren.org/ao/colors.php
hoepfully this helps
My script guide, hope it helps.
NanoTripper's Quick and Dirty guide to Scripts
Ok, scripts are a set of commands that you set up so that you can do
multiple things that you couldn't do unless you are some kinda
SupaSpeedFreak.
So you could have a Script like my Oath one for nanocat, my Doctor, that
goes like this;
Well,
*Nanocat starts waving her arms around like she always uses those to
talk with and not just her mouth*
I'm a Doctor.
And we Doctors all took a hippocratic Oath to Help others. :)
So I'm just doing my part!
*Nanocat salutes as she says shes doin her part*
:D
That is how it looks if you can picture it, now here is the script I
made to do that;
Well,
/italian
/delay 900
I'm a Doctor.
/delay 1500
And we Doctors all took a hippocratic Oath to Help others. :)
/delay 4200
So I'm just doing my part!
/salute
/delay 2000
:D
You should take some time and go through the different /socials to find
ones that will fit your character well. lots of people take
some for granted, such as wave being the best wave when in fact /greet
is better for a little close quarters /wave and /curt is sometimes a
betterkind of I thank you /bow.
So, you make a script in a text editor like Notepad and when you save
it, you go back into the scripts folder where you saved it and
you take off the .txt part of it so that the game sees it as a script.
Most people don't start with a script folder already in their AO folder,
so you might have to add one.
The default location for the folder is
C:\programfiles\funcom\anarchyonline\scripts
There are only a couple of commands that I know of that U can use to
make a script do stuff.
So far the game doesn't have moving or attacking commands.
There are commands for the grabbing of a name and putting it in your
script, of things you have targeted or things that are attacking
you.
Here are the commands
%t = whatever you have targeted
%f = whatever you are fighting at the moment
%m= your characters name though this has few uses
For some reason AO doesnt like Capital letters in those above commands,
so keep em lowercase. :)
[ENTER]= next line, so if you put an [ENTER] into your script, which
the examples I showed did have, it puts the text on a new
line. This can be useful. People are always getting one line messages
about being attacked and such so something that's more than one
line will stick out more.
/delay = this sets a pause that lasts for the milliseconds you put to
the right of the delay command so that means;
/delay 1000 is going to pause the script for one second before
continuing with the next command. This is very useful in makin your
scripts and the actions they create look more realistic, cause socials
will
run over one another. So if you type /Italian,which takes almost 5
seconds to run and /wave in a script without a delay, Italian will just
start and then wave will take over and it will look jumpy as well.
It should be mentioned that pet commands, which are issued like socials
will run in a script as well, so if you always want to rename
your pet and then assign it to guard you, a script that will do that
will save you lots of time. You can get a list of pet commands by
typing /pet help in the Chat window in AO.
Ok so let's look at my Ouch script;
Help!
/delay 1000
This Damn %f is Attackin ME!!!
/delay 3000
Damn, it's getting some kinda Goo on my Boot! :P
/delay 2200
EEWwww!
People have scripts where they point and say something like " lets
attack that!" which can be useful so that a group doesn't start
attackin 2 or 3 things, Which then brings some of there monster friends
along join in, so Tanking and Pulling Characters might want to
make a script like that.
You can make an even more complicated script, though it's not that
useful and that's Y I'm not including it here. Hey this is the quick and
dirty remember :P
To run a script from the Chat window you just type /[script] where
[script] is the name of the script U are running
Finally there are Macros, and what macros really means is "button
maker" or "Icon maker". This is so you can have a button on the taskbar
and right click it and the macro runs. But macros are just like scripts
and you would have to destroy the macro button and remake it to edit it.
So instead just make a script and then use the macro to make a button of the script. Then if you want to edit the script you can, and as
long as you keep the same name the button is still there.
So to make a macro you just type;
/macro [name] [/script]
Now you could type something like
/macro waveP /wave /delay2000 /pointfor Hey, look it's %t right over
there!
Which would make a button called waveP that has your toon wave and then
after 2 seconds of waving, point forward and say Hey!
look it's [Target] right over there! Though sometimes these multi
command macros don't even work.
However, if you ever decide that pause is too long you just have to
trash the macro, so instead make a script and then a macro and if
you have to edit,...you get the picture. Also sometimes the socials
dont go off well in a line of stuff you write right in the chat window.
There is a limit to the length of chars in the title of a macro so if it
doesn't work just shorten the name.
Please leave this intact if you give it to anyone :)
That's it for now, any questions are welcome, just send an e-mail to
nanokiss@inorbit.com .
See ya all out there! :)
Nano
If so, has anybody made any macros using this ?
/macro Assist /assist
I seldom see people using scripts for other purposes than designating a target for the team, or have your pet attack. That's a shame, for you can really have fun with them ; here are some I often use with my Bureaucrat and everbody seems to like them.
One to drag attention to you. Always face the crowd. Poor crats, no one will trust them any longer....
/me looks rather uncomfortable.
/legshake
/delay 2500
/scared
/delay 1500
/s What the hell..... Eeeeeek !
/me emits some weird noises and starts itching with fury !
/delay 800
/adjust
/delay 1400
Go away !
/delay 700
/itch
/delay 1500
At last ! Got it !
/delay 800
/scratch
/delay 2800
/me takes a deep breath. He seems relieved....
/delay 2800
Oh boy, there was some insect or like creeping inside my pants.
/delay 3000
I really hate being in the wilderness. This is no place for a bureaucrat.
/delay 1100
/slap
/delay 900
Why did I come on that ****ing planet !
Another quite alike. And quite revolting too.
/me seems to feel sick.
/delay 2500
Oh boy, I shouldn't have eaten that weird fruit... ****ing stomachache....
/delay 2500
/me 's eyes just look the same as a dead calf's. Is he going to pass out ?
/delay 2500
/puke
Ark-eek !
/delay 1500
Weurp !
/delay 2500
/me seems to feel better, apart of his stained face...
/delay 3500
/s Bull**** !
/delay 1500
I've lost my clan membership card ! It must be in this patch of vomit.
/delay 2500
Oh boy.... Well, seems I have no choice.
/delay 1500
/kneel
/delay 2300
/me holds his merit board, with drops of disgusting things falling from it.
/delay 2500
Er..... Could someone lend me a handkerchief ?
Got plenty of those !
I want a to hit a hotkey to toggle the local map. But it loks like you can only do that with the world map.
Is there a script that handles the local map display, so I could just make a macro?
Any other way to assign a hotkey to to local map?
Just hit Ctrl+6 to toggle the local map.Originally posted by serun
I want a to hit a hotkey to toggle the local map. But it loks like you can only do that with the world map.
Is there a script that handles the local map display, so I could just make a macro?
Any other way to assign a hotkey to to local map?
Amosco -- Brokest Trader on RK2
Coope -- His bot is his best friend
Originally posted by Dark Kensai
Promising the stars and then hitting the customer with a bat so that they see stars is not the same thing.
Originally Posted by sobeguy
If you really want this chair, why not just get a phalloplasty and address your real concern?
Become a Lifer
Hey there folks I recently created a MP and am having fun with my pets. Ever since I saw some other pet classes with colored pets I dream about having a few color bulbs of my own floating behind me so "Petnamer" is a gods blessing as I m quiet retarded regarding computers hehe.
So I set it up and have it working so no more hassle in getting my pets the names and changing the pet replies upon various commands.
Now the problem is all pet messages on my screen show in orange while I d love em to be in different colors. How do I make pet messages in color? So far I get
[][]Attackpet: blahblahblah
This line shows in orange but the petname shows in the color I chose. the 2 [] are annoying so any way I can get rid of those? And is there a way to make the pet message the same color as the petname? That would make it stand out of all the battle spam I have.
Thanks in advance for any help.
OMG, old post!
Original post date: November 15th, 2001 o.O
Udon (doctor), Koyangi (trader), Jajangmyun (adventurer) of Shattered Dreams of Rimor. [website]
(now in order of play/activity! along with some other lowbie alts.)
I posted this a very long time ago... hehe... back when I was still curious and didn't have the answers.
The Pet name color uses the old system and that is why you see the pet name of the right color...
The new chat system uses html code to determine color. I know you can put the html code into a script file and it works... but havn't done any testing on it..
Jasmine Ziakara but everybody calls me Jasziak
Unit Member of The Mockers
Perks - Armor
Want to be a Mocker? Ask me.
Want to RP? Let me know.