Hi,
I wish to set up a trigger to set a variable as something. On the mud it looks something like this:
Someone invited you to join his(or her) party.
So I set a trigger like
^(.*?) invited you to join (his|her) party\.?
And a script with
world.setvariable "partyinviter", arrwildcards (1)
Seems simple enough? Unfortunately life's a bitch. And I have prompts which show my HP/EP which appear sometimes.
Ex.
HP:230 EP:230 Someone invited you to joins his party.
How then would I be able to set my partyinviter variable as "Someone" instead of "230"?
I wish to set up a trigger to set a variable as something. On the mud it looks something like this:
Someone invited you to join his(or her) party.
So I set a trigger like
^(.*?) invited you to join (his|her) party\.?
And a script with
world.setvariable "partyinviter", arrwildcards (1)
Seems simple enough? Unfortunately life's a bitch. And I have prompts which show my HP/EP which appear sometimes.
Ex.
HP:230 EP:230 Someone invited you to joins his party.
How then would I be able to set my partyinviter variable as "Someone" instead of "230"?