Hello, I am too trying to create a spellup script for aardwolf. I'm gonna try to explain exactly what i'm trying to do :)
So, i've got the following spells:
armor,bless,underwater breathing, protection evil, aid, magic, giant strenght, enlightment, sens anger, godly embrace, absorb, prayer of fortune, etc.
when i cast them i get one of two messages:
1. affirmative response that the cast whent okay (i'll provide a list for example)
2. neggative response that told me that i got unlucky and it failed (these ones are alwasy the same as a structure: You lost your concentration while trying to cast <name of spell>.)
First i wan't to input <spellup> and have the alias to cast all the spells, then i want it to check for the ones that failed and put them in a list so that if i input spellup again it will cast only those that failed.
I want to do this because there is a rule on this mud server that each action should be user activated .. so i don't want the script to do everything for me.
Now, each spell has a timer on it after witch it expires and sends a message like this:
The power of the TouchStone weakens and then fades.
You no longer move at the speed of light. (this one is for lightspeed)
So i'll want the script to check for these lines (with a trigger) and when one comes up.. to place it in the list so if i input spellup again it will cast these ones.
Basicaly i'll have a list of spells that either didn't go okay or expired.
Now that basicaly covers the self spellup script. what i'll like to do now is add another variable next to the spellup command that will represent another chars name.
when i issue the command like this, i'd like that the casting command witch is for example "c armor" to go to "c armor friend", it would also help if the script could check for the spells that failed. No reason to check for expiring spells here.
Well that about summs it up.
if there are anymore questions.. i'd love to answer them.
I've included a list of spells and their affirmative messages for examples:
c armor You cast a protective armor around yourself.
c bless You feel gills growing on your neck!
c under You feel holy and pure.
c pro TouchStone lends a hand to aid you.
c aid Your magic is blessed with the luck of TouchStone!
c magic A magical circle of protection forms around you.
c gia Your muscles surge with heightened power!
c enli You feel enlightened.
c sens You can now sense anger in your surroundings.
c godly You are embraced by the might of TouchStone.
c abso You feel a strong magical force surround your body.
c pray You are blessed with good fortune from TouchStone.
c indes A warm glowing aura forms around you.
c frenz You are filled with holy wrath!
c divine You are blessed with divine swiftness!
c true You now detect the presence of those hidden.
You now detect the presence of those invisible.
You now sense magical properties held within artifacts.
You now detect the presence of those who walk in shadow.
You now detect the presence of those who walk in the light.
c revelation You are granted the knowledge of the ages.
c rall You lost your concentration while trying to cast rally.
c line You call upon TouchStone to grant you a force field of divine protection.
c pure You lost your concentration while trying to cast pure faith.
c warm You protect yourself from cold.
c vacc You feel protected from disease.
c acid You protect yourself from acid.
c holy You protect yourself from light.
c light You feel yourself moving at the speed of light!
c grey You surround yourself with a dull grey aura. |