| View previous topic :: View next topic |
| Author |
Message |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 7:30 pm Post subject: |
|
|
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. |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 8:00 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Sun Nov 12, 2006 8:30 pm Post subject: |
|
|
My guess is that eggdrop doesn't recognize the +z channel mode. _________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 8:35 pm Post subject: |
|
|
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
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Nov 12, 2006 8:50 pm Post subject: |
|
|
| 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 |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 8:57 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Sun Nov 12, 2006 9:21 pm Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 9:35 pm Post subject: |
|
|
| growl i hate hardcoded stuff, thanks for the help. |
|
| Back to top |
|
 |
cache Master
Joined: 10 Jan 2006 Posts: 306 Location: Mass
|
Posted: Sun Nov 12, 2006 9:39 pm Post subject: |
|
|
my bot used to kick everyone who joined room with +z saying (abusing dsynx) till I added:
| Code: | 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 |
|
| Back to top |
|
 |
Sir_Fz Revered One

Joined: 27 Apr 2003 Posts: 3793 Location: Lebanon
|
Posted: Mon Nov 13, 2006 7:33 pm Post subject: |
|
|
Try:
| Code: | 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
} |
_________________ Follow me on GitHub
- Opposing
Public Tcl scripts |
|
| Back to top |
|
 |
|