Documentazione mIRC

=$nick identifier

=$nick identifier

Indice

mIRC

Comandi e identificatori

Nozioni di base

Eventi

Strumenti di corrispondenza

Archiviazione dati

Strutture di controllo

Scripting GUI

Socket

Scripting avanzato

Risorse aggiuntive

Sicurezza

Altro

=$nick è un identificatore speciale. All’interno degli eventi on chat e on serv, se vuoi inviare un messaggio alla finestra dcc chat/serv invece di inviarlo come messaggio privato su IRC, devi anteporre il nickname con il segno di uguale ’=’. Per comodità, =$nick può essere usato come scorciatoia per = $+ $nick, dove $nick viene valutato correttamente.

Contenuto

Sintassi

=$nick

Parametri

nessuno

Esempi

; L'evento invia un messaggio di risposta a un utente all'interno di una DCC Chat
; quando digita: !myaddress [N], dove [N] è un numero, 0-9, della
; sua maschera di indirizzo.
 
ON *:CHAT:!myaddress *: {
 
  ; Imposta la variabile %num a ciò che segue !myaddress
  var %num = $2
 
  ; Verifica che %num sia un numero, maggiore o uguale a 0,
  ; e minore di 10 (0-9) poiché queste sono le uniche opzioni
  ; disponibili per $address(Nick,<N>).
  if ((%num isnum) && (%num >= 0) && (%num < 10)) {
 
    ; Usando l'identificatore =$nick, viene inviato un messaggio all'utente,
    ; con la sua maschera di indirizzo che utilizza il numero di maschera
    ; che ha richiesto.
    msg =$nick !myaddress Result: $address($nick,%num)
  }
}

Ora qualsiasi utente in una DCC Chat può digitare: !myadress 3, e verrà restituito il suo indirizzo mascherato nella forma: *!*[email protected]

Compatibilità

Aggiunto: mIRC v3.1
Aggiunto il: 23 Apr 1995

Nota: salvo diversa indicazione, questa era la data della funzionalità originale.
Ulteriori miglioramenti potrebbero essere stati apportati nelle versioni successive.

Vedi anche

Elenco degli identificatori mIRC

$ $, $1-, $!, $?, $*, $&, $++, $+, $? A $abook, $abs, $acos, $active, $activecid, $activewid, $adate, $address, $addtok, $addtokcs, $agent, $agentname, $agentstat, $agentver, $alias, $and, $anick, $ansi2mirc, $aop, $appactive, $appstate, $asc, $asctime, $asin, $atan, $atan2, $auto, $avoice, $away, $awaymsg, $awaytimeB $banmask, $base, $beta, $bfind, $bindip, $bitoff, $biton, $bits, $bnick, $bvar, $bytes C $calc, $caller, $cancel, $cb, $cd, $ceil, $chan, $chanmodes, $channel, $chantypes, $chat, $chr, $cid, $clevel, $click, $cmdbox, $cmdline, $cnick, $color, $colour, $com, $comcall, $comchan, $comchar, $comerr, $compact, $compress, $comval, $cos, $cosh, $count, $cr, $crc, $creq, $crlf, $ctime, $ctimer, $ctrlenterD $date, $day, $daylight, $dbuh, $dbuw, $dccignore, $dccport, $dde, $ddename, $debug, $decode, $decompress, $deltok, $devent, $dialog, $did, $didreg, $didtok, $didwm, $dir, $disk, $dlevel, $dll, $dllcall, $dname, $dns, $duration, $dqwindow E $ebeeps, $editbox, $email, $emailaddr, $encode, $envvar, $error, $eval, $evalnext, $event, $eventid, $exists, $exiting
F $false, $feof, $ferr, $fgetc, $file, $filename, $filtered, $find, $finddir, $finddirn, $findfile, $findfilen, $findtok, $findtokcs, $fline, $floor, $font, $fopen, $fread, $fromeditbox, $fserv, $fserve, $fulladdress, $fulldate, $fullname, $fullscreenG $get, $getdir, $getdot, $gettok, $gmt, $group H $halted, $hash, $height, $hfile, $hfind, $hget, $highlight, $hmac $hmatch, $hnick, $host, $hotline, $hotlinepos, $hotlink, $hregex, $hypotI $iaddress, $ial, $ialchan, $ibl, $idle, $iel, $ifmatch, $ifmatch2, $ignore, $iif, $iil, $inellipse, $ini, $initopic, $inmidi, $inmode, $inmp3, $inpaste, $inpoly, $input, $inrect, $inroundrect, $insong, $insongpause, $instok, $int, $intersect, $inwave, $inwho, $ip, $iptype, $iql, $isalias, $isbit, $isdde, $isdir, $isfile, $isid, $islower, $istok, $isupper, $isutf
K $keychar, $keyrpt, $keyval L $lactive, $lactivecid, $lactivewid, $left, $leftwin, $leftwinwid, $len, $level, $lf, $line, $lines, $link, $lock, $locked, $lof, $log, $log10, $logdir, $logstamp, $logstampfmt, $longfn, $longip, $lower, $ltimerM $maddress, $mask, $matchkey, $matchtok, $matchtokcs, $maxlens, $maxlenm, $maxlenl, $md5, $me, $menu, $menubar, $menucontext, $menutype, $mid, $mididir, $mircdir, $mircexe, $mircini, $mkfn, $mklogfn, $mknickfn, $mnick, $mode, $modefirst, $modelast, $modespl, $mouse, $mousecx, $mousecy, $mousedx, $mousedy, $mousekey, $mouselb, $mousex, $mousey, $mousewin, $mp3, $mp3dir, $msfile, $msgstamp, $msgtagsN $N, $naddress, $network, $nhnick, $nick, $nickmode, $no, $nofile, $nopath, $nopnick, $noqt, $not, $notags, $notify, $null, $numeric, $numtok, $nvnick O $ok, $online, $onlineserver, $onlinetotal $onpoly, $opnick, $or, $ord, $os
P $parmN, $parms, $parseline, $parsetype, $parseutf, $passivedcc, $pi, $pic, $play, $pnick, $portable, $portfree, $pos, $poscs, $prefix, $prop, $protect, $puttok Q $qt, $query R $r, $raddress, $rand, $rand, $rawbytes, $rawmsg, $read, $readini, $readn, $regbr, $regex, $regml, $regmlex, $regsub, $regsubex, $remote, $remove, $removecs, $remtok, $remtokcs, $replace, $replacecs, $replacex, $reptok, $result, $rgb, $right, $rnick, $roundS $samepath, $scid, $scon, $script, $scriptdir, $scriptline, $sdir, $send, $server, $serverip, $servertarget, $sfile, $sha1, $sha256, $sha384, $sha512, $shortfn, $show, $signal, $sin, $sinh, $site, $sline, $snick, $snicks, $snotify, $sock, $sockbr, $sockerr, $sockname, $sorttok, $sorttokcs, $sound, $speak, $sqrt, $sreq, $ssl, $sslcertsha1, $sslcertsha256, $ssldll, $ssllibdll, $sslready, $sslversion, $starting, $status, $str, $strip, $stripped, $style, $submenu, $switchbar, $sysdirT $tan, $tanh, $target, $tempfn, $ticks, $time, $timeout, $timer, $timestamp, $timestampfmt, $timezone, $tip, $tips, $titlebar, $token, $toolbar, $topic, $totp, $treebar, $true, $trust U $ulevel, $ulist, $unsafe, $upper, $uptime, $url, $usermode, $utfdecode, $utfencode V $v1, $v2, $var, $vcmd, $vcmdstat, $vcmdver, $version, $vnick, $vol
W $wavedir, $wid, $width, $wildsite, $wildtok, $window, $wrapX $xor Y $yesZ $zip = =$nick