28/12/2011, 20:26
alias_angelius a écrit :Bon voilà après avoir tester 5 minutes :
tcl
### ### Un utilisateur veut envoyer un message ### proc MDS::pub_sendmsg {nick host hand chan arg} { if { (![channel get $chan MDS]) || (($MDS::antiflood == 1) && ([MDS::antiflood [MDS::clean_data $chan] "msg"])) } { return } if {![matchattr $nick Z]} { puthelp "$MDS::delivery_mode $nick :\003[set MDS::num_sec_color] Le pseudo demandé n'est pas enregistré" } if { $MDS::DEBUGMODE } { putlog "\00304\[$MDS::scriptname - DEBUG\]\003 pub_sendmsg : $nick \00307|\003 $host \00307|\003 $hand \00307|\003 $chan \00307|\003 $arg" } MDS::check_identity $nick $host $hand $chan "pub" "send" $arg }
Voilà ce que ceci donne :
Citation :[09:49:06] (+alias_angelius|alias_angelius) !msg
[09:49:06] [Privé] Identifia (Identifia@49107090.com)
[09:49:08] (@Identifia) Syntaxe : !msg <destinataire>[,destinataire,...] <message> | Envoie un message à quelqu'un. Le message lui sera délivré dès qu'il manifestera sa présence sur un chan où se trouve Identifia, c'est à dire dès qu'on sera certain d'avoir toute son attention.
Le Privé :
Citation :[09:49:06] (Identifia) Le pseudo demandé n'est pas enregistré
Là c'est si toi tu tapes la commande et que tu as un flag Z que ca te reponds ca ??