Hello all, i need some help with sql VIP script, it should look like that
UPDATE MEMB_INFO
SET SCFIsVip=1,SCFVipDays=7
FROM Character
WHERE cLevel<=5 and Resets<=1
or trigger like this:
--Auto VIP
CREATE TRIGGER Auto_VIP
ON [MuOnline].[dbo].[MEMB_INFO]
FOR UPDATE AS
UPDATE [MuOnline].[dbo].[MEMB_INFO]
SET [SCFIsVip] = 1
SET [SCFVipDays] = 7
WHERE [cLevel]<5 and [LevelUpPoint]<50 and [Resets]<1
Go
But now it gives VIP for everyone, but i need just for beginners, like you see until level five or above.
Thanks for any examples

