j0ak
Messages postés3Date d'inscriptionmercredi 8 février 2006StatutMembreDernière intervention15 avril 2006
-
14 avril 2006 à 19:38
cs_wims
Messages postés2466Date d'inscriptionvendredi 23 juillet 2004StatutMembreDernière intervention 1 août 2010
-
15 avril 2006 à 17:09
voila g un gros prob sur mon auto join que je n'arrive pas a resoudre si quelqun pouvais m'aider se serais cool mci
;Auto-Join v2.08
;Team Nexgen 2002 by KnightFal
;www.team-nexgen.com
on *:load:{
if ($version < 5.91) echo -a $+ $colour(info2) $+ *** You
need mirc 5.91 or greator in order to use this addon. | beep
echo -a 4TEAM NEXGEN'S AUTO-JOIN v2.08 | echo -a
4Please type: /aj to begin dialog, type: /ajoin to rejoin set
channels.
}
menu Status,Menubar {
auto-join
.console:aj
.rejoin channels:ajoin
.switch $aj.switch
.. $aj.switch : if ($_ar(general,switch) == on) { if
($dialog(_ajoin) != $null) { did -b _ajoin 1,2,3,5 | did -u _ajoin 13 }
| _aw general switch off | haltdef } | else { if ($dialog(_ajoin)
!= $null) { did -c _ajoin 13 | did -e _ajoin 1,2,3,5 } | _aw general
switch on | haltdef }
}
alias -l aj.switch {
if ($_ar(general,switch) == off) { return $chr(91) $+ off $+ $chr(93) }
else { return $chr(91) $+ on $+ $chr(93) }
}
;[read write data/autojoin.ini]
alias -l _ar {
if ($exists(data\autojoin.ini) == $false) { mkdir data | write -c data\autojoin.ini }
return $readini data\autojoin.ini $$1 $$2
}
alias -l _aw {
if ($exists(data\autojoin.ini) == $false) { mkdir data | write -c data\autojoin.ini }
writeini data\autojoin.ini $$1 $$2 $$3-
}
alias -l _arem {
if ($exists(data\autojoin.ini) == $false) { mkdir data | write -c data\autojoin.ini }
remini data\autojoin.ini $$1 $$2
}
alias aj {
if ($version < 5.91) { echo -a 4This addon will not work
properly with mIRC $version $+ , please upgrade to latest mIRC
www.mirc.com | beep | halt }
if $dialog(_ajoin) == $null) { dialog -m _ajoin _ajoin }
}
;on *:connect: { ajoin }
on *:connect: { aj.join }
alias ajoin {
if ($version < 5.91) { echo -a 4This addon will not work
properly with mIRC $version $+ , please upgrade to latest mIRC
www.mirc.com | beep | halt }
if ($aj.network $true) && ($_ar(general,switch) on) { aj.join }
}
dialog _ajoin {
title "auto-join v2.08"
size -1 -1 127 116
option dbu
button "exit", 4, 250 250 15 10, ok
list 1, 7 34 50 64, disable size hsbar
edit "", 2, 7 11 50 10, disable autohs
button "add", 3, 8 24 21 8, disable
button "del", 5, 35 24 21 8, disable
list 6, 69 34 50 64, disable sort size hsbar
button "add", 7, 70 24 21 8, disable
button "del", 8, 97 24 21 8, disable
edit "", 9, 69 11 50 10, disable autohs
box "network", 10, 4 4 58 98
box "channel", 11, 65 4 58 98
check "enable", 13, 7 104 30 10
button "join now", 14, 81 105 29 8
}
on *:dialog:_ajoin:init:*:{
if ($_ar(general,switch) == on) { did -c _ajoin 13 | did -e _ajoin 1,2,3,5 }
did -o _ajoin 2 1 $net.check
aj.refresh
}
alias -l net.check {
if ($network != $null) { return $network }
else return $server
}
alias -l aj.netc {
if ($_ar(network,count) != $null) { return $_ar(network,count) }
Donc le probleme viens sois du repertoire $mirdirdata qui n'existe pas sois du fichier.txt en question qui n'existe pas.
J'ai pas envie de regardé tout le code en detail pour trouver la solution a ce probleme dsl.
Si tu as tout fait comme il faut et que ca marche pas, contact l'auteur
de ce code ou attent qu'une gentille personne te donne la solution,
mais ca m'etonnerais que tu trouve cette personne :]
J'te conseille toujours de changer d'auto-join, c'est pas ce qui manque :)