| View previous topic :: View next topic |
| Author |
Message |
demetrius_reis Halfop
Joined: 10 Aug 2010 Posts: 42
|
Posted: Wed Aug 08, 2012 10:14 pm Post subject: commands to identify private |
|
|
| 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 |
|
 |
nml375 Revered One
Joined: 04 Aug 2006 Posts: 2857
|
Posted: Thu Aug 09, 2012 1:52 pm Post subject: |
|
|
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 |
|
 |
demetrius_reis Halfop
Joined: 10 Aug 2010 Posts: 42
|
Posted: Thu Aug 09, 2012 7:42 pm Post subject: |
|
|
oks
ty !! |
|
| Back to top |
|
 |
|