PtokaX forum

Archive => Archived 4.0 boards => Request for Lua 4 scripts => Topic started by: Janhouse on 13 July, 2004, 19:05:08

Title: <<< Ban and Kick upgrede neaded >>>
Post by: Janhouse on 13 July, 2004, 19:05:08
Hmmm.....

------------------------------------------------------------------------
I am running PtokaX DC Hub 0.3.3.0 build 15.25 [debug] and I don't like some inbuild scripts. Like kick and ban.
When you kick somebody you must type the reason but that reason won't show in ptokax so I nead kick and ban script wich will show reasons too. Like if you type !getbanlist it will open banlist in pm and it could look like this.

*******************************************************************************
   Nr.       Nick                    IP                             Reason
=====================================================
  [ 0 ]     Dingel                 123.234.34.45         Don't spam
  [ 1 ]     [LV]Zorgs            234.455.35.67         Fake share
  and so long.
=====================================================

And it should be aviable for !gettempbans (kick list).

------------------------------------------------------------------------

So in this script should be options like

Oh!...

And you must add Reason option in !ban
Like it is vith kicking
!ban IP (Reason)
(!ban 112.223.45.67 (Stay out)
------------------------------------------------------------------------

I don't know is it posible but please try to do it.

Thanx for everybody who will try!!!   :D



P.S. Sorry about my bad english.
Title:
Post by: Janhouse on 13 July, 2004, 19:14:53
I think that this script would make life easier for many ptokax users.
Title:
Post by: Janhouse on 13 July, 2004, 19:53:50
Please help me!!!
Title:
Post by: plop on 13 July, 2004, 20:54:24
QuoteOriginally posted by Janhouse
Please help me!!!
ever heared of the word patience ???

the banlists don't store the reason so thats imposible, alltho some scripts store the reason themselfs.
a kick is a 5 min tempban so same command, just a tempban can't be undone @ the moment (only posible from the console).
for the kicks/bans with reason i suggest you search, there are countless scripts around which do that.

plop
Title:
Post by: Janhouse on 13 July, 2004, 21:34:17
You can store reasons in file. Like reasons.txt. So it must be able to make this script.

P.S.
Plop, you are genius. You have helped me out many times. Could you try again?
Title:
Post by: plop on 14 July, 2004, 01:57:06
QuoteOriginally posted by Janhouse
You can store reasons in file. Like reasons.txt. So it must be able to make this script.

P.S.
Plop, you are genius. You have helped me out many times. Could you try again?
sorry but i'm allready way 2 busy @ the moment.
the smallest script is about 400 lines.
and i'm totaly rewritting the CMS for my website.
got @ least 14 scripts on the todo list.
and my attempt 2 run add_24_hours_to_day on world failed.

plop