Author Topic: Auto Selfreg  (Read 2100 times)

0 Members and 1 Guest are viewing this topic.

Offline ishanarora

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-1
Auto Selfreg
« on: 09 October, 2009, 22:07:55 »
Hi,

Is it possible to run the selfreg command automatically as soon as an unregistered enters the hub; and then disconnect the user. I don't want unregistered users on my hub (I don't want to make it private either, anybody can register)

PtokaX forum

Auto Selfreg
« on: 09 October, 2009, 22:07:55 »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 479
  • Karma: +209/-22
  • PtokaX developer
Re: Auto Selfreg
« Reply #1 on: 09 October, 2009, 23:03:01 »
It is possible, but it will make hub easy to attack using this "feature"  ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

Offline Psycho_Chihuahua

  • Systemspecialist IT
  • Emperor
  • **
  • Posts: 1 054
  • Karma: +112/-1
  • I am wherever i want to be
    • PtokaX Luaboard
Re: Auto Selfreg
« Reply #2 on: 10 October, 2009, 10:09:15 »
the easiest in that case would be to add a "register enforcing" script or something of that nature.

example:

unregistered user enters the hub, script triggers a message telling that user to either register or leave/get kicked automatically.
i know dixbot has this feature and i'm sure there are other AIO scripts or even single scripts that can do this task.
PtokaxWiki ?PtokaX Mirror + latest Libs

01100001011011000111001101101111001000000110101101101110011011110111011101101110001000000110000101110011001000000101010001101111011010110110111101101100011011110111001101101000

PtokaX forum

Re: Auto Selfreg
« Reply #2 on: 10 October, 2009, 10:09:15 »