Lucifer 6.6.6 - Page 3
 

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

Lucifer 6.6.6

Started by jiten, 24 March, 2005, 19:43:36

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

jiten

First post updated with some changes.

BrotherBear

Hi jiten!

I just wonder if I disable row 214-219 the Main grab thing ( Rows below -- Grab text from Mainchat and do the tricks )
will this harm the script in any way?

What I want to do is, not scan things that is written in Main!
Regards,

BrotherBear

jiten

Quote from: BrotherBear on 24 March, 2006, 17:46:45
Hi jiten!

I just wonder if I disable row 214-219 the Main grab thing ( Rows below -- Grab text from Mainchat and do the tricks )
will this harm the script in any way?

What I want to do is, not scan things that is written in Main!


Surely. It won't harm it :)
Just like you said (and well) it won't scan Main messages (only).

BrotherBear

Thanks jiten for very quick answer :)
Regards,

BrotherBear

BrotherBear

Is there any change in the RC commands, I just get this in Main when I try:

!showtrig safe

and nothing shows up

But when I type it in the Bot the command works?
Regards,

BrotherBear

jiten

Quote from: BrotherBear on 24 March, 2006, 18:42:24
Is there any change in the RC commands, I just get this in Main when I try:

!showtrig safe

and nothing shows up

But when I type it in the Bot the command works?


That's because you removed the ChatArrival function.

Use this one instead and commands and rightclick will work again in Main (no censoring though):

ChatArrival = function(user, data)
	local s,e,msg = string.find(data, "^%b<>%s+(.*)|$")
	user.SendMessage = user.SendData
	return tFunctions.ParseCommands(user,msg)
end

BrotherBear

jiten, I asked if I harmed the script if I did remove these rows :D

No Problem, now I know that I have to write the commands in PM to the BOT and that's ok,
you just set it up from time to time.

Thanks again jiten :)
Regards,

BrotherBear

jiten

Quote from: BrotherBear on 24 March, 2006, 20:18:02
jiten, I asked if I harmed the script if I did remove these rows :D

No Problem, now I know that I have to write the commands in PM to the BOT and that's ok,
you just set it up from time to time.


Well, the latest Lucifer build's rightclick works fine.
But, when you remove the whole ChatArrival function, it will completely ignore Main Chat stuff (commands and messages).
So, in order to get the commands working without ad checking and censoring (what you requested), I posted that little workaround.

Don't worry. The official code doesn't need to be updated (this time) :)

BrotherBear

Thanks jiten :)

I was to tired to understand that the code 3 post above was changed :)
now it works GREAT :)
Regards,

BrotherBear

Tw?sT?d-d?v

Thx for putting me here  i just need bit of help setting it up
I run i private op-hub and i got 100+ users but im losing some due to too much spamming in hub

I need to set this up so that op profiles are added to block profiles

i did alter this part
QuotetBlockedProfiles = {

   --   Example: [3] = 5, (Reg users are Banned)

      [-1] = 3,   -- Unreg Users
      [2] = 2,   -- VIPs
      [3] = 2,   -- Regs
   },
   -- Profiles who will receive feed from bot
   tFeedProfiles = {
      
  • = 1,   -- Masters
          [1] = 1,   -- Operators
          [4] = 1,   -- Moderators
          [5] = 1,   -- NetFounders
       },
       tabAdvert = {}
to this
QuotetBlockedProfiles = {

   --   Example: [3] = 5, (Reg users are Banned)

      [-1] = 3,   -- Unreg Users
                          [1] = 1,   -- Operators
      [2] = 2,   -- VIPs
      [3] = 2,   -- Regs
   },
   -- Profiles who will receive feed from bot
   tFeedProfiles = {
      
  • = 1,   -- Masters
          [4] = 1,   -- Moderators
          [5] = 1,   -- NetFounders
       },
       tabAdvert = {}
But it didnt work     

jiten

Try this:

tBlockedProfiles = {

	--	Example: [3] = 5, (Reg users are TimeBanned)

		[-1] = 3,	-- Unreg Users
		[1] = 1,	-- Operators 
		[2] = 2,	-- VIPs
		[3] = 2,	-- Regs
	},
	-- Profiles who will receive feed from bot
	tFeedProfiles = {
		[0] = 1,	-- Masters
		[4] = 1,	-- Moderators
		[5] = 1,	-- NetFounders
	},


Your Master and Moderator aren't properly written [the latter is commented].

Please compare it with the one I posted.

SMF spam blocked by CleanTalk