Accueil > > > AUTO MESSAGE DE JOIN
AUTO MESSAGE DE JOIN
Information sur la source
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
Sources de la même categorie
Commentaires et avis
|
Derniers Blogs
PARUTION DE MON LIVRE SUR WPF 4PARUTION DE MON LIVRE SUR WPF 4 par odewit
La 2e édition de mon livre sur WPF sort aujourd'hui en version numérique et lundi en version papier :-)
L'ouvrage présente de façon approfondie les fonctionnalités de WPF 4 : graphisme 2D et 3D, animation, multimédia, interfaces utilisateur, databind...
Cliquez pour lire la suite de l'article par odewit EDM : COMMENT UTILISER L'HORIZONTAL ENTITY SPLITTINGEDM : COMMENT UTILISER L'HORIZONTAL ENTITY SPLITTING par Matthieu MEZIL
Une des raisons pour lesquelles j'adore l'Entity Framework est la puissance de son mapping. Beaucoup de développeurs pour ne pas dire la plus part n'en n'ont pas conscience. Pour rappel, j'ai réalisé des videos (en anglais) sur le mapping . Certains scena...
Cliquez pour lire la suite de l'article par Matthieu MEZIL [WP7DEV][REACTIVE] RENDRE LES REACTIVE EXTENSIONS PLUS STABLES[WP7DEV][REACTIVE] RENDRE LES REACTIVE EXTENSIONS PLUS STABLES par jay
Lorsque l'on développe des applications .NET, les exceptions non gérées dans des threads ont le désagréable effet de terminer le processus courant.
Dans l'exemple suivant.......(read more) ...
Cliquez pour lire la suite de l'article par jay WINDBG / SOS / PSSCOR2 : FAILED TO LOAD DATA ACCESS DLL (MSCORDACWKS)WINDBG / SOS / PSSCOR2 : FAILED TO LOAD DATA ACCESS DLL (MSCORDACWKS) par coq
Ceux d'entre nous qui analysent des dumps d'applications .NET (notamment ceux créés via WER après un crash) en dehors de l'environnement initial ont probablement tous été confrontés au moins une fois au message suivant, à la saisie d'une commande SOS ...
Cliquez pour lire la suite de l'article par coq
Logiciels
Microsoft Office (2010)MICROSOFT OFFICE (2010)Microsoft Office 2010 offre de nouveaux moyens flexibles et puissants pour optimiser votre travai... Cliquez pour télécharger Microsoft Office SeaMonkey (2.0.7)SEAMONKEY (2.0.7)Le projet SeaMonkey est issu d'un effort communautaire pour developper une application tout en un... Cliquez pour télécharger SeaMonkey Safari (5.0.2)SAFARI (5.0.2)Le navigateur d'Apple a lui aussi été mis à jour, aussi bien dans sa mouture Windows que celle po... Cliquez pour télécharger Safari Mozilla FireFox (4.0 béta 5)MOZILLA FIREFOX (4.0 BéTA 5)Firefox 4.0 béta 5
L'une des nouveautés visibles les plus attendues réside sans doute dans l'a... Cliquez pour télécharger Mozilla FireFox Mozilla Firefox (3.6.9)MOZILLA FIREFOX (3.6.9)Firefox 3.6.9 corrige les problèmes suivants :
* Introduced support for the X-FRAME-OPTION... Cliquez pour télécharger Mozilla Firefox
|