PtokaX forum

Lua 5.3/5.2/5.1 Scripts (for PtokaX 0.4.0.0 and newer) => Request for scripts => Topic started by: badboyyyyyy on 02 March, 2009, 11:40:29

Title: offline ban
Post by: badboyyyyyy on 02 March, 2009, 11:40:29
I need a script for offline ban . looked but could not find anywhere
why would someone ask if you can and naturally wants to help



sorry for my english
thanks
Title: Re: offline ban
Post by: Madman on 02 March, 2009, 14:19:33
!nickban <nick> <reason>
Title: Re: offline ban
Post by: badboyyyyyy on 02 March, 2009, 14:30:37
I allowed to enter a given time, but with !tban not say that the user is not right
Title: Re: offline ban
Post by: Madman on 02 March, 2009, 14:51:09
I don't know what you are trying to say... but !tban is not a px command, but this is what you want I think
!nicktempban <nick> <time> <reason> - temp ban user's nick (if user is connected then is disconnected).
Title: Re: offline ban
Post by: badboyyyyyy on 02 March, 2009, 15:28:23
   
yes, but I want to prohibit to enter not only Nick
Title: Re: offline ban
Post by: CrazyGuy on 02 March, 2009, 16:03:34
!banip <ip> works as well. Don't be afraid to use !help and try some of the commands.
Title: Re: offline ban
Post by: badboyyyyyy on 02 March, 2009, 16:44:21
   
I made him a ban for a time, and! banip in this case does not help
Title: Re: offline ban
Post by: Madman on 02 March, 2009, 17:26:54
I'm a bit confused to what you want, but i'm guessing so are you and also it's temp banning an offline user you want to do.
Then these 2 cmd would be all that you need
!tempbanip <IP> <time> <reason> - temporary ban IP address.
!nicktempban <nick> <time> <reason> - temp ban user's nick