|
coler1975 Newbie
Joined: 28 Jul 2004 Posts: 3
|
Posted: Wed Jul 28, 2004 4:05 am
Script for Dark Castle |
I'm working on a script to capture what's been identified and save it to a database. However, I'm having a problem. My scripts are not updating to my database, although they save correctly as variables. I've posted my scripts here:
#TRIGGER {Object &Item.Name} {}
#TRIGGER {Type: &Item.Type}{}
#TRIGGER {Item is: &Item.Class} {}
#TRIGGER {Worn by: &Item.Race} {}
#TRIGGER {Weight: &Item.Weight} {}
#TRIGGER {Value: &Item.Value} {}
#TRIGGER {AC Apply is &Item.ACApply } {}
#TRIGGER {Resistance to damage is &Item.Resistance} {}
#TRIGGER {HITROLL By &Item.Hit} {}
#TRIGGER {DAMROLL By &Item.Damage} {}
#TRIGGER {HIT -N- DAM By &Item.Damage &Item.Hit} {}
#TRIGGER {MOVE By &Item.Move} {}
#TRIGGER {HIT_POINTS By &Item.HP} {}
#TRIGGER {WIS By &Item.WIS} {}
#TRIGGER {INT By &Item.INT} {}
#TRIGGER {DEX By &Item.DEX} {}
#TRIGGER {STR By &Item.STR} {}
#TRIGGER {CON By &Item.CON} {}
#TRIGGER {MANA By &Item.MANA} {}
#TRIGGER {DAMAGED By &Item.DAMAGED} {}
#TRIGGER {ARMOR By &Item.ARMOR} {}
#TRIGGER {$} {#T- identify;#IF (!%null(@NewItem)) {#NEW @ItemType @Item}} identify
If someone could help me find my error, that'd be great! |
|
|
|
LightBulb MASTER
Joined: 28 Nov 2000 Posts: 4817 Location: USA
|
Posted: Wed Jul 28, 2004 4:48 pm |
Quote: |
I'm working on a script
|
If your script isn't finished, it doesn't belong in this Forum. Please repost in the General forum. |
|
_________________ LightBulb
Senior member
Most scripts in this forum are written for Command Line entry.
Don't even open the Settings Editor unless its use is specified or obvious. |
|
|
|
Mixsel Wanderer
Joined: 02 Feb 2003 Posts: 99 Location: Seattle, Wa
|
Posted: Sun Aug 01, 2004 1:55 pm |
This seems to be happening alot, think maybe there would be a way to screen stuff? like if it has a question mark....bleh end of thought, noone wants to babysit a forum.
|
|
_________________ Spin |
|
|
|
Kison Beginner
Joined: 02 Aug 2004 Posts: 18 Location: Right Here!
|
Posted: Mon Aug 02, 2004 7:13 pm |
Or maybe create a seperate forum for unfinished scripts? Forums become much easier to use when you chop up different topics. Having a "General Forum" is quite broad.
|
|
_________________ Try me, yet remember the price of failure. |
|
|
|
mr_kent Enchanter
Joined: 10 Oct 2000 Posts: 698
|
Posted: Wed Aug 04, 2004 12:50 am |
I vote for clearing out all these rubbish threads and implementing a confirmation process for this forum like the beta forum has. Hopefully people would be more aware if they've had to acknowledge the proper use of this forum.
|
|
|
|
|
|