It's the post-count levels given by this forum. Since its an eggdrop forum, the titles given are eggdrop related (owner doesnt mean owns this forum, it just means posted alot or smth). I guess you passed the magic number of posts which signifies your title or smth. Slennox knows the actual number these happen at and perhaps a few othersblake wrote:Thanks speechless ill give this a try
1 more question how come ive been promoted to half op
Code: Select all
_-6:34pm-_ <ChanGuardian> [18:34] -OperServ (services@chattersworld.co.uk)- Unknown command +++>. "/msg OperServ HELP" for help.
Code: Select all
_-6:39pm-_ <ChanGuardian> [18:40] -OperServ (services@chattersworld.co.uk)- Unknown command --->. "/msg OperServ HELP" for help.
Code: Select all
_-6:41pm-_ <ChanGuardian> [18:41] -OperServ (services@chattersworld.co.uk)- Unknown command Malphas. "/msg OperServ HELP" for help.
This is because you have set services, as +A as well. +A is used to detect who to sent putspyGuys messages to. You want to set services as +X only so that it's messages cannot be spoofed by those who are set to +A as nml375 has said before.blake wrote:Kwl still a few probs
when i do spyadd user1 user2 i get this error
Deleted +++> from script get this when i do spydelCode: Select all
_-6:34pm-_ <ChanGuardian> [18:34] -OperServ (services@chattersworld.co.uk)- Unknown command +++>. "/msg OperServ HELP" for help.
deleted ---> from script now getCode: Select all
_-6:39pm-_ <ChanGuardian> [18:40] -OperServ (services@chattersworld.co.uk)- Unknown command --->. "/msg OperServ HELP" for help.
Code: Select all
_-6:41pm-_ <ChanGuardian> [18:41] -OperServ (services@chattersworld.co.uk)- Unknown command Malphas. "/msg OperServ HELP" for help.
That part shouldnt happen, as that doesn't happen within the procedure I've pasted. The check for ![validuser "ircspy"] stops this from happening twice and only happens globally, once. Are you using the script "exactly" as I've pasted it? It's a complete script, you can...blake wrote:also the proc RecvSpyMessage is adding a user IRC but isnt outputting the messages still and everytime RecvSpyMessage is used its duplicating the user _-6:57pm-_ <ChanGuardian> [18:57] * Duplicate user record 'IRC'!
Code: Select all
if {![validuser "ircspy"]} {
adduser ircspy "IRC!IRC@irc.chattersworld.co.uk"
chattr ircspy +X
setuser ircspy HOSTS "IRC!IRC@leaf.chattersworld.co.uk"
setuser ircspy HOSTS "IRC!IRC@hub.chattersworld.co.uk"
}
Code: Select all
if {![validuser "IRC"]} {
adduser IRC "IRC!IRC@irc.chattersworld.co.uk"
chattr IRC +X
setuser IRC HOSTS "IRC!IRC@leaf.chattersworld.co.uk"
setuser IRC HOSTS "IRC!IRC@hub.chattersworld.co.uk"
}
Code: Select all
if {[regexp -- {^\[([[:alnum:]]+) >> ([[:alnum:]]+)\] (.*)$} $text match sender recipient message]} {
This hasn`t worked eather not to worry thanks for your help guys appreciate it have come up with something else the module itself will output the contents to a channel so have got eggdrop to execute SPY add user1 user2 #ChattersWorld-Opers not what i wanted because i didn`t want opers flooded with the messages but its workingnml375 wrote:Oki.
There is one error in the regular expression I crafted, I forgot to add quantifiers for the sender and recipient atoms...Also, speechles' putspyGuys proc is flawed, in the sense that it assumes registered handles are identical to the nicknames the users use on irc, and that all +A handles are online. This could lead to messages leaking to a third party or malicious user.Code: Select all
if {[regexp -- {^\[([[:alnum:]]+) >> ([[:alnum:]]+)\] (.*)$} $text match sender recipient message]} {
At a minimum, hand2nick should be used, precautions taken to verify that this returns a valid nickname. Even so, this could send messages to the wrong people if your hostmasks are not properly setup, as hand2nick only returns the nickname of the first irc user that matches any hostmasks for this handle.
Personally, I'd go for the putlog (or putloglev) approach..
Code: Select all
proc cmd:spyadd {nick uhost hand arg} {
set user1 [lindex [split $arg] 0]
set user2 [join [lrange [split $arg] 1 end]]
putquick "SPY add $user1 $user2 #ChattersWorld-Opers"
puthelp "PRIVMSG Malphas $nick :is logging messages of $user1 & $user2"
puthelp "PRIVMSG $nick :Logging pm`s of $user1 & $user2 to #ChattersWorld-Opers"
puthelp "PRIVMSG $nick :Please remenber to delete pm check /ChanGuardian spydel $user1 $user2"
}
proc cmd:spydel {nick uhost hand arg} {
set user1 [lindex [split $arg] 0]
set user2 [join [lrange [split $arg] 1 end]]
putquick "SPY del $user1 $user2#"
puthelp "PRIVMSG Malphas $nick :is No longer logging messages of $user1 & $user2"
puthelp "PRIVMSG $nick :No Longer logging messages of $user1 & $user2 To #ChattersWorld-Opers"
}
if i were to remove this section would it then only message the user that has executed the command. (edited ok tried no it dont)Also, speechles' putspyGuys proc is flawed, in the sense that it assumes registered handles are identical to the nicknames the users use on irc, and that all +A handles are online. This could lead to messages leaking to a third party or malicious user.