[Script] Petit TCL de gestion
#96
Salut,

Alors je vais mieux t'expliquer.

Tu as ce code ci :
TCL
if {$event=="PRIVMSG"} {
      if {$destinataire=="$aurore(nick)"} {
         if {$commande=="VERSION"} {
            putdcc $aurore(idx) ":$aurore(nick) NOTICE $pseudo :\037\034aurore1.0 Pour le Réseau blabla..\037\0034"
            putdcc $aurore(idx) ":$aurore(nick) PRIVMSG $aurore(log) :\0031\[\0034Chan-Log\0031\0031]\0031 \037\00314Commande Version par\037\00314 \037\0034$pseudo\037\0034"
         }
      }



Donc ce code là à pour but, que lorsque tu tape /msg blabla version, la socket te répond.
Pour ce qui et de ce code ci :

TCL
bind pub n "!xvoice" [namespace current]::xvoice
proc xvoice { nick handle uhost chan text } {
   variable aurore
   putdcc $aurore(idx) ":$aurore(nick) MODE $chan +v $nick"
   putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Bonne Moderation !"
   putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Pour savoir mais commandes de modération tape !modere"
   putdcc $aurore(idx) ":$aurore(nick) NOTICE $nick Pence Bien a te devoice quand tu anim plus ! => !xdevoice Merci"
   putquick "SAJOIN $nick $aurore(staff)"
}



Il n'y a aucun rapport, Je te demande juste de transformer ton code qui et le second donc celui au dessus.
De faire comme le système de version "utilisable par socket. Tu vois ce que je veux dire ?

En gros : Tu as cette partie ci :
TCL
if {$commande=="VERSION"} {
...



Donc je veux juste que tu incorpore de la même manière le système de voice.
Tu comprend ce que je veux dire ou pas ? sinon je vais t'expliquer différament ma demande.
Vous interdisez les erreurs, vous empêchez ainsi la victoire.

Ma super kikoo-page loll
Répondre Avertir


Messages dans ce sujet
Petit TCL de gestion - par BaGrift - 19/03/2014, 20:33
RE: Petit TCL de gestion - par KeeViiNou - 20/03/2014, 10:46
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 12:09
RE: Petit TCL de gestion - par Pia - 20/03/2014, 12:44
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 14:02
RE: Petit TCL de gestion - par Pia - 20/03/2014, 15:12
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 15:24
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 16:05
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 16:12
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 16:30
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 16:35
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 17:48
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 18:24
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 18:34
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 18:50
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 18:58
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 19:12
RE: Petit TCL de gestion - par aliasangelius - 20/03/2014, 19:22
RE: Petit TCL de gestion - par BaGrift - 20/03/2014, 21:05
RE: Petit TCL de gestion - par MenzAgitat - 21/03/2014, 00:11
RE: Petit TCL de gestion - par aliasangelius - 21/03/2014, 10:08
RE: Petit TCL de gestion - par CrazyCat - 21/03/2014, 14:06
RE: Petit TCL de gestion - par BaGrift - 21/03/2014, 17:17
RE: Petit TCL de gestion - par aliasangelius - 22/03/2014, 15:07
RE: Petit TCL de gestion - par BaGrift - 23/03/2014, 00:55
RE: Petit TCL de gestion - par aliasangelius - 23/03/2014, 14:04
RE: Petit TCL de gestion - par BaGrift - 23/03/2014, 14:14
RE: Petit TCL de gestion - par aliasangelius - 24/03/2014, 13:49
RE: Petit TCL de gestion - par BaGrift - 24/03/2014, 14:37
RE: Petit TCL de gestion - par aliasangelius - 24/03/2014, 17:08
RE: Petit TCL de gestion - par BaGrift - 24/03/2014, 17:20
RE: Petit TCL de gestion - par aliasangelius - 24/03/2014, 17:59
RE: Petit TCL de gestion - par aliasangelius - 24/03/2014, 21:30
RE: Petit TCL de gestion - par BaGrift - 24/03/2014, 22:30
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 13:19
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 13:35
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 19:51
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 21:10
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 21:24
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 21:28
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 21:38
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 21:40
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 21:40
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 21:44
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 21:47
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 21:52
RE: Petit TCL de gestion - par aliasangelius - 25/03/2014, 22:04
RE: Petit TCL de gestion - par BaGrift - 25/03/2014, 22:08
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 09:21
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 11:30
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:01
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 13:14
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:15
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 13:22
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:28
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 13:32
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:34
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 13:41
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:44
RE: Petit TCL de gestion - par CrazyCat - 26/03/2014, 13:46
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 13:46
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:47
RE: Petit TCL de gestion - par CrazyCat - 26/03/2014, 13:53
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 13:57
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 14:13
RE: Petit TCL de gestion - par CrazyCat - 26/03/2014, 14:26
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 14:30
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 14:37
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 14:39
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 14:46
RE: Petit TCL de gestion - par CrazyCat - 26/03/2014, 14:52
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 14:48
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 14:49
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 14:50
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 15:07
RE: Petit TCL de gestion - par CrazyCat - 26/03/2014, 15:13
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 16:36
RE: Petit TCL de gestion - par Pia - 26/03/2014, 16:49
RE: Petit TCL de gestion - par aliasangelius - 26/03/2014, 20:49
RE: Petit TCL de gestion - par BaGrift - 26/03/2014, 21:47
RE: Petit TCL de gestion - par aliasangelius - 27/03/2014, 09:04
RE: Petit TCL de gestion - par BaGrift - 27/03/2014, 13:43
RE: Petit TCL de gestion - par aliasangelius - 10/04/2014, 11:52
RE: Petit TCL de gestion - par BaGrift - 12/04/2014, 22:31
RE: Petit TCL de gestion - par aliasangelius - 13/04/2014, 16:03
RE: Petit TCL de gestion - par BaGrift - 15/04/2014, 10:45
RE: Petit TCL de gestion - par aliasangelius - 15/04/2014, 11:49
RE: Petit TCL de gestion - par BaGrift - 17/04/2014, 13:39
RE: Petit TCL de gestion - par MenzAgitat - 17/04/2014, 19:29
RE: Petit TCL de gestion - par aliasangelius - 17/04/2014, 19:17
RE: Petit TCL de gestion - par aliasangelius - 17/04/2014, 19:50
RE: Petit TCL de gestion - par MenzAgitat - 17/04/2014, 20:01
RE: Petit TCL de gestion - par aliasangelius - 17/04/2014, 21:05
RE: Petit TCL de gestion - par BaGrift - 17/04/2014, 21:52
RE: Petit TCL de gestion - par BaGrift - 18/04/2014, 11:52
RE: Petit TCL de gestion - par aliasangelius - 18/04/2014, 18:02
RE: Petit TCL de gestion - par BaGrift - 18/04/2014, 19:04
RE: Petit TCL de gestion - par aliasangelius - 18/04/2014, 20:32
RE: Petit TCL de gestion - par BaGrift - 23/04/2014, 16:36
RE: Petit TCL de gestion - par Lisa-Alias - 23/04/2014, 22:22
RE: Petit TCL de gestion - par aliasangelius - 08/05/2014, 14:22

Atteindre :


Utilisateur(s) parcourant ce sujet : 1 visiteur(s)
Tchat 100% gratuit -Discutez en toute liberté