This script checks if MAIN bot on Quakenet is online, or fake
- made by Iori
alias Qcheck { inc -u5 %qcheck | userip Q }
raw 340:*:{
if %qcheck {
if Q*TheQBot@127.0.0.1 iswm $2 { echo -sie $timestamps the real Q is online ! - You can safely auth now. }
elseif !$2 { echo -sie $timestamps Q is not online (Reason: *.net*.split) }
else { echo -sie $timestamps Fake Q online $+([,$2,]) - DO NOT AUTH ! }
halt
}
}
and it works !
but i made same thing just for L bot
alias Lcheck { inc -u5 %lcheck | userip L }
raw 340:*:{
if %lcheck {
if L*TheLBot@127.0.0.1 iswm $2 { echo -sie $timestamps The real L is online ! - You can safely command channel(s) now. }
elseif !$2 { echo -sie $timestamps L is not online (Reason: *.net*.split) }
else { echo -sie $timestamps Fake L online $+([,$2,]) - BE CAREFULL ! }
halt
}
}
so problem is this:
on connect i got this info
(20:44) The real Q is online ! - You can safely auth now.
(20:44) Fake Q online [L*=+TheLBot@127.0.0.1] - DO NOT AUTH !
(20:44) Fake Q online [L*=+TheLBot@127.0.0.1] - DO NOT AUTH !
----------------
it should write Real Q is online
and Real L is online, but in unknown thing it mixed each other up
why? and how to make it work together?
btw: userip of Q is Q*=+TheQBot@127.0.0.1
and userip of L is L*=+TheLBot@127.0.0.1
if that helps