The Arcive of vBulletin Modifications Site. |
|
Donate To Specific Usergroup Details »»
|
|||||||||||||||||||||||||
Is there a way I could add a certain amount of cash to only a certain usergroup? Is there maybe an SQL function that would do this?
Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
||||
|
||||
|
This will be in 0.96 to give a weekly/monthly/etc paycheck, however, if you just want to give some points to a usergroup, this query should work.
[sql]UPDATE user SET uttpoints=uttpoints+X WHERE usergroupid=Y;[/sql] Where X is the amount of points to give and Y is the usergroupid of the group you want to give points to. |
![]() |
|
|