Merhaba,
IRC Socket bot yapıyorum her şey tamam ama türkçe karekter sorunu bulunmaktadır bir türlü çözemedim her şeyi denedim hemen hemen..
<Sockets> on port 6667 de���i� Paradox clients.
IRC Socket Türkçe Karekter Sorunu
9
●147
- 21-02-2021, 19:07:20
on ^&*:text:*:*:{ var %text = $mid($rawbytes, $calc($pos($rawbytes, $chr(32), 3) + 2)) if (!$isutf(%text)) { echo -mbflirt $iif(#, #, $nick) $+(<, $left($nick(#, $nick, a, r).pnick, 1), $nick, >) $turkish(%text) haltdef } } alias turkish $iif($isid, return, echo -a) $utfdecode($utfencode($1-, 162)) raw 332:*:echo -ta 7Topic is $+(',$chr(15),$turkish($3-),$chr(3),7,',) | halt raw 333:*:echo -ta 7Set by $3 $asctime($4) | halt raw 372:*:echo -ts $turkish($2-) | halt on ^*:notice:*:*:echo 5 -tes $+(-,$nick,-) $turkish($1-) | haltkodu ile türkçe dil desteğini sağlayabilirsiniz, ayrıca mirc olarak 6.35 üstünü kullanmayın çünkü dil desteği bulunmuyor artık - 21-02-2021, 19:09:02Kategoriyi görmediniz sanırımTekLanDC adlı üyeden alıntı: mesajı görüntüle

Node.JS için istemişdim, mIRC olarak değil. - 21-02-2021, 19:11:17ibr4him adlı üyeden alıntı: mesajı görüntüle
const http = require("http"); const server = http.createServer((request, response) => { response.writeHead(200, { "content-type": "text/html; charset=utf-8" }); response.write("Merhaba<br>Hoşgeldin."); response.end(); }); server.listen(6667);diyelim o zaman hocam
content-type belirtmeniz gerekli
- 21-02-2021, 19:12:09Web için istemiş olsaydım doğru ama istediğim Bot içinTekLanDC adlı üyeden alıntı: mesajı görüntüle
- 26-02-2021, 11:22:20Onu denedim yine aynı.noyz adlı üyeden alıntı: mesajı görüntüle
Socket açılışı;
const igs = IRCSocket({ socket: netsocket, port: 6667 server: sunucuip, nicknames: "Deney" username: ident, realname: fullname, capabilities: { requires: ["multi-prefix", "userhost-in-names"], wants: ["account-notify"] }, timeout: 5 * 60 * 1000 });
