I need an onLogin script, which removes the chosen by me items when the player logs in and after that receives the set items in the script for his class
Example:
Mage will lose his Tier 8 when he logs in, but he will receive Tier 9 Mage Set.
Rogue will lose Tier 8 when he logs in, but will receive Tier 9 Rogue set.
Also a written message (informative message) what is happening, but if its possible for the message to be seen only by the player and not globally to avoid spam.
I offer a payment by PayPal, the core is OregonCore.