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 

Ban on Notify

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
i.m.offline
Halfop


Joined: 02 Mar 2006
Posts: 74

PostPosted: Thu Mar 09, 2006 10:39 am    Post subject: Ban on Notify Reply with quote

Hello Friends,

I would request for an script based on notify i.e. if some nick has been added to bots notify list and as soon as bot notifies that the specific nick is online, shall set the ban in channel. It would be something like blacklist but with no kicks. Because as soon as the user is banned wont be able to join the channel. Thanks in advance.


Regards
Back to top
View user's profile Send private message
demond
Revered One


Joined: 12 Jun 2004
Posts: 3073
Location: San Francisco, CA

PostPosted: Fri Mar 10, 2006 11:20 pm    Post subject: Reply with quote

doesn't make sense, generally the user will /join quicker than your bot does ISON notify check. If your server supports WATCH, the thing might work, but it will still work by nick only

bottom line: use sticky bans
_________________
connection, sharing, dcc problems? click <here>
before asking for scripting help, read <this>
use [code] tag when posting logs, code
Back to top
View user's profile Send private message Visit poster's website
4mirc
Voice


Joined: 16 May 2008
Posts: 37

PostPosted: Mon May 19, 2008 1:55 am    Post subject: Reply with quote

hi demond

i wanna ask if its possible to make this script but in other way

i mean if some nick has been added to bots notify list and as soon as bot

notifies that the specific nick is online, make the bot to send pvt msg to

the nick with this : Hi $nick You Are Added in This $chan ,, we are waiting

make the bot to send msg not to banned Smile

help me if u can coz i have channel and some ops forget to join it so i

i wanna make my bot to invite them Smile

thx alot
Back to top
View user's profile Send private message Visit poster's website
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon May 19, 2008 3:19 am    Post subject: Reply with quote

4mirc wrote:
hi demond

i wanna ask if its possible to make this script but in other way

i mean if some nick has been added to bots notify list and as soon as bot

notifies that the specific nick is online, make the bot to send pvt msg to

the nick with this : Hi $nick You Are Added in This $chan ,, we are waiting

make the bot to send msg not to banned Smile

help me if u can coz i have channel and some ops forget to join it so i

i wanna make my bot to invite them Smile

thx alot
Your failing to realize the power of an invite only (+i) channel. It's creation was to allow users to selectively choose who can enter their channel. In the same regard as a key (+k) does. If you want to clutter your channels banlist, then by all means be my guest, as I can't stop you. I can only tell you the potential downside of doing so.... (ban list is full - cannot place ban). Using either +i or +k and customizing the script below with your prefered binding/response method. It's miles easier.

http://forum.egghelp.org/viewtopic.php?t=11205
Change the join bind to react on the whatever your doing.. This stuff is far from rocket science, an invite script is an invite script. Changing binds and responses in these is trivial.
Back to top
View user's profile Send private message
4mirc
Voice


Joined: 16 May 2008
Posts: 37

PostPosted: Mon May 19, 2008 3:29 am    Post subject: Reply with quote

i wanna know something

can i make text with all nicks i need so when any 1 connect the server

is there any way to make the bot go prvt to the nick online and type

Hi $nick You Are op in This $chan

ison available in the server ison: Sysop
Back to top
View user's profile Send private message Visit poster's website
speechles
Revered One


Joined: 26 Aug 2006
Posts: 1398
Location: emerald triangle, california (coastal redwoods)

PostPosted: Mon May 19, 2008 3:49 am    Post subject: Reply with quote

4mirc wrote:
i wanna know something

can i make text with all nicks i need so when any 1 connect the server

is there any way to make the bot go prvt to the nick online and type

Hi $nick You Are op in This $chan

ison available in the server ison: Sysop

If you know the server command to initiate the request, then the short answer to "can I (I is transitive here since used by yourself, it should be areplaced with YOU) make it?", is no. But can someone possibly make it for you with more information... yes. To read the reply from the server you will need to bind to raw events and parse for that type to be inbound. Not sure what the numeric is for that type. But knowing both, as well as the type of network your on (ircd type) would probably garner you more help.

EDIT: appears it's numeric 303, so indeed it's possible....Only problem in doing this would be the self-invoking timer to keep the CHECK_FOR_CREW_ISON procedure running. CHECK_FOR_CREW_ISON would merely perform the ison request , then set another timer to call itself as the prior one elapsed. When the ison reply comes in the CHECK_FOR_CREW procedure is triggered by the raw binding to 303 which parses the ison reply. In parsing the ison reply it simply compares this against your list and takes appropriate actions. Given the examples on egghelp already, I'm surprised you cannot figure this out on your own..
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 -> Script Requests 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