I'm releasing this to assist those having issues with the ban chat trigger not functioning. Its a simple script but infinitely useful on several scales. With this you can ban or unban accounts simply by inputting your desired Status and the CharName of the player in question. This includes ingoring the return on deleted toons as well. Check it out.
And with simple additions you can globally ban an IP listed for the registration of that account with this.
I know you can easily change your IP but this would aid in removing all accounts created at the IP of the player which can help some people.
For nubs like me, all you do is change NewStatus and CharacterName to the desired values and execute.
Code:
UPDATE [PS_UserData].[dbo].[Users_Master]
SET [Status] = 'NewStatus'
WHERE UserUID = (SELECT UserUID
FROM [PS_GameData].[dbo].[Chars]
WHERE Del = 0 and CharName = 'CharacterName')
Code:
UPDATE [PS_UserData].[dbo].[Users_Master]
SET [Status] = 'NewStatus'
WHERE UserIp = (SELECT UserIp
FROM [PS_UserData].[dbo].[Users_Master]
WHERE UserUID = (SELECT UserUID
FROM [PS_GameData].[dbo].[Chars]
WHERE Del = 0 and CharName = 'CharacterName'))
For nubs like me, all you do is change NewStatus and CharacterName to the desired values and execute.