| View previous topic :: View next topic |
| Author |
Message |
AskMe Voice
Joined: 11 Apr 2007 Posts: 23 Location: Canada
|
Posted: Mon Apr 16, 2007 1:45 am Post subject: Notice by flag |
|
|
I want to make a notice for the +f user from a channel
| Code: |
set receiver "#Channel"
putserv "NOTICE $receiver :$nick is spaming in $channel"
|
im sure its easy to make but i have no idea how to make it
thanks |
|
| Back to top |
|
 |
Alchera Revered One

Joined: 11 Aug 2003 Posts: 3344 Location: Ballarat Victoria, Australia
|
Posted: Mon Apr 16, 2007 4:14 am Post subject: |
|
|
| Code: | | matchattr <handle> <flags> [channel] |
_________________ Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM |
|
| Back to top |
|
 |
r0t3n Owner
Joined: 31 May 2005 Posts: 507 Location: UK
|
Posted: Mon Apr 16, 2007 5:19 am Post subject: |
|
|
you could try:
| Code: | set receiver "#channel"
set receiver_flags "f|f"
putserv "NOTICE [join [chanlist $::receiver $::receiver_flags] ,] :$nick is spaming in $channel" |
might work, might not, not tested so give it a try  _________________ r0t3n @ #r0t3n @ Quakenet |
|
| Back to top |
|
 |
AskMe Voice
Joined: 11 Apr 2007 Posts: 23 Location: Canada
|
Posted: Mon Apr 16, 2007 12:43 pm Post subject: |
|
|
thanks Tooser it work but i have to remove a : from $:receiver_flags
dont know why but it work
| Code: | | putserv "NOTICE [join [chanlist $::receiver $:receiver_flags] ,] :$nick is spaming in $channel" |
|
|
| Back to top |
|
 |
rosc2112 Revered One

Joined: 19 Feb 2006 Posts: 1454 Location: Northeast Pennsylvania
|
Posted: Mon Apr 16, 2007 1:08 pm Post subject: |
|
|
| The "Flag on Join" script is a good one for this. It's in the archive if you want to check it out. |
|
| Back to top |
|
 |
AskMe Voice
Joined: 11 Apr 2007 Posts: 23 Location: Canada
|
Posted: Mon Apr 16, 2007 1:12 pm Post subject: |
|
|
yeah i will check that... thanks  |
|
| Back to top |
|
 |
|