hiding bots
 

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

hiding bots

Started by _LindenJ_, 03 August, 2004, 21:53:04

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

_LindenJ_

?(  does anyone know how u can hide a bot so that it doesnt display in the userlist, but still works, in the hubs i run we have a few bots and they get annoying as they take up so much space, so if anyone knows how to hide the little F@#kers id be very interested in knowing how to  :))  thankyou..
 please email me direct lindenj_@hotmail.com

Snooze

In your script find this line

frmHub:RegBot(Bot)

and either delete it or out comment it like this

--frmHub:RegBot(Bot)

(You'll most likely find it in the Main() function)

Though keep in mind that if the Bot isn't showing in the userlist it cannot send PMs as a PopUp.

Best regards,

Snooze

NightLitch

#2
try this script out not tested but should work:

-------------------------------------------------------------------------------
-- Remove Bots from userlist
-- HubOwner can only unregister bots
-- By NightLitch 2004/08/03
-------------------------------------------------------------------------------
HubOwner = "NightLitch"
-------------------------------------------------------------------------------
Command = "unregbot"
-------------------------------------------------------------------------------
function DataArrival(sUser,sData)
	if strsub(sData, 1,1) == "<" then
		sData=strsub(sData,1,strlen(sData)-1)
		local _,_,pfx,cmd,arg = strfind(sData, "%b<>%s+(%S)(%S+)%s*(%S*)")
		if prx and cmd then
			if cmd==Command and sUser.sName==HubOwner then 
				if arg~="" then frmHub:UnregBot(arg) return 1 else SendToNick(sUser.sName, "You must enter a botname") return 1 end
			end
		end
	end
end
-------------------------------------------------------------------------------

Best Regards / NL
//NL

((UKSN))shad_dow

#3
this wont unrag a bot if its a user


--Unregister bot by Phatty
--v1.51

Bot = "genius"
Command = "!rembot" -- + 
Command2 = "!adbot"
Success = "Unregistered bot succesful"
Unsuccess = "Unregister bot unsuccesful"


function DataArrival(user,data)
	if strsub(data, 1, 1) == "<" then
		data=strsub(data,1,strlen(data)-1)
		s,e,cmd = strfind(data,"%b<>%s+(%S+)")

		if cmd == Command then
			s,e,cmd,botsname = strfind(data,"%b<>%s+(%S+)%s+(%S+)")
			if GetItemByName(botsname) then
				user:SendData(Bot,Unsuccess)
				return 1
			else
				frmHub:UnregBot(botsname)
				user:SendData(Bot,Success)
			end
		return 1
		end

if cmd == Command2 then
			s,e,cmd,botsname = strfind(data,"%b<>%s+(%S+)%s+(%S+)")
			 if ( botsname == nil ) then 
user:SendData(Bot,Unsuccess)
				return 1
else
				frmHub:RegBot(botsname)
				user:SendData(Bot,Success)
			
		return 1
		end
end
	end
end
creator of Therapy-X? bot

??????Hawk??????

hi m8


Quotedoes anyone know how u can hide a bot so that it doesnt display in the userlist, but still works, in the hubs i run we have a few bots and they get annoying as they take up so much space, so if anyone knows how to hide the little F@#kers id be very interested in knowing how to  thankyou..
please email me direct lindenj_@hotmail.com




Try giving All your Scripts the same bot name.

SMF spam blocked by CleanTalk