begin process at 2010 09 09 13:49:51
  Trouver un code source :
 
dans
 
Accueil > 

Code

 > 

AddOns

 > AUTO MESSAGE DE JOIN

AUTO MESSAGE DE JOIN


 Information sur la source

Note :
3,5 / 10 - par 2 personnes
3,50 / 10

  • 1

  • 2

  • 3

  • 4

  • 5

  • 6

  • 7

  • 8

  • 9

  • 10
Catégorie :AddOns Niveau :Initié Date de création :19/04/2003 Date de mise à jour :19/04/2003 10:06:04 Vu :4 192

Auteur : jujuquatre

Ecrire un message privé
Site perso
Commentaire sur cette source (4)
Ajouter un commentaire et/ou une note

 Description

Un dualog de configuration que quand quelqu'un Join un canal Ben vous lui dite le message choissi soit : en notice de inck , en notice du chan , en msg du nick ( pv ) , ou en msg sur le chan !

Voila !

Source

  • ~~~~~~~~~~~~~~
  • Source venant de Cameleon'Script by jujuquatre : irc.jeuxvideo.com : #quizzz
  • ~~~~~~~~~~~~~~
  • dialog config22 {
  • title " Configuration du AutoMsgJoin"
  • size -1 -1 200 65
  • option dbu
  • box "",150,1 0 199 65
  • ; icon 1,30 45 32 32, images/icones/ok3.ico
  • button "Sauvegarder" ,1, 20 48 50 10,ok, flat
  • button "Aperçu" ,100, 70 48 50 10,flat
  • button "Annuler",27, 120 48 50 10,flat
  • ;icon 27, 140 45 32 32, images/icones/ok.ico
  • text "Etat :",22,117 10 40 10
  • combo 23,140 8 50 50, result drop
  • combo 25, 10 25 180 150,result drop edit
  • text " Messages :",26,10 10 60 10
  • }
  • on *:dialog:config22:init:*:{
  • did -a config22 23 Désactivé
  • did -a config22 23 Activer MSG CHAN
  • did -a config22 23 Activer MSG PV
  • did -a config22 23 Activer NOTICE CHAN
  • did -a config22 23 Activer NOTICE NICK
  • did -c config22 23 %nivo.amj
  • did -a config22 25 %amj
  • did -a config22 25 Salut $nick !!! Sa gaz ??
  • did -a config22 25 Slt $nick !!!! Bienvenue sur $chan et amuse toi bien !!
  • did -a config22 25 12 Yop $nick ! 4 Bievenue sur $chan
  • did -a config22 25 Yop un de plus sur $chan grace a $nick !!
  • did -c config22 25 1
  • if ( %nivo.amj == 1) { did -b config22 25 }
  • }
  • on *:dialog:config22:sclick:*:{
  • if $did(config22,23).sel == 1 { set %nivo.amj 1 | did -b config22 25 }
  • if $did(config22,23).sel == 2 { set %nivo.amj 2 | did -e config22 25 }
  • if $did(config22,23).sel == 3 { set %nivo.amj 3 | did -e config22 25 }
  • if $did(config22,23).sel == 4 { set %nivo.amj 4 | did -e config22 25 }
  • if $did(config22,23).sel == 5 { set %nivo.amj 5 | did -e config22 25 }
  • if ($did == 25) { set %amj.tps $did(25) }
  • if ( $did == 1 ) {
  • If ($did($dname,25) == $null) && ( %nivo.amj != 1) { /set %alert2 L'auto msg Join est activer mais vous n'avez pas preciser de message ! | dialog -m alert2 alert2 }
  • else { /set %amj $did($dname,25).text | /dialog -x config22 config22 }
  • }
  • if ($did == 100 ) { /appercu_amj }
  • if ($did == 27) { dialog -x config22 config22 }
  • }
  • on *:dialog:config22:edit:*:{
  • if ($did == 25) { set %amj.tps $did(25) }
  • }
  • dialog alert2 {
  • Title "Attention!!!..."
  • Size -1 -1 350 150
  • button "OK", 1, 150 120 50 20,cancel,flat
  • Text "" 2, 50 30 290 80 , center
  • icon 3 , 10 20 40 40 , images\inconnu.ico
  • }
  • on 1:dialog:alert2:init:*: {
  • /did -a alert2 %alert2
  • }
  • ;Réponse des Absences
  • on 1:JOIN:#: {
  • if ( $nick == $me ) { halt }
  • if ( %nivo.amj == 1 ) { }
  • if ( %nivo.amj == 2 ) { /msg $chan  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+ $+ ---- %version }
  • if ( %nivo.amj == 4 ) { /notice $chan  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+ $+ ---- %version }
  • if ( %nivo.amj == 3 ) { /msg $nick  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+ $+ ---- %version }
  • if ( %nivo.amj == 5 ) { /notice $nick  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+ $+ ---- %version }
  • }
  • else { goto end }
  • :end
  • }
  • alias appercu_amj {
  • window -ofbakd +e @AutoMessageJoin 85 70 332 270 tahoma 11
  • /aline -p @AutoMessageJoin %gras $+ %under $+ %codecouleur %amj.tps
  • }
~~~~~~~~~~~~~~

Source venant de Cameleon'Script by jujuquatre : irc.jeuxvideo.com : #quizzz

~~~~~~~~~~~~~~



dialog config22 {
  title "                          Configuration du AutoMsgJoin"
  size -1 -1 200 65
  option dbu
  box "",150,1 0 199 65
  ;  icon 1,30 45 32 32, images/icones/ok3.ico
  button "Sauvegarder" ,1, 20 48 50 10,ok, flat
  button "Aperçu" ,100, 70 48 50 10,flat
  button "Annuler",27, 120 48 50 10,flat
  ;icon 27, 140 45 32 32, images/icones/ok.ico
  text "Etat :",22,117 10 40 10
  combo 23,140 8 50 50, result drop 
  combo 25, 10 25 180 150,result drop edit
  text " Messages :",26,10 10 60 10

}

on *:dialog:config22:init:*:{
  did -a config22 23 Désactivé
  did -a config22 23 Activer MSG CHAN
  did -a config22 23 Activer MSG PV
  did -a config22 23 Activer NOTICE CHAN
  did -a config22 23 Activer NOTICE NICK
  did -c config22 23 %nivo.amj
  did -a config22 25 %amj
  did -a config22 25 Salut $nick !!! Sa gaz ?? 
  did -a config22 25 Slt $nick !!!! Bienvenue sur $chan et amuse toi bien !!
  did -a config22 25 12 Yop $nick ! 4 Bievenue sur $chan 
  did -a config22 25 Yop un de plus sur $chan grace a $nick !!
  did -c config22 25 1
  if ( %nivo.amj == 1) { did -b config22 25 }
}
on *:dialog:config22:sclick:*:{
  if $did(config22,23).sel == 1 { set %nivo.amj 1 | did -b config22 25 }
  if $did(config22,23).sel == 2 { set %nivo.amj 2 | did -e config22 25 }
  if $did(config22,23).sel == 3 { set %nivo.amj 3 | did -e config22 25 }
  if $did(config22,23).sel == 4 { set %nivo.amj 4 | did -e config22 25 }
  if $did(config22,23).sel == 5 { set %nivo.amj 5 | did -e config22 25 }
  if ($did == 25) { set %amj.tps $did(25) }
  if ( $did == 1 ) {
    If ($did($dname,25) == $null) && ( %nivo.amj != 1) { /set %alert2  L'auto msg Join est activer mais vous n'avez pas preciser de message ! | dialog -m alert2 alert2 }
    else { /set %amj $did($dname,25).text | /dialog -x config22 config22  }
  }
  if ($did == 100 ) { /appercu_amj }
  if ($did == 27) {  dialog -x config22 config22 }
}

on *:dialog:config22:edit:*:{
  if ($did == 25) { set %amj.tps $did(25) }
}

dialog alert2 {
  Title "Attention!!!..."
  Size -1 -1 350 150

  button "OK", 1, 150 120 50 20,cancel,flat
  Text ""  2, 50 30 290 80 , center
  icon 3 , 10 20 40 40 , images\inconnu.ico
}


on 1:dialog:alert2:init:*: {
  /did -a alert2 %alert2
}

;Réponse des Absences
on 1:JOIN:#: {
  if ( $nick == $me ) { halt }
  if ( %nivo.amj == 1 ) {  }
  if ( %nivo.amj == 2 ) { /msg $chan  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+  $+  ---- %version }
  if ( %nivo.amj == 4 ) { /notice $chan  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+  $+  ---- %version }
  if ( %nivo.amj == 3 ) { /msg $nick  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+  $+ ---- %version }
  if ( %nivo.amj == 5 ) { /notice $nick  $+ %codecouleur $+ %gras $+ %under $+ $+ [ [ %amj ] ]  $+ %codecouleur $+ %gras $+ %under $+  $+ ---- %version }
}

else { goto end }
:end
}

alias appercu_amj {
  window -ofbakd +e  @AutoMessageJoin 85 70 332 270 tahoma 11
  /aline -p @AutoMessageJoin %gras $+ %under $+ %codecouleur %amj.tps
}

 Conclusion

Bon voila :)
Dite un commentaire si il y a un prob dans la source :)

Allez @+++

http://membres.lycos.fr/ut2004/juju_bot.php " Bot mIRC Juju_Bot "


 Sources du même auteur

SNIPPET : LOGICIEL DU JOUR
ALIAS AUTO-MAJ
Source avec une capture IDÉE DE CREATION D'UN PETIT MENU SIMPA EN DIALOG ( ASTUCE )
Source avec Zip ACRONYME FOR BOT
Source avec une capture HIGHTLIGHTS GESTION

 Sources de la même categorie

TCL - AJOUT SUPPRESSION DE LOGS par Atok
BLACKLIST PSEUDOS/MASKS par usurpateur
Source avec une capture [XCHAT] ANTI KICK / AWAY C++ par GeroXXXX
JEU DU CODE par alanpersonproject
SERVEUR FTP par hisoka2501

Commentaires et avis

Commentaire de Force le 21/04/2003 20:14:04

mouai

Commentaire de Kolibot le 15/11/2003 10:53:02

Euh les icones ... tu les as pas donné....

Commentaire de bussonnais le 09/02/2004 22:21:47

c'est ce que j'allais dire comme Kalibot ( ou sont les .ico ? )

Commentaire de killer89 le 29/06/2006 23:54:07

Comment faire pour ouvrir le script ?

 Ajouter un commentaire




Nos sponsors


Sondage...

CalendriCode

Septembre 2010
LMMJVSD
  12345
6789101112
13141516171819
20212223242526
27282930   

Consulter la suite du CalendriCode

 
Développement réalisé par Nicolas SOREL (Nix) avec l'aide de : Cyril DURAND et Emmanuel (EBArtSoft), Merci à Vincent pour ses précieux conseils.
CodeS-SourceS.com© Toute reproduction même partielle est interdite sauf accord écrit du Webmaster
CodeS-SourceS.com© est une marque déposée tous droits réservés

Google Coop CodeS-SourceS Google Coop CodeS-SourceS
Temps d'éxécution de la page : 0,640 sec (3)

Nous contacter | Annoncer sur CodeS-SourceS | Mentions légales