So, after scouring the Forums, I couldn't quite find what I'm looking for. Here's my problem. I'm building a Priority Curing System for Lusternia, and the way I'm going to go about it is simple. When the affliction line pops up on the MUD screen, I have triggers set up to capture the line, add the appropriate affliction to a Lua table, then running an alias that searches the table for the appropriate affliction, and cures it. Here's how it should look:
Code: Select all
Trigger
Name: Prone
Matches: You sit down.
Script:
listAdd( affs, "prone" )
send(cureAffs)
Also, related, how would I search for the appropriate value to find within the Table if I had more than one affliction in the list ("prone", "asleep", "bleeding", etc...)?