#event invite "#1#tells you#2#password#*#"
#1# will match the PC name.. but it will have a space on the end (since there's no space between #1# and tell). Probably doesn't matter.. but it might.
I'd recommend you take a good look at what the text looks like when it comes in.
Code: Select all
<Playername> tells you, '<what they say>'
or something like that. The #1# tags will match ANYTHING they can. This means that if JoeCool01 did the following:
Code: Select all
/tell yourchar 1234 password aaah! i'm being eaten by dwarves!
your params woulc match the following (minus quotes)
Code: Select all
#1#: "JoeCool01 "
#2#: ", '1234 "
#*#: " aaah! i'm being eaten by dwarves!'"
It's rather specific about that sort of thing. Make sure you take spaces and punctuation into account when defining your events. That's the best advice I can give.