This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Requests for complete scripts or modifications/fixes for scripts you didn't write. Response not guaranteed, and no thread bumping!
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 7:30 pm
These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?
So I see them come in like this:
[6:24pm] * Joins: xx (xx@xx)
[6:24pm] * xx sets mode: +z xx
only ops see users come in +z and bot has ops to see that.
flags.lst shows:
z #chan Test here.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 8:00 pm
script actually works when I give myself a +z flag .chattr me +z but this isn't what im trying to do since +z is a onjoin server mode.
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Sun Nov 12, 2006 8:30 pm
My guess is that eggdrop doesn't recognize the +z channel mode.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 8:35 pm
No way to make it read this [6:24pm] * xx sets mode: +z xx then make it send a msg?... when I'm in putty the bot sees it: [18:55] #chan: mode change '+z xx' by xx!xx@xx
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Sun Nov 12, 2006 8:50 pm
cache wrote: These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?
hmm and all this time I thought you meant the bot's flags.. In which case, no, that script won't help..Sorry
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 8:57 pm
rosc2112 wrote: cache wrote: These users aren't set as +z inside the bot... +z is a server mode our server provides... so I guess you gave yerself a z flag inside bot?
hmm and all this time I thought you meant the bot's flags.. In which case, no, that script won't help..Sorry
I don't have o flag via bot and yet it knows when I join room and +o myself as in server mode and sends me a msg but won't do anything when it sees me +z mode myself.
rosc2112
Revered One
Posts: 1454 Joined: Sun Feb 19, 2006 8:36 pm
Location: Northeast Pennsylvania
Post
by rosc2112 » Sun Nov 12, 2006 9:21 pm
As Sir_Fz said, it likely does not even recognize that channel mode. Search the forum for "hardcoded modes" and you'll find some threads about this problem.. Doesn't seem to be much of a solution for it except to hack on the eggdrop src or possibly grab the RAW msg from the server.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 9:35 pm
growl i hate hardcoded stuff, thanks for the help.
cache
Master
Posts: 306 Joined: Tue Jan 10, 2006 4:59 am
Location: Mass
Post
by cache » Sun Nov 12, 2006 9:39 pm
my bot used to kick everyone who joined room with +z saying (abusing dsynx) till I added:
Code: Select all
bind raw - MODE foo2
proc foo2 {f k t} {
if {[lindex [split $t] 1] == "+z"} {return 1}
}
And that actually worked, but I removed it and started using +nodesynch
Sir_Fz
Revered One
Posts: 3794 Joined: Sun Apr 27, 2003 3:10 pm
Location: Lebanon
Contact:
Post
by Sir_Fz » Mon Nov 13, 2006 7:33 pm
Try:
Code: Select all
bind raw - MODE foo2
proc foo2 {f k t} {
if {[lindex [split $t] 1] == "+z"} {
set targ [lindex [split $t] 2]; set chan [lindex [split $t] 0]
if {[unixtime] - [getchanjoin $targ $chan] <= 3} {
puthelp "privmsg $targ :Hello $targ"
}
return 1
}
return 0
}