I'm blocked on something...
This code send message to private, when someone tape !aide in the channel.
Code: Select all
bind pub - !aide pub:aide
proc pub:aide { nick uhost hand chan arg } {
if {[llength $arg]==0} {
putserv "privmsg $nick :Aide sur commandes"
} else {
putlog "aide"
}
return 0
}
set aide(blah.1.1) "Text"
!aide BLAH
Then, BLAH is called, and would be send to the user, do you understand me ?
Please, help me :/