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 

Why is raw events such a bad thing ?

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Eggdrop Help
View previous topic :: View next topic  
Author Message
Gemster
Halfop


Joined: 04 Oct 2010
Posts: 51

PostPosted: Sun Feb 27, 2011 5:51 pm    Post subject: Why is raw events such a bad thing ? Reply with quote

Hi,

I dont get it, in all docs ect it states that using raw numberic events is a bad thing but i dont see how it is if u have the correct raw numberic.

Thanks
Gemster
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Sun Feb 27, 2011 8:10 pm    Post subject: Reply with quote

The problem with raw bindings are that they've got first shot at the incoming data, and has the ability to prevent further processing of the data (if your proc returns 1).

If you were to catch the 315 (End of WHO) numeric, and return 1 at all times, your eggdrop would never be aware of successfully joining a channel (it will "think" it's still waiting for the channel members list indefinitely).

Using raw bindings is not a bad thing per se, you just have to be very careful on what you're doing, or you risk breaking eggdrop's internal mechanisms...

Moderated: Moved
I took the liberty of moving this thread from the "Script Request" forum, as it's really not a request for a script to be written..
/NML_375

_________________
NML_375, idling at #eggdrop@IrcNET
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 -> Eggdrop 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