New kick and tempban

New kick and tempban

Postby Warren1001 » 22 Jul 2013, 21:30

So someone requested a kick and a tempban that logs for what reason, and time, etc.
I made these two commands, both that logs the full username of the player the command was acted upon, who did the action, for how long (if its a tempban), for what reason, and the time it happened. Tempban can now have a reason if you put one.
Conor had said that it's possible to put the Command.etc.remove to remove a core command in the init method, it apparently didnt work after trying again.
There is a total of 5 commands you'll need: remove the kick and tempban, the new kick and tempban, and logs which allow you to access the kick and tempban logs.
Removekick:
Spoiler:

Remove tempban:
Spoiler:

The new kick:
Spoiler:

New tempban:
Spoiler:

Logs:
Spoiler:

Be sure to add these all to the cmdautoload, with the removes before the new commands.
Warren1001
 
Posts: 197
Joined: 08 Aug 2012, 03:50

Re: New kick and tempban

Postby 94ge7j998 » 02 Aug 2013, 16:38

Thank you so much! :D I thought you gave up on the tempban one because you never posted back, but thanks! :D
94ge7j998
 
Posts: 64
Joined: 26 Oct 2011, 20:49


Return to Custom Commands

Who is online

Users browsing this forum: No registered users and 6 guests

cron