Hi,
How are the user points being changed ?
I suppose that in most cases, you'll want to use two mass actions.
1. First, a mass action with a trigger "before a user is updated" with an action "run PHP code". And in your PHP code, you'll want to:
- use the tag {user_id} to run a MySQL query to get the value of the points from the user_points column of the hikashop_user table
- store that value in $_SESSION
2. Second, a massaction with the "after a user is updated" trigger with an action "run PHP code" where first you check {user_points} against the value in $_SESSION. If it's the same, you return (because it means the number of points didn't change). If it's different, you run your SMS sending code.