use these
[Only registered and activated users can see links. Click Here To Register...] take out every thing but the ban commands and change the % to -ban just cant be be / after that change it from [Commands] to Chat like
USE [PS_ChatLog]
GO
/****** Object: Trigger [dbo].[Commands] Script Date: 09/01/2011 17:48:41 ******/
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
CREATE TRIGGER [dbo].[Commands] to [Chat]
ON [PS_ChatLog].[dbo].[ChatLog]
FOR INSERT
AS
and
-- Adde AP zu allen Accounts...
IF (@ChatData like 'addapall %')
BEGIN
SET @UserUID = (SELECT TOP 1 UserUID FROM inserted WHERE ChatData like 'addapall %')
SET @Admin = (SELECT TOP 1 [Admin] FROM PS_UserData.dbo.Users_Master WHERE UserUID = @UserUID)
SET @AdminLevel = (SELECT TOP 1 AdminLevel FROM PS_UserData.dbo.Users_Master WHERE UserUID = @UserUID)
IF ((@Admin = 1) AND (@AdminLevel >= 10))
change adminlevel from IF ((@Admin = 1) AND (@AdminLevel >= 10)) to 16 or 32 ect
then just run ether 2 querys and whats been done?
ban works just kick after
only staff can use
and REMEMBER 16 admin and 32 GM
do this and its fixed and problems pm me on skype and ill send you mine...