Help with writing a script please
Help with writing a script please
Hello, I'm completely new to scripting and want to start with something that I believe will benifit the shard where I currently play. it is a POL 095 server. I would like to write a script to make Chaos Guards attack blue named characters. could anyone help me with this? I atleast need to know where to start. any pointers or help will be appreciated thanks. 
There are a couple tuts that I wrote in the Guide section along with some other really helpful stuff.
You need to get a server running locally that you can fully log into.
Then get a feel for pol in general as an admin it is a HUGE switch if you are use to runuo.
Next gimme a yell at runtest.druid@hotmail.com MSN. Once you have done all the steps above so.
1. Download pol 95 distro.
2. Log in locally all the way, that means walking around with admin char.
3. Get a feel for the commands and directories.
4. Take a look at the docs folder and then at the tutorials.
5. Give me a yell and I will help you start out. Also there are alot of people here that will help you alot. Believe me I know.
Happy POLing 
You need to get a server running locally that you can fully log into.
Then get a feel for pol in general as an admin it is a HUGE switch if you are use to runuo.
Next gimme a yell at runtest.druid@hotmail.com MSN. Once you have done all the steps above so.
1. Download pol 95 distro.
2. Log in locally all the way, that means walking around with admin char.
3. Get a feel for the commands and directories.
4. Take a look at the docs folder and then at the tutorials.
5. Give me a yell and I will help you start out. Also there are alot of people here that will help you alot. Believe me I know.
If you want to make a chaos guard you could simply take a look into the townguard ai script. Instead of lines like
you change that to:
A little work here and there and you have a chaos guard which attacks only people who are not criminal 
Code: Select all
if (npc.criminal)
Code: Select all
if (!npc.criminal)