Iam in need of a bot to receive responces(messeges) from deflood.lua made by Plop deflood.lua by Plop (http://www.plop.nl/ptokaxbots/Plop/deflood.lua)
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
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
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
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
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
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
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.
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