PDA

View Full Version : Sending pm if post quoted


need2fart
12-22-2010, 04:40 AM
How can I send a pm if a users post got quoted?

BirdOPrey5
12-23-2010, 12:47 AM
I would make a plugin on a newreply hook...

Use a regular expression to extract the username from the code:
[quote=USERNAME;NUMBER]
and, if found send a pm to the user...

I guess I would set it up to handle if multiple people were quoted in the same post.

need2fart
12-23-2010, 06:18 PM
I would make a plugin on a newreply hook...

Use a regular expression to extract the username from the code:
[quote=USERNAME;NUMBER]
and, if found send a pm to the user...

I guess I would set it up to handle if multiple people were quoted in the same post.

Hey thanks alot :)
You've been helping me alot lately that I noticed lol. Thanks for being awesome!