CMUD - ID triggers

November 13, 2011 09:01AM
So, I'm working on trying to get a script to pop things into my CMUD item DB automatically when I ID them. I'm running into issues with multilines though, and just aren't good enough a scripter to handle it. Example of one.

-------------------------------------------------------------------------------
some black leather sleeves with red stitching can be referred to as
'black leather sleeves red stitching stitched'.
It is worth 5350 copper, and is of the 40th level of power.
It is armor worn on the arms.
It is made of leather and weighs 3 pounds 4 ounces.
When worn, it protects you against piercing for 10, bashing for 6,
slashing for 10, magic for 2, and the elements for 11 points each.
When worn, it affects your save vs paralysis by -8 points,
your damage roll by 1 point, your hit roll by 2 points and
your strength by 2 points.
-------------------------------------------------------------------------------


Normally my first trigger would be: (*) can be referred to as '(*)'.
but, it can't handle the new line. Same with the when worn stuff. Any ideas on a trigger for this?
Subject Author Posted

CMUD - ID triggers

n8vnerd November 13, 2011 09:01AM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 133
Record Number of Users: 5 November 04, 2022
Record Number of Guests: 358 August 31, 2022