Responce Bot 4 mess from deflood.lua
 

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

Responce Bot 4 mess from deflood.lua

Started by [G-T-E]Gate?, 19 April, 2004, 16:36:36

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

[G-T-E]Gate?

Iam in need of a bot to receive responces(messeges) from deflood.lua made by Plop deflood.lua by Plop
The script says that
-----------------------------------------------------------------------
-- name of the opchat so the output of this script shows up there instead of it's own window
-- comment this for own window (aka place -- before it like this text has)
opchat = "-OPChat-"  -- fill in the name here if you use a scripted opchat
--opchat = frmHub:GetOpChatName()     -- uncomment this and make the above a comment if you use the ptokax build-in opchat
-----------------------------------------------------------------------
but I dont want the responces(messeges) coming to my ptokax build-in opchat. It doesnt have to be a large script at all.
A link to the script would be Greatfull

Devastator

me mys self would put

opchat = "-OPChat-" -- fill in the name here if you use a scripted opchat

change the name from "-OPChat-" to something else and it wont pop up in ur own opchat.

eg. "opchat = "Deflood" -- fill in the name here if you use a scripted opchat"

and a seperate bot that is not in the userlist will pop up only wen flooders are being used in ur hub.

I hope this helps!

and i apolgise if u dnt wanna do that!

Devastator
(? ?.??.->PLOP DEFINATELY 4 MOD!!!<-.??.???)


[G-T-E]Gate?

I tried ur suggestion by doing the following,

-----------------------------------------------------------------------
-- name of the opchat so the output of this script shows up there instead of it's own window
-- comment this for own window (aka place -- before it like this text has)
opchat = "Deflood" -- fill in the name here if you use a scripted opchat
--opchat = frmHub:GetOpChatName() -- uncomment this and make the above a comment if you use the ptokax build-in opchat
-----------------------------------------------------------------------
 and the mess comes up in main chat but as> Private message from Deflood: McUrex(rus) - 04/19/04 18:01:11 - banned for using a hub flooder!! (banned on description)

 Then I tried this aswell and the mess comes up in my OPchat
-----------------------------------------------------------------------
-- name of the opchat so the output of this script shows up there instead of it's own window
-- comment this for own window (aka place -- before it like this text has)
--opchat = "Deflood" -- fill in the name here if you use a scripted opchat
opchat = frmHub:GetOpChatName() -- uncomment this and make the above a comment if you use the ptokax build-in opchat
-----------------------------------------------------------------------
I have also below tried and still comes up in OpChat
-----------------------------------------------------------------------
-- name of the opchat so the output of this script shows up there instead of it's own window
-- comment this for own window (aka place -- before it like this text has)
opchat = "Deflood" -- fill in the name here if you use a scripted opchat
opchat = frmHub:GetOpChatName() -- uncomment this and make the above a comment if you use the ptokax build-in opchat
-----------------------------------------------------------------------
 I still would appreciate  a stand alone bot to receive the messeges..
Plezzzzz

plop

try this.
opchat = Bot
deflood has 2 be registered in the userlist, if so the msg's popup in it's own window.

lua sees the difference between Deflood and deflood, thats prob whats causing the problem on your setup.

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 <----<<

imby

how do you change it so you don't get any responses from it at all. or so the responses only go to one particular op, not everyone of your ops

plop

QuoteOriginally posted by imby
how do you change it so you don't get any responses from it at all. or so the responses only go to one particular op, not everyone of your ops
in deflood you can find the next function, replace this by this modded version and fill in your nick.
function StoreLog(nick, msg)
   appendto(file)
   if opchat then
      SendPmToNick("the_recieving_nick", opchat, msg.."|")
   else
      SendPmToNick("the_recieving_nick", Bot, msg.."|")
   end
   write(msg.."\n")
   writeto()
   msg = nil
end

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 <----<<

imby

cheers *bows in grattitude and respect* . i have a question, what would happen if the user selected was offline when a response was sent to it.

plop

QuoteOriginally posted by imby
cheers *bows in grattitude and respect* . i have a question, what would happen if the user selected was offline when a response was sent to it.
you may rise again. lol
if the nick isn't in the hub then only the log is written.

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