IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi

IRCRehberi.Net- Türkiyenin En iyi IRC ve Genel Forum Sitesi (https://www.ircrehberi.net/)
-   mIRC Scripting Hazır Kodlar (https://www.ircrehberi.net/mirc-scripting-hazir-kodlar/)
-   -   Güncel Altın ve döviz kodu (https://www.ircrehberi.net/mirc-scripting-hazir-kodlar/43222-guncel-altin-ve-doviz-kodu.html)

KivanC 14 Ekim 2020 14:08

Güncel Altın ve döviz kodu
 
Kod:

alias d_exc_total return $+(=,$chr(3),12) $remove($replace($gettok($gettok($1,15-,$asc(")),2-1,44),$chr(44),$+($chr(32),TL,$chr(32),$chr(3),4),:,$+(:,$chr(32))),") TL
alias exchange {
sockopen exchange bigpara.hurriyet.com.tr 80
sockmark exchange http://bigpara.hurriyet.com.tr/altin/ }
on *:sockopen:exchange: {
if ($sockerr) { echo $color(notice) -a *** Siteye bağlantı sağlanamadı! | return }
sockwrite -n $sockname GET $sock($sockname).mark HTTP/1.1
sockwrite -n $sockname Host: $sock($sockname).addr
sockwrite -n $sockname User-Agent: */*
sockwrite -n $sockname Connection: Close
sockwrite -n $sockname }
on *:sockread:exchange: { if ($sockerr) { echo $color(notice) -a *** Veriler alinamadi! | return }
var %d_exc | sockread %d_exc | if ($sockbr) {
if $regex(%d_exc,/var \$altindata =/i) { var %r 1 | while %r <= $numtok(%d_exc,123) { %total = $gettok(%d_exc,%r,123)
if *"sembolid":2199* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** GRAM ALTIN $d_exc_total($v2) }
if *"sembolid":473* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** CUMHURİYET ALTINI $d_exc_total($v2) }
if *"sembolid":2356* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** CEYREK ALTIN $d_exc_total($v2) }
if *"sembolid":2640* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** 22 AYAR BİLEZİK $d_exc_total($v2) }
if *"sembolid":2355* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** YARIM ALTIN $d_exc_total($v2) }
if *"sembolid":1302* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** DOLAR $d_exc_total($v2) }
if *"sembolid":1639* iswm $gettok(%total,1-1,123) { echo $color(notice) -a *** EURO $d_exc_total($v2) }
inc %r } } } }
on *:sockclose:exchange: { echo $color(notice) -a *** $+($chr(3),4) $time $chr(3) itibari ile güncel fiyatlar listelendi. }


Rima 14 Ekim 2020 14:10

Emeğine sağlık

Sim 14 Ekim 2020 14:11

emegine saglik

Reyhan 14 Ekim 2020 15:37

Emeğinize sağlık ;ççk

She 14 Ekim 2020 18:02

Emeğinize sağlık


Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 12:20.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.

Copyright ©2019 - 2025 | IRCRehberi.Net