Demande d'un avis sur un bot en socket

Night Master Messages postés 2 Date d'inscription mercredi 30 mai 2007 Statut Membre Dernière intervention 20 août 2007 - 19 août 2007 à 02:24
cs_ISoKa Messages postés 435 Date d'inscription jeudi 27 avril 2006 Statut Membre Dernière intervention 17 octobre 2008 - 20 août 2007 à 05:33
kikoolol :)

J'aimerai un avis sur un bot en socket que je script, j'aimerai surtout
un avis au niveau coding, "ce que je peux améliorer" ou encore les
commandes que je pourrai lui ajouter.

Je manque vraiment d'idée pour le finir. Merci d'avance :)


Voici son le code ;


menu menubar {

  -

  Sock-bot™:sockbot

  -

}

menu @Sock-bot {

  Sock-bot™:sockbot

}

Alias sockbot {

  if ($dialog(sockbot) != sockbot) dialog -md sockbot sockbot

}

Alias sockstart { sockopen sockbot
$readini(Sock-bot\Sockbot.ini,Configuration,Serveur)
$readini(Sock-bot\Sockbot.ini,Configuration,Port) | .enable #SYSOCK |
background -g @Sock-bot Sock-bot\Images\Sockbot.png }

Alias sockquit { sockclose sockbot | .disable #SYSOCK | window -c @Sock-bot | echo -a �3;2* Sock-bot™ : Client déconnecté. }

Alias sockcom sockwrite -nt sockbot $1-


;Alias xgettok créer par Sonarca

Alias xgettok {

  var %w $1,%a 2

  while (%a <= $0) var %w $gettok(%w,$ [ $+ [ %a ] ],$ [ $+ [ $calc(1+%a) ] ]),%a $calc(2+%a)

  return %w

}

dialog csockbot {

  title "Crédits"

  size -1 -1 161 44

  option dbu

  icon 1, 2 2 63 39,  Sock-bot\Images\Sockbot.jpg, 0

  link "http://sock-bot.blogs.fr", 3, 69 33 58 8

  text "Version 1.0", 2, 69 2 29 8

  text "Auteur : Night-Master", 4, 69 9 58 8

  text "Contact : master.hybrid@gmail.com", 5, 69 17 89 8

  text "Dernière mise à jour le 04/08/2007", 6, 69 25 85 8

}

on *:dialog:csockbot:*:*:{

  if ($devent == sclick) {

    if ($did == 1) {

      did -g $dname 1 Sock-bot\Images\kikoolol.png

      .timerfake 1 1 did -g $dname 1 Sock-bot\Images\Sockbot.jpg

    }

  }

  elseif ($devent == dclick) {

    if ($did == 3) run http://sock-bot.blogs.fr

  }

}

dialog sockbot {

  title "Sock-bot™"

  size -1 -1 122 218

  option dbu

  box "Pseudo", 1, 2 1 118 23

  edit "", 2, 5 10 112 10, autohs

  box "Pseudo alternatif", 3, 2 24 118 23

  edit "", 4, 5 33 112 10, autohs

  box "Clé IRC", 5, 2 47 118 23

  edit "", 6, 5 56 112 10, pass autohs

  box "Serveur IRC", 7, 2 70 118 23

  edit "", 8, 5 79 112 10, autohs

  button "Valider la configuration", 9, 2 187 118 10

  button "Connexion du Socket", 10, 2 197 118 10

  button "Fermer le dialog de configuration", 11, 2 207 118 10, cancel

  box "Port du Serveur IRC (Port 6667 par défaut)", 12, 2 93 118 23

  edit "", 13, 5 102 112 10, autohs

  check "Connexion du Socket au démarrage de mIRC", 14, 2 176 119 10

  box "Les salons à joindre (Séparez par une virgule)", 15, 2 116 118 23

  edit "", 16, 5 125 112 10, autohs

  check "Message de bienvenue", 17, 2 164 117 10

  box "Message de bienvenue (Editez le message)", 18, 2 139 118 23

  edit "", 19, 5 148 112 10, autohs

  menu "A propos...", 20

  item "Crédits", 21, 20

}

on *:dialog:sockbot:*:*:{

  if ($devent == init) {

    did $iif($readini(Sock-bot\Sockbot.ini,Options,SockStart),-c,-u) $dname 14

    did $iif($readini(Sock-bot\Sockbot.ini,Options,SockGreet),-c,-u) $dname 17

    did -a $dname 2 $readini(Sock-bot\Sockbot.ini,Configuration,Nick)

    did -a $dname 4 $readini(Sock-bot\Sockbot.ini,Configuration,ANick)

    did -a $dname 6 $readini(Sock-bot\Sockbot.ini,Configuration,Key)

    did -a $dname 8 $readini(Sock-bot\Sockbot.ini,Configuration,Serveur)

    did -a $dname 13 $readini(Sock-bot\Sockbot.ini,Configuration,Port)

    did -a $dname 16 $readini(Sock-bot\Sockbot.ini,Configuration,Salons)

    did -a $dname 19 $readini(Sock-bot\Sockbot.ini,Options,Greet)

  }

  elseif ($devent == sclick) {

    if ($did == 9) {

      writeini -n Sock-bot\Sockbot.ini Configuration Nick $did(2)

      writeini -n Sock-bot\Sockbot.ini Configuration ANick $did(4)

      writeini -n Sock-bot\Sockbot.ini Configuration Key $did(6)

      writeini -n Sock-bot\Sockbot.ini Configuration Serveur $did(8)

      writeini -n Sock-bot\Sockbot.ini Configuration Port $did(13)

      writeini -n Sock-bot\Sockbot.ini Configuration Salons $did(16)

      writeini -n Sock-bot\Sockbot.ini Options Greet $did(19)

      echo -a �3;2* Sock-bot™ : Configuration enregistrée

    }

    elseif ($did == 10) sockstart

    elseif ($did == 14) writeini -n Sock-bot\Sockbot.ini Options SockStart $did(14).state

    elseif ($did == 17) writeini -n Sock-bot\Sockbot.ini Options SockGreet $did(17).state

  }

  elseif ($devent == menu) {

    if ($did == 21) if ($dialog(csockbot) != csockbot) dialog -md csockbot csockbot

  }

}

on *:SOCKOPEN:sockbot:{

  if ($sockerr) { echo -a �3;2* Sock-bot™ : Erreur ! Echec de la Connexion. | return }

  sockwrite -nt $sockname NICK $readini(Sock-bot\Sockbot.ini,Configuration,Nick)

  sockwrite -nt $sockname USER Socket Socket Socket $+(:,Sock-bot™ Forged by Night-Master)

  sockwrite -nt $sockname PRIVMSG NickServ $+(:,$readini(Sock-bot\Sockbot.ini,Configuration,Key))

  sockwrite -nt $sockname MODE $readini(Sock-bot\Sockbot.ini,Configuration,Nick) +B

  sockwrite -nt $sockname JOIN $readini(Sock-bot\Sockbot.ini,Configuration,Salons)

}

on *:SOCKREAD:sockbot:{

  sockread %sock

  if ($gettok(%sock,1,32) == PING) sockcom PONG $remove($gettok(%sock,2,32),:)

  elseif ($window(@Sock-bot).state == $null) window -zg0nke @Sock-bot Verdana 11

  echo -t @Sock-bot �3;5�2;Sock-Bot™�2; %sock

  if ($gettok(%sock,2,32) == 433) sockcom NICK $readini(Sock-bot\Sockbot.ini,Configuration,ANick)

  elseif ($gettok(%sock,2,32) == JOIN) {

    if ($readini(Sock-bot\Sockbot.ini,Options,SockGreet) = 1) sockcom
NOTICE $xgettok($timestamp Sock-Bot™ %sock,1,33,4,58)
$+(:,$readini(Sock-bot\Sockbot.ini,Options,Greet))

  }

  elseif ($gettok(%sock,2,32) == KICK) {

    if ($gettok(%sock,4,32) == $readini(Sock-bot\Sockbot.ini,Configuration,Nick)) sockcom JOIN $gettok(%sock,3,32)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!help) sockcom NOTICE
$xgettok($timestamp Sock-bot™ %sock,1,33,4,58) $+(:,La liste de mes
commandes est disponible sur �1F;�3;12http://sock-bot.blogs.fr)

  elseif ($strip($gettok(%sock,4,32)) == :!google) {

    if ($strip(!$gettok(%sock,5,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Google�2;]�2; �1F;�3;12http://www.google.fr)

    elseif ($strip($gettok(%sock,5,32)) == images) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Images�2;]�2;
�1F;�3;12http://images.google.fr/images'hl=fr&lr=&ie=UTF-8&oe=UTF-8&q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&btnG=Recherche+Google)

    elseif ($strip($gettok(%sock,5,32)) == video) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Video�2;]�2;
�1F;�3;12http://video.google.fr/videosearch?q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c))

    elseif ($strip($gettok(%sock,5,32)) == map) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Map�2;]�2;
�1F;�3;12http://maps.google.fr/maps?f=l&hl=fr&sll=47.15984,2.988281&sspn=15.964053,34.980469&q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&ie=UTF8&near=)

    elseif ($strip($gettok(%sock,5,32)) == blog) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Blog�2;]�2;
�1F;�3;12http://www.google.fr/blogsearch?hl=fr&q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&btnG=Rechercher&lr=)

    elseif ($strip($gettok(%sock,5,32)) == livre) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Livre�2;]�2;
�1F;�3;12http://www.google.fr/books?q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&btnG=Chercher+des+livres&as_brr=0)

    elseif ($strip($gettok(%sock,5,32)) == actu) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,�2;[�2;Google Actualités�2;]�2;
�1F;�3;12http://www.google.fr/news'hl=fr&ned=fr&q=,$replace($gettok(%sock,6-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&btnG=Recherche+Actualit%C3%A9s)

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Google�2;]�2;
�1F;�3;12http://www.google.fr/search?q=,$replace($gettok(%sock,5-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&ie=UTF-8&oe=UTF-8&hl=fr&meta=)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!wiki) {

    if ($strip(!$gettok(%sock,5,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Wikipédia�2;]�2; �1F;�3;12http://fr.wikipedia.org)

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Wikipédia�2;]�2;
�1F;�3;12http://fr.wikipedia.org/wiki/Special:Search?search=,$replace($gettok(%sock,5-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&fulltext=Rechercher)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!radioblog) {

    if ($strip(!$gettok(%sock,5-,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;RadioBlog�2;]�2; �1F;�3;12http://www.radioblogclub.fr)

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;RadioBlog�2;]�2;
�1F;�3;12http://www.radioblogclub.fr/search/0/,$replace($gettok(%sock,5-,32),$chr(32),$chr(95),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c))

  }

  elseif ($strip($gettok(%sock,4,32)) == :!youtube) {

    if ($strip(!$gettok(%sock,5-,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;YouTube�2;]�2; �1F;�3;12http://fr.youtube.com)

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;YouTube�2;]�2;
�1F;�3;12http://fr.youtube.com/results?search_query=,$replace($gettok(%sock,5-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&search=Rechercher)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!eedeo) {

    if ($strip(!$gettok(%sock,5,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Eedeo�2;]�2; �1F;�3;12http://www.eedeo.com)

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,�2;[�2;Eedeo�2;]�2;
�1F;�3;12http://www.eedeo.com/search.php?cat=,$1,&query=,$replace($gettok(%sock,5-,32),$chr(32),$chr(43),é,e,è,e,ê,e,ë,e,à,a,ä,a,ç,c),&submit=Recherche&type=advanced)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!dept) {

    if ($strip(!$gettok(%sock,5,32))) sockcom PRIVMSG $gettok(%sock,3,32) $+(:Vous n'avez spécifier de département.)

    elseif ($strip($gettok(%sock,5,32)) == 00) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,Ce département n'existe pas.)

    elseif ($strip($gettok(%sock,5,32)) == 2A) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,$gettok(%sock,5,32) est la Corse-du-Sud))

    elseif ($strip($gettok(%sock,5,32)) == 2B) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,$gettok(%sock,5,32) est la Haute-Corse))

    elseif ($strip($gettok(%sock,5,32)) >= 96) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,Ce département n'est pas dans mon fichier ou
n'existe pas.)

    elseif ($strip($gettok(%sock,5,32)) <= 96) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,Le $gettok(%sock,5,32) est le département
$read(Sock-bot\Departements.txt, s, $gettok(%sock,5,32)))

  }

  elseif ($strip($gettok(%sock,4,32)) == :!time) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,Il est $time)

  elseif ($strip($gettok(%sock,4,32)) == :!version) sockcom NOTICE
$xgettok($timestamp Sock-Bot™ %sock,1,33,4,58)
$+(:,$readini(Sock-bot\Sockbot.ini,Version,version))

  elseif ($strip($gettok(%sock,4,32)) == :!broute) {

    if ($strip(!$gettok(%sock,5,32))) halt

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,$xgettok($timestamp Sock-bot™ %sock,1,33,4,58) broute $gettok(%sock,5-,32) !)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!slaps) {

    if ($strip(!$gettok(%sock,5,32))) halt

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,$xgettok($timestamp
Sock-bot™ %sock,1,33,4,58) slaps $gettok(%sock,5-,32) around a bit with
a large trout)

  }

  elseif ($strip($gettok(%sock,4,32)) == :!tusors) {

    if ($strip(!$gettok(%sock,5,32))) sockcom PRIVMSG
$gettok(%sock,3,32) $+(:,http://,$xgettok($timestamp Sock-bot™
%sock,1,33,4,58),.tusors.com (T'as pas l'air con hein ? :p))

    else sockcom PRIVMSG $gettok(%sock,3,32) $+(:,Tu sors $gettok(%sock,5,32) -> http://,$gettok(%sock,5,32),.tusors.com))

  }

  elseif ($strip($gettok(%sock,4,32)) == :!calc) sockcom PRIVMSG $gettok(%sock,3,32) $+(:,$calc($gettok(%sock,5-,32)))

  elseif ($strip($gettok(%sock,4,32)) :!teste) sockcom PRIVMSG $gettok(%sock,3,32) : $!me $me $!nick = $nick

  unset %sock

}

on *:START:{

  if ($readini(Sock-bot\Sockbot.ini,Options,SockStart) = 1) sockstart

}

on *:LOAD:{

  writeini -n Sock-bot\Sockbot.ini Configuration Nick Sock-bot

  writeini -n Sock-bot\Sockbot.ini Configuration ANick Sock-bot_

  writeini -n Sock-bot\Sockbot.ini Configuration Key Password

  writeini -n Sock-bot\Sockbot.ini Configuration Serveur irc.serveur.com

  writeini -n Sock-bot\Sockbot.ini Configuration Port 6667

  writeini -n Sock-bot\Sockbot.ini Configuration Salons #Salon1,#Salon2,#Salon3

  writeini -n Sock-bot\Sockbot.ini Options SockStart 0

  writeini -n Sock-bot\Sockbot.ini Options SockGreet 0

  writeini -n Sock-bot\Sockbot.ini Options Greet Bienvenue ! Pour
connaître mes commandes rendez-vous sur http://sock-bot.blogs.fr

  writeini -n Sock-bot\Sockbot.ini Version Version Sock-bot™ V1.0 Forged by Night-Master (Dernière mise à jour le 18/08/2007)

}

on *:UNLOAD:{ .remove Sock-bot\Sockbot.ini | window -c @Sock-bot }


#SYSOCK on

on *:INPUT:*:{

  if ($$1 == !ident) sockcom PRIVMSG NickServ $+(:,IDENTIFY $readini(Sock-bot\Sockbot.ini,Configuration,Key))

  elseif ($$1 == !ajoin) sockcom JOIN $readini(Sock-bot\Sockbot.ini,Configuration,Salons)

  elseif ($$1 == !snick) { sockcom NICK $2 | writeini -n Sock-bot\Sockbot.ini Configuration Nick $2 }

  elseif ($$1 == !sjoin) {

    if (!$2) sockcom JOIN $chan

    else sockcom JOIN $2-

  }

  elseif ($$1 == !spart) {

    if (!$2) sockcom PART $chan

    else sockcom PART $2-

  }

  elseif ($$1 == !shop) {

    sockcom PART $chan | sockwrite -nt sockbot JOIN $chan

  }

  elseif ($$1 == !sinvite) {

    if (!$2) sockcom INVITE $2-

    else sockcom INVITE $2 $chan

  }

  elseif ($$1 == !squit) { sockcom QUIT $+(:,Sock-bot™ Forged by
Night-Master) | .disable #SYSOCK | .timersock 1 2 window -c @Sock-bot |
echo -a �3;2* Sock-bot : Client déconnecté. }

  elseif ($$1 == !message) sockcom PRIVMSG $2 $+(:,$3-)

  elseif ($$1 == !notice) sockcom NOTICE $2 $+(:,$3-)

  elseif ($$1 == !restart) { sockcom QUIT $+(:,Maintenance technique) | .timersockrestart 1 2 sockstart }

  elseif ($$1 == !owner) sockcom MODE $chan $str(+q,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !downer) sockcom MODE $chan $str(-q,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !protect) sockcom MODE $chan $str(+a,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !dprotect) sockcom MODE $chan $str(-a,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !op) sockcom MODE $chan $str(o,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !dop) sockcom MODE $chan $str(-o,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !halfop) sockcom MODE $chan $str(+h,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !dhalfop) sockcom MODE $chan $str(-h,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !voice) sockcom MODE $chan $str(v,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !devoice) sockcom MODE $chan $str(-v,$modespl) $iif($2-,$1-,$nick)

  elseif ($$1 == !kick) sockcom KICK $chan $2-

  elseif ($$1 == !ban) sockcom MODE $chan +b $address($2-,2)

  elseif ($$1 == !unban) sockcom MODE $chan -b $2-

  elseif ($$1 == !kickban) { sockcom MODE $chan +b $address($2-,2) | sockcom KICK $chan $2- }

  elseif ($$1 == !mode) sockcom MODE $chan $2-

  elseif ($$1 == !topic) sockcom TOPIC $chan $+(:,$2-)

}

on *:EXIT:{ sockcom QUIT $+(:,Sock-bot™ V1.0 Forged by Night-Master) | .disable #SYSOCK }

#SYSOCK end

7 réponses

cs_ISoKa Messages postés 435 Date d'inscription jeudi 27 avril 2006 Statut Membre Dernière intervention 17 octobre 2008
19 août 2007 à 14:22
Bonjour,

Bin tu peux lui ajouter:
-antispam
-antibadword
-antiflood
-jeux ( quizz, bombe, pendu, voice faible)
-faire toutes tes commandes via commandes en pv ou sur géné pour t'affranchir de tes input et ainsi le controler à distance

je pense que ca serai un bon debut déja :). pour ce qui est du codage tu as plus créer une base de socket là donc bon je voi rien de spécial à dire de ca pour l'instant, c'est plus sur ce que tu vas mettre comme modul k'il va y avoir matiere à discution. Fin, à mon avis bien sur :)

ISoKa
0
uaip Messages postés 1466 Date d'inscription mardi 20 février 2007 Statut Membre Dernière intervention 7 février 2011
19 août 2007 à 19:21
tiens, tu m'as donné envie de le tester :) [c'est rare]
mais juste a vue d'oeil, je peux deja te dire les mêmes "critiques" qu'on m'a faites : tu peux utiliser des aliases pour "vider" un peu et "aérer" le code (avec tes writeini par exemple), comme tu as fait pour sockcom (même si ca ne change rien au code).
ensuite, euh... tu peux supprimer les $gettok(%sock,*,*) avec un "tokenize %sock 32" au début (je ne sais plus la syntaxe exacte...)
sinon ben, je ne critiquerai pas vu que c'est mieux que moi

je testerai le bot plus tard.

PS : (bien calée, ta fonction !broute )
0
uaip Messages postés 1466 Date d'inscription mardi 20 février 2007 Statut Membre Dernière intervention 7 février 2011
19 août 2007 à 19:25
- a ué, un truc qui est sympa aussi (et tres con) c'est de lui rajouter une fonction "double pseudo", genre tu peux parler sous son pseudo sur votre salon en commun. c'est stupide, bete a faire, et ca épate les débutants (je veux parler de ceux qui débutent + que moi )
- et puis aussi pourquoi ne pas lui rajouter une fonction "aide", si jamais il est sur un salon d'aide mirc, genre tu tapes !dial button et il te sort la syntaxe pour creer un bouton dans un dialog.
- ensuite si vraiment tu sais pas quoi rajouter, je te conseille de le recoder en tcl, c'est [franchement] sympathique.
bonne continuation
0
Night Master Messages postés 2 Date d'inscription mercredi 30 mai 2007 Statut Membre Dernière intervention 20 août 2007
20 août 2007 à 00:38
Bonsoir

ISoKa ; Ton idée des jeux c'est une bonne idée, je n'y avait pas songer
Pour ce qui de faire un système de protection, il y a déjà de très bon services sur les réseaux IRC (Comme BotServ) qui font bien leurs boulot :)
Pour le controler en distance, c'est aussi une bonne idée
Merci de ton commentaire, j'ai maintenant un projet constructif (Les jeux) :)

uaip ; (Content que mon bot t'es donner l'envie de le tester) :p
Pour les alias, on m'a fait la remarque juste après que je poste ce topic. Mais tu confirmes la chose :)
Ton truc "double pseudo" ça peut-être marrant :)
L'aide pour mIRC via un bot c'est un peu inutile, vu qu'il existe l'help de mIRC :p (PS: Mettre toute l'help de mIRC dans un bot, ça ferait une sacrée base de donnée) :p
Puis, le coder en TCL, c'est vraiment pas mon truc, car je n'aime pas ce langage. :)
(J'lookerai pour //tokenize) :)

Merci pour vos réponses. :)
0

Vous n’avez pas trouvé la réponse que vous recherchez ?

Posez votre question
cs_ISoKa Messages postés 435 Date d'inscription jeudi 27 avril 2006 Statut Membre Dernière intervention 17 octobre 2008
20 août 2007 à 01:54
pour ce qui est des protections,je n'ai jamais encore trouver un bot en socket simple qui soit vraiment complet en protection et completement parametrable. j'en avai commencé un mais kom j'avai arrété de tchatter plusieurs mois je l'ai laissé de coté. Toutefois je pense que ca serai un projet vraiement interessant, celui que j'avai commencé intégrai tout ce que j'ai pu te dire plus haut et encore d'autres fonction. Mais j'avou que c'est enorme comme travail, de memoire j'en ai codé un peu plus de 1000 lignes et j'avai pas encore fini meme si la base est en place et c'est juste des petits modules à rajouter. enfin bref c'est juste que je trouve ce projet interessant :)

ISoKa
0
cs_wims Messages postés 2466 Date d'inscription vendredi 23 juillet 2004 Statut Membre Dernière intervention 1 août 2010 1
20 août 2007 à 04:01
http://www.ircfr.com/code.aspx?ID=33469

Ta pas du tester Botwar, je ne l'ai jamais testé mais d'après ce que tu pourras voir sur ce lien et sur ce que j'en ai vu, je pense pas que tu puisse te plaindre de celui ci, s'il manque des jeux je me ferais un plaisir de les coder avec ArKanis (!bombe déja présent il me semble) :(
0
cs_ISoKa Messages postés 435 Date d'inscription jeudi 27 avril 2006 Statut Membre Dernière intervention 17 octobre 2008
20 août 2007 à 05:33
Ha ! le screen et la descript ont l'air sympa et le coup de la MAJ via site est joli ué fodrai que je test à l'occaz ce bot pour voir ce k'il donne, il y a peut etre lieu à modifier ce que j'ai di précedement. dés que j'aurai eu l'occaz de tester j'vous dirai ca :) merci wims.

ISoKa
0
Rejoignez-nous