egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Notice by flag

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help
View previous topic :: View next topic  
Author Message
AskMe
Voice


Joined: 11 Apr 2007
Posts: 23
Location: Canada

PostPosted: Mon Apr 16, 2007 1:45 am    Post subject: Notice by flag Reply with quote

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
View user's profile Send private message
Alchera
Revered One


Joined: 11 Aug 2003
Posts: 3344
Location: Ballarat Victoria, Australia

PostPosted: Mon Apr 16, 2007 4:14 am    Post subject: Reply with quote

Code:
matchattr <handle> <flags> [channel]

_________________
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Back to top
View user's profile Send private message Visit poster's website
r0t3n
Owner


Joined: 31 May 2005
Posts: 507
Location: UK

PostPosted: Mon Apr 16, 2007 5:19 am    Post subject: Reply with quote

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 Smile
_________________
r0t3n @ #r0t3n @ Quakenet
Back to top
View user's profile Send private message MSN Messenger
AskMe
Voice


Joined: 11 Apr 2007
Posts: 23
Location: Canada

PostPosted: Mon Apr 16, 2007 12:43 pm    Post subject: Reply with quote

thanks Tooser it work but i have to remove a : from $:receiver_flags

dont know why but it work Wink

Code:
putserv "NOTICE [join [chanlist $::receiver $:receiver_flags] ,] :$nick is spaming in $channel"
Back to top
View user's profile Send private message
rosc2112
Revered One


Joined: 19 Feb 2006
Posts: 1454
Location: Northeast Pennsylvania

PostPosted: Mon Apr 16, 2007 1:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
AskMe
Voice


Joined: 11 Apr 2007
Posts: 23
Location: Canada

PostPosted: Mon Apr 16, 2007 1:12 pm    Post subject: Reply with quote

yeah i will check that... thanks Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Scripting Help All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber