Standalone IP Ban script
 

News:

29 December 2022 - PtokaX 0.5.3.0 (20th anniversary edition) released...
11 April 2017 - PtokaX 0.5.2.2 released...
8 April 2015 Anti child and anti pedo pr0n scripts are not allowed anymore on this board!
28 September 2015 - PtokaX 0.5.2.1 for Windows 10 IoT released...
3 September 2015 - PtokaX 0.5.2.1 released...
16 August 2015 - PtokaX 0.5.2.0 released...
1 August 2015 - Crowdfunding for ADC protocol support in PtokaX ended. Clearly nobody want ADC support...
30 June 2015 - PtokaX 0.5.1.0 released...
30 April 2015 Crowdfunding for ADC protocol support in PtokaX
26 April 2015 New support hub!
20 February 2015 - PtokaX 0.5.0.3 released...
13 April 2014 - PtokaX 0.5.0.2 released...
23 March 2014 - PtokaX testing version 0.5.0.1 build 454 is available.
04 March 2014 - PtokaX.org sites were temporary down because of DDOS attacks and issues with hosting service provider.

Main Menu

Standalone IP Ban script

Started by DoD_Owner, 28 April, 2004, 14:38:08

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

DoD_Owner

Hi

It seems that my script doesn't have an inbuilt IP Perm Ban command (Iceguard 1.955) so I wondered if someone could make an xtra script to do this for me ??

Just something like          +banip

Thx in advance.
Owner of [??] Dimension of Deamons Private.

A nice private hub ... 100 GB min. share... wanna get regged, pm me.. ;)  (200+ users, 60TB+ share)

chaggydawg

You know I got about halfway through writing this script.... then realised something....  Ptokax has these commands built in which is probably why they are not in the script you use.

!ban () - permanently ban IP address of the , followed by kick. Reason is optional.
!banip - permanently ban IP address
!nickban - ban user's nick (if user is connected then he is kicked)
!unban - unban IP address or Nick
!getbanlist - display list of banned IP addresses



Why not just use those??

DoD_Owner

It doesn't work :'(
Owner of [??] Dimension of Deamons Private.

A nice private hub ... 100 GB min. share... wanna get regged, pm me.. ;)  (200+ users, 60TB+ share)

chaggydawg

Check your profiles, in the profile manager  under advanced tab  and be sure that the commands are turned on  under each appropriate profile....
Trust me, if your using ptokax, it works and its there.

DoD_Owner

#4
I have no advanced tab... but under profile manager is it turned on... but not working. Tried to type it in pm to my bot, and i mainchat.... nothings works. It doesn't show a succesful ban or lists it as perm banned ip, in the hub soft.

What should I do ?
Owner of [??] Dimension of Deamons Private.

A nice private hub ... 100 GB min. share... wanna get regged, pm me.. ;)  (200+ users, 60TB+ share)

[NL]trucker

the ip you ban with the ptotax inbuild !banip or !ban or !nickban dont show in your hubsoft.

instead it is placed in ptotax under the tab [OPs and Bans]

you can test it by yourself by namming someone and witeing down name and ip and then look it up in that tab.
Owner of FunnyHub
 
Funyhub.no-ip.info
       Forum Master of


DoD_Owner

My hub soft is ptokax, so it's the same.

Must check it with my hub host, later, when available...
Owner of [??] Dimension of Deamons Private.

A nice private hub ... 100 GB min. share... wanna get regged, pm me.. ;)  (200+ users, 60TB+ share)

chaggydawg

There would be a notification in ptokax when you ban an ip/nick:

!banip 222.222.222.222

<[Security]Janine> *** 222.222.222.222 is banned

and you could type !getbanlist to see who is on the list.

[06:16]  BANLIST:
[06:16] 
[06:16]  [ 0 ]  222.222.222.222  ( )
[06:16] 
[06:16]  Use !unban  to unban

and the newest will be at bottom I believe

QuoteMy hub soft is ptokax, so it's the same.

Must check it with my hub host, later, when available...

yah if your not locally hosting I would have checked with them first...

sander815

same here !banip does nothing

i can only !nickban some1

blackwings

QuoteOriginally posted by sander815
same here !banip does nothing

i can only !nickban some1

have you tried to use !ban instead of !banip?


chaggydawg

#10
Maybe the profile settings do not allow your level to use banip or something.....What version of ptokax are you guys using?

Typhoon

btw  why not use the one in IceGuard ....

+kill  			-	Bans a user and place IP and NICK in permban

i know its there... its even there in v1.88 ..

*Typhoon?



HaArD

Because that bans a Nick (and it's associated IP) not just an IP Ban which is what was requested.

The current PtokaX script interface does not provide for banning an IP, only a Nick and the IP it connected from.

SMF spam blocked by CleanTalk