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 

commands to identify private

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


Joined: 10 Aug 2010
Posts: 42

PostPosted: Wed Aug 08, 2012 10:14 pm    Post subject: commands to identify private Reply with quote

Quote:

proc anticheater {nick uhost channel handle rest args} {
putserv "PRIVMSG $nick : -=-=- Download Anti-Cheater -=-=-"
putserv "PRIVMSG $nick :  "
putserv "PRIVMSG $nick : Baixe Aqui: http://www.agemania.com.br/?pag=anticheater"
putserv "PRIVMSG $nick : Voltar ao Menu Principal: !Menu"
}



How does the bot to identify private commands
Back to top
View user's profile Send private message
nml375
Revered One


Joined: 04 Aug 2006
Posts: 2857

PostPosted: Thu Aug 09, 2012 1:52 pm    Post subject: Reply with quote

The msg or msgm bindings would be a good start.
As for your list of parameters, they don't match any known binding, and you really, really, really should avoid using "args" as the name of a parameter unless you explicitly need the variable parameters function for your proc (which you hardly ever need with eggdrops, since all bindings use a fixed number of parameters).
_________________
NML_375, idling at #eggdrop@IrcNET
Back to top
View user's profile Send private message
demetrius_reis
Halfop


Joined: 10 Aug 2010
Posts: 42

PostPosted: Thu Aug 09, 2012 7:42 pm    Post subject: Reply with quote

oks
ty !!
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