Category Archives: internet

DALnet Auto Identify and Auto Op mIRC script

You may think all it’s needed to shut up NickServ when you login on DALnet is putting a /nickserv identify password or /msg nickserv@services.dal.net identify command in the [File > Options > Perform] panel of mIRC… well… actually, it would. As in a perfect world there would be no wars nor poverty nor starvation, but NickServ isn’t perfect (ChanServ isn’t as well, that’s why we are going to speak about him as well, later), so you need to prevent all those situations which may determine NickServ to forget you identified some time bfore, and kicking you to a shameful status of Guest*****.

We’ll explain here how to get rid of these unpleasant situations with a script, not too long, not too short, not perfetc as well, but there is room for betterings.

You can use this addon to load the script instead of writing the lines yourself. Faster, easier, no conflicts with other scripts. Instructions are included in the TXT file, follow them. If you want to edit the script yourself, or just know how it works, continue reading (suggested).

(Note) The script has been lately updated to be more reliable in avoiding the flood of services. In some cases it c0uld, especially if you registered 4 nicks or more, lead to many repeated identification requests, up to making the services upset. Once I even got banned by an IRCop, so I finally decided to put my hands on the old code.
The comments to these upgrades aren’t in the paragraphs below, but what they do is adding another procedure to request both the identification and the ops instead of doing it directly. This procedure checks on a flag (one variable allocated for each nick and each channel), and if the flag is unsetted it requests either the identification or the ops, then sets the flag, which avoid successive repeated requests to be accepted. The flag is unsetted after 60 seconds, making it possible to request identification or ops again.

The messages you see NickServ sends you when you join, telling you "This nick is owned by someone else…" "If this is your nick…" "Password accepted for…" are called "notices". You’ll set a listener for notices coming from NickServ and containing specified patterns of text, so to act depending on what NickServ wants from you.

Enuf talking, let’s come to action:

on *:CONNECT:{
  /dcc packetsize = 4096
  /pdcc 2147483647
  /fsend on
  /joinall
}


on 1:START:/timerIdent 0 40 /ident

on *:NOTICE:*:*:{
  if (($pos($strip($1-),Password accepted for,1) != $null) && ($nick == NickServ)) {
    //if $pos($strip($1-),YourMainNick,1) != $null) {
      /timer 1 20 /autoop 
      /nick YourMainNick
    }
    goto bother
  }
  if (($pos($strip($1-),This nick is owned by someone else. Please choose another.,1) != $null) && ($nick == NickServ)) /id
  if (($pos($strip($1-),Your nick has been changed to Guest,1) != $null) && ($nick == NickServ)) {
    /id
    /nick YourNick^_^
  }
  if ((($pos($strip($1-),You do not have access to op people on #YourChannel.,1) != $null) || ($pos($strip($1-),#YourChannel is operated by ChanServ,1) != $null)) && ($nick == ChanServ) && ($me !isop #YourChannel)) /id
  :bother
}

where /joinall /autoop /ident
and /id are aliases defined as:

/joinall {
  /join #channelone
  /join #channeltwo
  /join #channelthree
  ...
}

/autoop {
  /timer 1 0 //chanserv op #ChannelOne $me
  /timer 1 5 //chanserv op #ChannelTwo $me
  /timer 1 10 //chanserv op #ChannelThree $me
  ...
}


/ident {
  //if (($me == YourNick^_^) || ($me == YourAltNick) || (Guest isin $me)) /nick YourNick

}

/id {
  //if ($me != YourNick) /timer 1 0 /nickserv ghost YourNick yourpassword
  /timer 1 5 /nickserv identify YourNick password
  /timer 1 10 /nickserv identify NickTwo password
  ...
}

Those lines must be added to the Remote and Aliases panels in mIRC (the on CONNECT, on START and on NOTICE must go in the Remote Panel, the /joinall /autoop /ident and /id must go in the Aliases Panel), accessible pressing the buttons and . Check those panels for other occurences of the routines. If you find there’s already an on CONNECT and/or on START and/or on NOTICE in the Remote Panel, you may have installed a script like Polaris, i², Siralop, Invision, or another script (in this case, if you don’t know what that part of the script does, better not to mess, simply stop reading this page and wait to be more acquanted with scripting), so you need to modify/extend the routines adding the lines; if you instead did those scripts yourself, you should know how to modify them properly. In the same way, if there are already aliases named joinall autoop and id in the Aliases Panel, follow the same directives (don’t touch anything if you don’t know what it is, or modify the aliases as you need).

 

Obviously you need to change YourNick, YourChannel, yourpassword with the real ones. "YourMainNick", if you own more than one nick, is the nick, you are operator with, in your channels; if you own only one nick, simply put that one. "YourNick^_^" is your actual nick with a "^_^" after it (supposing it is not registered), so to make you have a real nick while you wait for nickserv to confirm your identification; "YourAltNick" is the nick you wrote as "Alternative" in the mIRC [File > Options > Connect] panel.

The "…" must not be included, but you can add or remove other similar lines in case you are op in more channels or own more nicks. The delayed commands (/timer 1 …) are needed to avoid to flood services which may ignore you if you issue too many requests all togheter (just keep adding the right amount of seconds for each line you add).

In the main script, where you see the lines "You do not have access to op people on #YourChannel." and "#YourChannel is operated by ChanServ" you should write the name of the channel, you are op in, that you join last.

The additional commands on the on CONNECT script should accelerate DCC sends, I suggest you to leave them there.

 

You didn’t get the hidden meaning? Ok, let’s explain what this script does. It waits for NickServ to ask you to identify, then sends the identify command(s); when you are identified, it asks chanserv to op you in the channels you are operator in, and repeats asking this until chanserv does op you. Whenever nickserv or chanserv forget you are identified and operator, it re-issues the identify and op commands, and in the dreaded case nickserv is badly lagged, and you get renamed to Guest, it gives you another temporary nick, until the identification is done. In the case you get disconnected by peer, and you reconnect while you ghost is still "online", it waits for nickserv to confirm the identification, and if your current nick is different from your usual one (that is, the ghost is already using it, and you are named after your alternative nick), it issues a kill ghost command.

An efficient antispam and away autoreply script for mIRC

I add or update my scripts as it become needed. So, an antispam script is one among the first I did, since, no matter what channels you lurk in, there’s always a lamer sending ads of websites, channels, whatever.

An antispam script does nothing else that recognising some specified patterns in a query window, and ignoring it if it has the appearance of spam.

Briefly, you can download this addon to load from mIRC instead of adding the lines yourself. Instructions of use, along with possible changes you may need to make, are included in the TXT file itself. If you want to edit the lines yourself, or just want to know how the script works, continue reading.

The event in mIRC which triggers the opening of a query window is on OPEN, and the following lines will show how to use it:

on 1:OPEN:?:*:{....

The "?" specifies that the event will trigger only query windows, and the "*" specifies no particular text matches for now (we are going to include all the matches in the body of the script).

My script does 4 things: check if the messaging nick is an operator in one of the channels I am in, and in this case does not filter the message, otherwise it will be processed. If the user who sent you the message is in none of your channels, the message is ignored by default. If it is all ok, another procedure checks if I am away, and in that case tells the nick that I may not be at the computer, or, if it’s late, that I also may be sleeping. If the message is recognised as spam, the window is closed, and a minimized log window is open (if it doesn’t already exist), where you can check the supposed spam messages you received, so to correct te script if some of them weren’t spam.

Here’s the full text script (note: this script works under mIRC v5.9, don’t know about older versions):

on 1:OPEN:?:*:{
  var %Ghost
  set %Ghost 1
  var %Cnt
  set %Cnt 1
   :Loop
  //if ($nick isop $chan(%Cnt)) goto allok
  //if ($ialchan($nick,$chan(%Cnt),1) != $null) set %Ghost 0
  inc %Cnt
  //if (%Cnt < = $chan(0)) goto Loop
  //if (%Ghost == 1) goto absent
  if ($strip($1-) == hello,) goto lamer
  if ($strip($1-) == hello) goto lamer
  if ($strip($1-) === hi) goto lamer
  if ($strip($1-) == hallo) goto lamer
  if ($strip($1-) == holla) goto lamer
  if ($pos($strip($1-),#,1) != $null) goto lamer
  if ($pos($strip($1-),j o i n,1) != $null) goto lamer
  if ($pos($strip($1-),how are you,1) != $null) goto lamer
  if ($pos($strip($1-),how are u,1) != $null) goto lamer
  if ($pos($strip($1-),www.,1) != $null) goto lamer
  if ($pos($strip($1-),slm,1) != $null) goto lamer
  if ($pos($strip($1-),asl,1) != $null) goto lamer
  if ($pos($strip($1-),gamez,1) != $null) goto lamer
  if ($pos($strip($1-),leech,1) != $null) goto lamer
  if ($pos($strip($1-),join,1) != $null) goto lamer
  if ($pos($strip($1-),plz come,1) != $null) goto lamer
  if ($pos($strip($1-),pls come,1) != $null) goto lamer
  if ($pos($strip($1-),/server,1) != $null) goto lamer
  if ($pos($strip($1-),www.cheatos.com,1) != $null) goto lamer
  if ($pos($strip($1-),serv,1) != $null) goto lamer
  if ($pos($strip($1-),click here,1) != $null) goto lamer
  if ($pos($strip($1-),xguest,1) != $null) goto lamer
  if ($pos($strip($1-),/server,1) != $null) goto lamer
  if ($pos($strip($1-),check out my pics,1) != $null) goto lamer
  if ($pos($strip($1-),check my pics,1) != $null) goto lamer
  if ($pos($strip($1-),http://,1) != $null) goto lamer
  if ($pos($strip($1-),sex,1) != $null) goto lamer
  if ($pos($strip($1-),porn,1) != $null) goto lamer
  if ($pos($strip($1-),we need,1) != $null) goto lamer
  if ($pos($strip($1-),chat,1) != $null) goto lamer
  if ($pos($strip($1-),Matches for,1) == 1) goto Results
  goto allok
  :absent
  /query $nick Not in any of my channels. Message ignored.
  /close -m $nick
  goto end
  :lamer
  /query $nick This message's been detected as an invite/whatever else, so this window is being closed. My script can't be 100% accurate, so sorry if it's not your case.
  /close -m $nick
  //if ($window(@lamerz,1) == $null) /window -n @lamerz
  //aline -hp @lamerz 9 [ $time ] 7 < $nick > 8 $1-
  goto end
  :allok
  //if ($away == $true) {
    //if ($asctime(H) < 9) //query $nick [Automated Response] It is $asctime(H:nn) $+ $asctime(tt) here, and I am away ( $+ $duration($idle,2) idle), so I may be sleeping.
    else //query $nick [Automated Response] I am away ( $+ $duration($idle,2) idle). I could answer you if I'm here and the speakers are on ;-)
  }
  :end
}

HTML doesn't allow easy indenting, but when you'll copy/paste this in your mIRC/Remote panel, accessible by pressing the button , and then press the [OK] button, it will be automatically indented.

Important: check if your Remote Panel already contains an [on *:OPEN:?:...] event. In this case, either you did that script, so you don't need me to tell you how to modify it, or you had another script installed, like Polaris, Siralop, Invision, whatever and it probably includes an antispam routine itself, so you don't need this guide.

How you can customize this script:

  • Add new keywords: if you notice that some spam doesn't get filtered, you can add the peculiar words in it to the list, just by copying a line and substituting the keywords. For example, if they open a query window which starts like this: "Hello <yournick>," (while nobody usually opens such query windows just to chat), simply add a line like "if ($pos($1-,Hello <yournick>,,1) != $null) goto lamer" among the others.
  • Specify detailed patterns: you can also check case sensitive keywords. For example, if your nick is JoE^ and you want the above keywords to be case sentitive, put the same line, but substitute "$pos" with "$poscs" so it will become "if ($poscs($1-,Hello JoE^,,1) != $null) goto lamer". Also you can determine if the message must start with those keywords, and not just contain them. In that case, substitute "!= $null" with "= 1" so the line will become "if ($poscs($1-,Hello JoE^,,1) = 1) goto lamer".
  • Specify whole messages: you can as well filter exact sentences, instead of checking if a sentence contains some keywords. In that case simply add a line like "if ($1- == Hello,) goto lamer" which for example will trigger on evey query window equal to "Hello,". This is not case sensitive; if you want a case sensitive check substitute "==" with "===", like "if ($1- === Hello,) goto lamer".
  • Modify the sleep time: my supposed sleep time goes from 0:00 to 8:59; means that a query window received between these times will be answered with the "I am sleeping" message. You can correct this by modifying the Hour time, from 9 to 10 for example, if you want the interval to end at 9:59, or to 8, if you want instead 7:59. If you want to modify the first time, 0:00, you should also add some text to the script. It can be easily done, anyway I don't have right now the time to add a tutorial on this, plus I don't think it's of vital importance wheter the script guesses exactly wheter you are sleeping or not.

I migliori approcci sulla chat C6 di Atlantide

Da qualche tempo ho fatto tornare in auge uno stupendo strumento di comunicazione: C6 di Atlantide! Certo, Atlantide è stata assorbita da Virgilio, ma il nome rimane.
Come uso io C6? Lascio il client attivo in background, così come faccio già da molto tempo con Miranda (“emulatore” ICQ e MSN); se poi qualcuno mi chiama, magari ci scappa la chiacchierata. Ho soprattutto apprezzato la funzione di “away” automatico, dopo un periodo di inattività pre-impostabile, che prima era assente, e che quindi mi faceva apparire virtualmente come sempre attivo anche quando non al PC.
Tuttavia ciò che è realmente importante non è il “come io, ephestione, uso C6”, bensì come usa C6 la maggior parte degli utenti… ed è per questo nobile scopo che mi sono avvalso del prezioso aiuto di una mia amica, la quale si è prestata giocosamente al progetto.
Ciò che alla mia amica (una ragazza attraente e di sani principi, secondo il giudizio del sottoscritto – giudizio ovviamente opinabile) è stato richiesto di fare, è semplicemente il collegarsi, ed impostare il proprio stato come “disponibile”, lasciando che il client ricevesse tutti i messaggi in entrata, e rigorosamente evitando ogni replica a ciò che le veniva scritto (tra l’altro simulando comunque il comportamento più frequente da parte delle utenti di sesso femminile, solitamente subissate di chiamate). Il contenuto di ogni finestra veniva poi riportato (copia/incolla) in un file di testo, ed ogni intervento veniva numerato sequenzialmente. La prima sessione, di seguito riportata, è rappresentativa di un totale di 100 interventi, ed è stata raccolta nell’intervallo approssimativo di un’ora e mezza. Da notare che nei primissimi minuti la velocità approssimativa, stimata dalla mia amica, si è attestata sulle 10 nuove finestre al minuto.
Alcuni interventi (tra cui uno particolarmente sostanzioso, a detta della mia amica) non sono stati inclusi, per un problema da lei riscontrato nella procedura di copia/incolla; in altri casi, la velocità nel susseguirsi delle finestre era tale che, nel tentativo di chiudere una discussione appena copiata, ne veniva chiusa una nuova appena aperta, comparsa pochi istanti prima che venisse premuto il pulsante [X], e quindi sovrappostasi alla precedente.

Seguono i risultati, ovvero l’elenco degli “approcci”, inalterato, se non nella rimozione dei rinvii di linea (sostituiti da “/”), e dalla blanda censura delle parole più pesanti, nonché ovviamente dall’oscuramento di dati personali sensibili (riconoscibile dai @@@).
Conclusioni e discussione dei risultati sono rimandati al lettore.

01) ciao/ti va di vederlo in cam
02) smak
03) fammela vedere in kam
04) altezza: 180 occhi: Verdi capelli: Neri fisico: Atletico .........ma fai anche corsi accelerati di free climbing si? ;-) / ..............altrimenti l'1.80 è raggiungibile da pochi.......... :-O / temo che da lassù tu non mi senta...........vabbè...........prima o poi troverò una piccozza...........buon proseguimento.......
05) ciao
06) ciao
07) ciao
08) ciao / come va? / io ho 22 anni,tu=?
09) ciao sono <nome> di <città> per caso ci conosciamo?(vedi la foto) / in seguito ad 1 malattia ho bisogno di fare sesso ogni 24 ore, puoi aiutarmi tu? (vedi foto)
10) hai mai fatto l'amore al cinema?
11) ciao / io sono <nome> 22 anni da <città> / tu<?
12) ciao
13) ciaoooo
14) CIAO / <mionick> / SCUSAMI / CERCO RAGAZZA DE <città> OK TE / SI TE / X SESSO NO / OK / X AMICIZIA OK / X PARLARE OK / ORA / CHIAMI TU O IO / IL NUMER / TI POSSO CHIAMARE / OK CIAO / SCUSAMI / MUORI COSA INUTILE NON RISPONDI UNA IN M,ENO
15) ciao
16) ciao
17) hai tempo per parlare con me?
18) ciao
19) ciso
20) buona sera
21) ti va di scopare cn un bel negrone molto dotato? / ti va di scopare cn un bel negrone molto dotato?
22) ciao / hai la cam?
23) ciao ti va di vedere un bel ragazo in web cam? anche se tu non c'el' hai
24) amore
25) ciao
26) ciao,vorrei sapere se gradisci fare i p@mp@n@
27) ciao, buona seraaaaa
28) ciao
29) ciao
30) permesso...... :D
31) CIAO SEI IMPEGNATA??? CHATTIAMO???
32) ciao, posso farti una domanda?
33) ciao
34) ciao / :D
35) ciao
36) ciao <nick> sei di rom,a
37) ciaoo!
38) aiutami..ho trovato mia mamma che...
39) c6 / c6 / impegnata?
40) ciao vorresti vederlo in cam?
41) ciao
42) ciao / vuoi vedere il mio grosso ca@@o in cam ?
43) ciao
44) ciaaaaaaaaaa
45) ciao...interessa vedermi in cam.....?
46) CIAO SONO PIGI,ADORO ESSERE COMANDATO, DA UNA DONNA.SE TI VA PUOI FARLO HO CAM, SE HAI MSN MESSENGER MGLIO,PERCHE' SI VEDE BENE LA CAM IL MIO INDIRIZZO è @@@@@@hotmail.com AGGIUNGIMI CHIAMAMI E CI DIVERTIAMO.GRAZIE CIAO
47) t va parlar d porkate?
48) scusi..qui è il pronto soccorso
49) ciao
50) HO VOGLIA VIENI IN CAM?
51) ciao
52) ciao
53) ciao
54) ciao
55) ciao...ti disturbo?
56) ciao / sei bsx
57) cam? / cam?
58) ti invita ad entrare nella stanza cerco donna curiosa con la cam:
59) ci divertiamo....?
60) ciao! vuoi vedermi nudo con la webcam?
61) ciao
62) ciao princpessa / sono <nome> di <cttà> / come va??
63) ciao
64) ciao / piacere <nome>
65) hola non mi dire che disturbo?????
66) ciao :)
67) ciao / sei di <città>?
68) ciao posso una domanda?
69) bella ale' / come stai tutto apposto? / scusa ma che e' l'esoterismo? / nn ricordo / tipo satanismo / o erotismo? / o tutt'eddue / e / e / e / e / e / s / t / r / o / n / z / o / n / a
70) ciao
71) ciao / cmva?
72) ciaoooooooooooooo / :)
73) ciao bellessima
74) toc toc
75) ciao che fai di bello stasera? Mi dai qualche suggerimento? :(
76) TI VUOI METTERE CON ME?
77) ciao,piacere <nome> / troppo impegnata o non ti piacciono ragazzi di colore?
78) ciao
79) ciao / io mi kiamo <nome> piacer / ti vadi chattar unpo kon me ;) :)
80) ciao
81) ciao
82) ciao
83) ciao vorresti vederlo in cam?
84) ciao, molto sfidante il tuo profilo... mi piace. ma non so se sei razzista nei confronti degli uomini sposati... ;)
85) ciao bellissima
86) OLA CIAO <nome> IMMAGINO, MI HA COLPITO IL NIKNAME ,CARINO CMQ SE TI VA .MI CHAIMO <nome>
87) ciao.... / tu 6 di <città>?io sono qui da 3 gg xchè frequento una scuola x danza,musica e teatro a <luogo> ma non conosco ancora nessuno.....
88) ciao
89) ciao
90) hai presente quel film dove la sorellina mastruba il fratello ?
91) ciao / tr@ia
92) ciao disturbo?
93) ciao / da dove dgt?
94) CIAO
95) ciao piacere <nome> 30 anni da <città>; se vuoi chattare con me (ho anche la cam) il mio nick su msn è @@@@@@@virgilio.it
96) ciao / sono <nome> piacere
97) ciao
98) Ciao dolce angelo ti andrebbero coccole
99) ciao
100)CIAO.. / CI 6??

Continua l’esperimento, stavolta in un contesto leggermente diverso: stessa amica e stesso profilo, le è stato tuttavia richiesto di impostare il suo stato su “Solo amici”. Sono stati quindi registrati gli interventi in Segreteria, in un lasso, deciso come standard, di un’ora e mezza. Parte di questo intervallo è stata eseguita in stato di “Assente”, in quanto la mia amica si è allontanata dal PC per un po’.
Riporto di seguito il copia/incolla dei messaggi lasciati in segreteria, dopo aver rimosso i nick, e applicato la solita censura dove opportuno. Un solo commento: lo stato di non disponibilità appare (ovviamente) ridurre il numero di interventi altrui, è palese come il numero di persone sia stato decisamente esiguo se paragonato a quello dell’esempio precedente. In alcuni casi, la stessa persona ha inviato più volte lo stesso messaggio.

01) CIAO, BUONPOMERIGGIO e BUONADOMENICA, posso o ti disturbo??? spero di non disturbarti!!!Mi farebbe molto piacere poter scambiare 4 chiacchere con te in tranquillita', che ne diresti.......TI ANDREBBE??? ;-)
02) CIAO, BUONPOMERIGGIO e BUONADOMENICA, posso o ti disturbo??? spero di non disturbarti!!!Mi farebbe molto piacere poter scambiare 4 chiacchere con te in tranquillita', che ne diresti.......TI ANDREBBE??? ;-)
03) CIAO, BUONPOMERIGGIO e BUONADOMENICA, posso o ti disturbo??? spero di non disturbarti!!!Mi farebbe molto piacere poter scambiare 4 chiacchere con te in tranquillita', che ne diresti.......TI ANDREBBE??? ;-)
04) ci fidanziamo?
05) ciao...
06) pago per un p@@@ino
07) ciaociao piccolina
08) CIAO! SONO NUDO DAVANTI ALLA CAM CON IL PENE IN MANO E HO TANTA VOGLIA DI SB@@@ARE! TI VA DI ATTIVARE CON ME??? SI O NO???
09) CIAO! SONO NUDO DAVANTI ALLA CAM CON IL PENE IN MANO E HO TANTA VOGLIA DI SB@@@ARE! TI VA DI ATTIVARE CON ME??? SI O NO???
10) CIAO! SONO NUDO DAVANTI ALLA CAM CON IL PENE IN MANO E HO TANTA VOGLIA DI SB@@@ARE! TI VA DI ATTIVARE CON ME??? SI O NO???
11) CIAO! SONO NUDO DAVANTI ALLA CAM CON IL PENE IN MANO E HO TANTA VOGLIA DI SB@@@ARE! TI VA DI ATTIVARE CON ME??? SI O NO???
12) Ciao
13) salve... (posso?).... ing 40enne ..... mi intrigherebbe trovare qui occasione per avventura vera, simpatica e piccante......... guarda sul profilo per vedere se potessi piacerti.... e fatti viva se ti va..
14) ciao
15) ciao, sarei felice di fare conversazione con te, ti va?
16) ciao
17) CIAO, BUONPOMERIGGIO e BUONADOMENICA, posso o ti disturbo??? spero di non disturbarti!!!Mi farebbe molto piacere poter scambiare 4 chiacchere con te in tranquillita', che ne diresti.......TI ANDREBBE??? ;-)
18) ciao

Credo che ora immaginiate il motivo per cui quando cercate di attaccar discorso con una qualunque ragazza su C6 non vi arriva quasi mai risposta.

  This article has been Digiproved