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.
Help for those learning Tcl or writing their own scripts.
-
AskMe
- Voice
- Posts: 23
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: Canada
Post
by AskMe »
I want to make a notice for the +f user from a channel
Code: Select all
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
-
Alchera
- Revered One
- Posts: 3344
- Joined: Mon Aug 11, 2003 12:42 pm
- Location: Ballarat Victoria, Australia
-
Contact:
Post
by Alchera »
Code: Select all
matchattr <handle> <flags> [channel]
Add [SOLVED] to the thread title if your issue has been.
Search |
FAQ |
RTM
-
r0t3n
- Owner
- Posts: 507
- Joined: Tue May 31, 2005 6:56 pm
- Location: UK
Post
by r0t3n »
you could try:
Code: Select all
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
-
AskMe
- Voice
- Posts: 23
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: Canada
Post
by AskMe »
thanks Tooser it work but i have to remove a : from $:receiver_flags
dont know why but it work
Code: Select all
putserv "NOTICE [join [chanlist $::receiver $:receiver_flags] ,] :$nick is spaming in $channel"
-
rosc2112
- Revered One
- Posts: 1454
- Joined: Sun Feb 19, 2006 8:36 pm
- Location: Northeast Pennsylvania
Post
by rosc2112 »
The "Flag on Join" script is a good one for this. It's in the archive if you want to check it out.
-
AskMe
- Voice
- Posts: 23
- Joined: Wed Apr 11, 2007 4:22 pm
- Location: Canada
Post
by AskMe »
yeah i will check that... thanks
