"Active Mode Only "
 

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

"Active Mode Only "

Started by Peter Pan, 15 October, 2003, 20:40:10

Previous topic - Next topic

0 Members and 3 Guests are viewing this topic.

Peter Pan

Hi guys,

Can anyone help with a script which will only allow "Active Mode" users in ?

????File Junkies /\\/?tw??k???? :::C:O:N:S:O:L:E:N:E:T::: Powered By ???t B??? ??tw?k

[NL]Pur

-- Only active user script [NL]PUR 15OKt03

function DataArrival(user,data)

	if strfind(data,"$MyINFO",1,1) then
			if strfind(data, "M:P", 1, 1) then
        			user:Disconnect()
			end
	end

end

Peter Pan

Brilliant thanx Pur... any chance you can add the funtion which although disconects them send them a message explaining why they are refused access ?

Thanx again man
????File Junkies /\\/?tw??k???? :::C:O:N:S:O:L:E:N:E:T::: Powered By ???t B??? ??tw?k

Peter Pan

Actually man dont worry about it. my network co- owner is a bit of a genius and did it..



-- Only active user script [NL]PUR 15OKt03
-- updated by Emp003 to redirect users using passive mode


Bot = "???K???????"

function DataArrival(user,data)

if not user.bOperator then
   if strfind(data,"$MyINFO",1,1) then
      if strfind(data, "M:P", 1, 1) then
        user:SendPM(Bot, "You Are Being Redirected Because This Hub Is Active Mode Only")
   user:SendPM(Bot, "Redirecting...")
   user:SendData("$ForceMove "..frmHub:GetRedirectAddress())

       end
    end
  end
end
????File Junkies /\\/?tw??k???? :::C:O:N:S:O:L:E:N:E:T::: Powered By ???t B??? ??tw?k

[NL]Pur

good that it is working :)

Corsari

Any chanche to know why passive users are not checked by bots/scripts?

Thank you for any answer

Robert

TiMeTrAVelleR

Can you make it that it doesent check  regged users  ??

plop

dcgui's autosearch always seems to works in passive mode.
so even if they are active they get redirected by this script.

plop
http://www.plop.nl lua scripts/howto\'s.
http://www.thegoldenangel.net
http://www.vikingshub.com
http://www.lua.org

>>----> he who fights hatred with hatred, drives the spreading of hatred <----<<

SMF spam blocked by CleanTalk