[Résolu] script love system
#7
Bon, étrange:
Code :
.tcl proc percenthash string { set output 0; foreach {c1 c2} [split [md5 $string] {}] { incr output [expr 0x$c1$c2] }; return [expr $output %101] }
[12:04:53] tcl: builtin dcc call: *dcc:tcl CrazyCat 24 proc percenthash string { set output 0; foreach {c1 c2} [split [md5 $string] {}] { incr output [expr 0x$c1$c2] }; return [expr $output %101] }
[12:04:53] tcl: evaluate (.tcl): proc percenthash string { set output 0; foreach {c1 c2} [split [md5 $string] {}] { incr output [expr 0x$c1$c2] }; return [expr $output %101] }
Tcl:
.tcl percenthash paulalain
[12:06:14] tcl: builtin dcc call: *dcc:tcl CrazyCat 24 percenthash paulalain
[12:06:14] tcl: evaluate (.tcl): percenthash paulalain
Tcl: 61
Après un restart:
Code :
.tcl source scripts/love.tcl
[12:10:09] tcl: builtin dcc call: *dcc:tcl CrazyCat 24 source scripts/love.tcl
[12:10:09] tcl: evaluate (.tcl): source scripts/love.tcl
Code :
12:10:42 @CrazyCat | !love paul alain
12:10:45    @Artus | Les Probalités d'affinité entre paul et alain sont de : 61  %

Donc pour moi tout semble bien passer...
Répondre


Messages dans ce sujet
script love system - par MisterS - 30/12/2015, 00:26
RE: script love system - par CrazyCat - 30/12/2015, 11:50
RE: script love system - par MisterS - 31/12/2015, 04:29
RE: script love system - par MisterS - 31/12/2015, 20:03
RE: script love system - par CrazyCat - 02/01/2016, 19:59
RE: script love system - par MisterS - 03/01/2016, 00:23
RE: script love system - par CrazyCat - 03/01/2016, 13:13
RE: script love system - par MisterS - 03/01/2016, 18:27
RE: script love system - par CrazyCat - 03/01/2016, 18:56
RE: script love system - par MisterS - 03/01/2016, 23:42
RE: script love system - par CrazyCat - 04/01/2016, 00:40
RE: script love system - par MisterS - 04/01/2016, 16:55
RE: script love system - par CrazyCat - 05/01/2016, 12:19
RE: script love system - par MisterS - 06/01/2016, 18:45

Atteindre :


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