![]() |
Radyo TCL! Selam Arkadaşlar ben bir tcl istiyorum. amacı SHOUTcast web sitesinden yardım alarak Current Song: Hande Yener - acı veriyor bu bölümü #radyo kanalına : Su anda calan parca Hande Yener - acı veriyor örneğindeki gibi yazmasını istiyorum. yani radfyo da ne calıyo ise onun ismini kanal a yansıtmasını istiyorum. yardımlarınızı bekliyorum.. :confused: |
bunub ende ariyorum yardim eden yokmu? |
Toplam 1 Eklenti bulunuyor. ekledim TCL yi isteyen çeksin... |
Radyo Tclsİ Radyo tcl si bunu alın scripts klasörüne atın sonra eggdrop a tanıtın kendinize göre editlemeniz gereken yerleri var radyo adresi falan onları editleyin çok güzel bir radyo tcl si yayın başlayınca Kanala topic atıyor şuan yayında Hangi dj varsa onuda söylüyor çalacak şarkıları 10 saniye önceden kanala söylüyor nasılmı oluyo bu olay sunuculara biraz gecikmeli gittiği için bot erken söylüyor şarkı çalmadan kanala hangi şarkının çalacağını radio kanalı geneline !son yazınca en son çalan 20 şarkıyı kanala söylüyor bot !calan yazınca kanala bot şuan çalan şarkıyı söylüo !Adres yazınca radionun adresini yazıor arkadaşlar yalnız radioya bağlandığınız şifreyi tcl nin içine yazmanız gerekiyor kesin bilmiyorum denemedim ama ben yazdım çünkü soruyor ctrl + f yapıp aratın ŞİFRE kelimesini oraya kendi radionuzun şifresini yazın diğer komutlarda aşşada yazıor o komutları değiştirme imkanınız var mesela !yardım komutunu !help olarak deişebilirsiniz ben keyfime göre değiştim beğeniceğinize eminim tcl nin canlı performansını görmek isterseniz irc.ProServis.org #radio kanalına gidin :)) # shoutcast.tcl v1.0 by DarkSun < Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. > (c)2oo5 # # comments? bugs? ideas? requests? money? beer? # plz mail me or visit By DarkSun [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] # visit #radio # # # whats this script all about? # ----------------------------- # # this script is for all the online radio admins out there. it announces serveral # stuff like the status of your radio, the current song, new listener peaks, # the current listeners and much much more to the channels you want. # the users can get infos by public and msg command, too, like the stream url, # stream stats, the last played songs, the current song, the dj... and much much # more. # also the bot informs the users about the current dj, whenever he changes or # a certain command is triggered. the dj name doesnt need to be your nickname, # so you can also call yourself "goethe mc" even if your irc nickname is # [gay]michael. the good thing about this is: nobody knows your nickname, so # you wont get unwanted querys with wishes and greets. the dj can also change # his nickname and the wish- and greet-feature will still work fine. # only users with the flag +D can be djs, so make sure to give this flag to # your djs -> .chattr djnick +D in the partyline. # # the script also changes the topic when your stream goes on or offline and # sends a public message, which is fully costumizeable. try it out yourself # and maybe it suits your needs :) # # it was tested with shoutcast 1.9.2 on debian linux. # # NOTE 1: make sure youve got a good connection from your shellserver to your # streamserver - if its the same server then thats very very good. the bot # checks every minute if something happened, so if the connection is not fast # the bot will lag like hell or timeout. make sure to change your settings # for the eggdrop floodprotection. # # NOTE 2: read the text here carefully, i get many many emails asking questions # which are acutally answered in this manual here. dont expect me to answer # these mails. :P # # # script history: # ---------------- # # v1.03 - different variables in the texts/topics possible # - possibility to unset the dj # - splitted the scripts chans in 'radiochans' and 'adminchans' # - 'advertiseonlyifonline'-function # - more regexes # - some bugfixes # v1.02 - added the .listener command, corrected some typos ;> # v1.01 - fixed a string i forgot to replace # v1.0 - first public release # # # # what does what config option mean/do? # -------------------------------------- # # radiochans - the channels the tcl is active in, "" for all, or "#chan1 #chan2" # adminchans - the channels the admin commands work in # # streamip - the ip of your radio # streamport - the port of your radio # streampass - the admin pass of your radio # # scstatstrigger - the trigger for the radio stats # scplayingtrigger - shows the song the radio is playing now # sclistenertrigger - shows the current listenercount # scdjtrigger - shows the current dj name # scstreamtrigger - shows your stream url -> streamtext # scsetdjtrigger - sets the current dj name, this doesnt have to be your nickname. # your nick will be saved too and all wishes and greets will be # redirected to this nickname. only availavle for ppl with the +D # flag. # scunsetdjtrigger - unsets the current dj, needs the +D flag # scwishtrigger - the command which the users can use if they wish a certain song # scgreettrigger - the command which users can use if the want to greet sb # sclastsongstrigger - the commands which users can use if they want to see the # songhistory # schelptrigger - shows the available commands # # alertadmin - the userhandle of the user who will get a msg if the server goes down # or a new script version is available # doalertadmin - 1 if you want to get a msg if the server goes offline, 0 if you # dont # # announce - shall the bot announce any stuff? 1 for yes, 0 for no # ctodjc - change topic on dj change? activate this if youre using /dj/ in the topic # urltopic - shall the bot change the topic everytime the radio goes on or off? # tellsongs - shall the bot post the songtitle to the channels everytime a # new song starts? # tellusers - shall the bot post the number of current users to the channel # everytime it changes or a new user maximum is reached? # tellbitrate - shall the bot announce bitrate changes? # # offlinetext - the reason the bot says when the radio goes offline # offlinetopic - the topic which is set when the radio goes offline # # onlinetext - the reason the bot says when the radio goes online # onlinetopic - the topic which is set when the radio goes online # # streamtext - the text with your stream infos # advertise - shall the bot advertist the advertisetext? # advertiseonlyifonline - 1 if the bot only should advertise the radio if the stream # is up and running, 0 for all-the-time advertisement # advertisetext - the text the bot will post once every 10 minutes. # # # # how do i put veriables in the different texts and topics? # ---------------------------------------------------------- # # the script knows the following variables which can be used in the offlinetext, # offlinetopic, onlinetext, onlinetopic, streamtext and advertisetext: # # /dj/ - the djnickname # /sgenre/ - the servers music genre # /stitle/ - the streamtitle # /surl/ - the servers url # /bitrate/ - the current streaming bitrate # /curlist/ - current listeners # /curhigh/ - current listener peak # /cursong/ - the current song # $streamip - the streams ip # $streamport - the streams port # # # # known bugs: # ------------ # # -numbers in the songhistory are killed, this is a xml sourcecode problem # -öäü are not shown correctly in the songtitles, because xml replaces each # of them with the same chars, so i cant fix it :( bitnapper told me it # would work anyway, but i cant confirm it. maybe my shoutcast version sucks. # the string replacements are included, so if it works youre a lucky guy. # # # loser of the day: # ------------------ # # loops aka edema for ripping the whole script, removing all of my copyright # infos and comments and putting his name under it. yeah, thats the open source # spirit... # # # # config ########################## set radiochans "#radio" set adminchans "#radio" set streamip "207.44.183.185" set streamport "6565" set streampass "ŞİFRE" set scstatstrigger "!durum" set scstreamtrigger "!adres" set scplayingtrigger "!calan" set sclistenertrigger "!dinleyici" set scdjtrigger "!dj" set scsetdjtrigger "!setdj" set scunsetdjtrigger "!unsetdj" set scwishtrigger "!istek" set scgreettrigger "!karsılama" set sclastsongstrigger "!son" set schelptrigger "!yardım" set alertadmin "" set doalertadmin "1" set announce "1" set urltopic "1" set ctodjc "1" set tellsongs "1" set tellusers "1" set tellbitrate "1" set advertise "1" set advertiseonlyifonline "1" set offlinetext "Şu anda yayınımız kesilmiştir." set offlinetopic "0,4http://207.44.183.185:6565/listen.pls adresinden dinleyebilirsiniz Şuan Yayın Yok ... Durum: 0,2>>Şuan RADYODA Dj YOK By DarkSun Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. set onlinetext "/dj/ /stitle/ şuanda yayında @ /surl/ adresinde /bitrate/kbits kalitesinde dinleyebilirsiniz." set onlinetopic "/dj/ /stitle/ 0,4http://207.44.183.85:6565/listen.pls /bitrate/kbits kalitesinde çalıyor Durum: 0,2>>Şuan YAYIN VAR<<" set streamtext "0,2Sizde Dinleyin! 0,4 /dj/ 0,7http://$streamip:$streamport/listen.pls" set advertisetext "2Sitemizi ziyaret etmismiydiniz? 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. end of config ##################### bind pub - $scstatstrigger pub_scstat bind msg - $scstatstrigger msg_scstat bind pub - $scplayingtrigger pub_playing bind msg - $scplayingtrigger msg_playing bind pub - $scdjtrigger pub_dj bind msg - $scdjtrigger msg_dj bind pub D $scsetdjtrigger pub_setdj bind msg D $scsetdjtrigger msg_setdj bind pub D $scunsetdjtrigger pub_unsetdj bind msg D $scunsetdjtrigger msg_unsetdj bind pub - $scwishtrigger pub_wish bind msg - $scwishtrigger msg_wish bind pub - $scgreettrigger pub_greet bind msg - $scgreettrigger msg_greet bind pub - $scstreamtrigger pub_stream bind msg - $scstreamtrigger msg_stream bind pub - $sclastsongstrigger pub_lastsongs bind msg - $sclastsongstrigger msg_lastsongs bind pub - $sclistenertrigger pub_listener bind msg - $sclistenertrigger msg_listener bind pub - $schelptrigger pub_help bind msg - $schelptrigger msg_help bind time - "* * * * *" isonline bind time - "?0 * * * *" advertise bind nick D * djnickchange set dj "" set surl "http://207.44.183.185:6565/listen.pls" set bitrate "48" set stitle "" if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp } proc shrink { calc number string start bl} { return [expr [string first "$string" $bl $start] $calc $number] } proc status { } { global streamip streamport streampass if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} close $sock } if { $streamstatus == "1" } { return 1 } else { return 0 } } proc poststuff { mode target targetname text } { global radiochans dj set curlist "0" set curhigh "0" set surl "http://207.44.183.185:6565/listen.pls" set cursong "" set sgenre "" set bitrate "48" set stitle "" set temp [open "isonline" r] while {[eof $temp] != 1} { set zeile [gets $temp] if {[string first "curlist:" $zeile] != -1 } { set curlist $zeile } if {[string first "curhigh:" $zeile] != -1 } { set curhigh $zeile } if {[string first "cursong:" $zeile] != -1 } { set cursong [lrange $zeile 1 [llength $zeile]]] } if {[string first "sgenre:" $zeile] != -1 } { set sgenre [lrange $zeile 1 [llength $zeile]]} if {[string first "serverurl:" $zeile] != -1 } { set surl [lindex $zeile 1] } if {[string first "bitrate:" $zeile] != -1 } { set bitrate [lindex $zeile 1] } if {[string first "stitle:" $zeile] != -1 } { set stitle [lindex $zeile 1] } } close $temp regsub -all "/stitle/" $text "$stitle" text regsub -all "/curlist/" $text "$curlist" text regsub -all "/curhigh/" $text "$curhigh" text regsub -all "/cursong/" $text "$cursong" text regsub -all "/sgenre/" $text "$sgenre" text regsub -all "/surl/" $text "$surl" text regsub -all "/bitrate/" $text "$bitrate" text regsub -all "/dj/" $text "$dj" text if {$target == "chan"} { foreach chan [channels] { if {$radiochans == "" } { putserv "$mode $chan :$text" } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1)} {putserv "$mode $chan :$text"} }}} if {$target == "nick"} { putserv "$mode $targetname :$text" } } proc schelp { target } { global scstatstrigger scstreamtrigger scplayingtrigger scdjtrigger sclastsongstrigger scwishtrigger scgreettrigger sclistenertrigger putserv "notice $target :Uygulayabileceğiniz Komutlar Aşşağıda listelenmiştir:" putserv "notice $target :$scstatstrigger - $scstreamtrigger - $scplayingtrigger - $scdjtrigger - $sclastsongstrigger - $scwishtrigger - $scgreettrigger - $sclistenertrigger" putserv "notice $target :[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] bilimum shell hosting hizmetleri" } proc pub_help {nick uhost hand chan arg} { global radiochans if {$radiochans == "" } { schelp $nick } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { schelp $nick} }} proc advertise { nick uhost hand chan arg } { global advertisetext advertise advertiseonlyifonline if {$advertise == "1" && $advertiseonlyifonline == "0"} { poststuff privmsg chan none "$advertisetext" } if {$advertise == "1" && $advertiseonlyifonline == "1" && [status] == 1} { poststuff privmsg chan none "$advertisetext" } } proc setdj {nickname djnickname } { global ctodjc onlinetopic if {$djnickname == "" } { set djnickname $nickname } global streamip streamport streampass dj putlog "shoutcast: new dj: $djnickname ($nickname)" set temp [open "dj" w+] puts $temp $djnickname close $temp set temp [open "djnick" w+] puts $temp $nickname close $temp set dj $djnickname if { [status] == "1" } { poststuff privmsg chan none "$djnickname is now rocking the turntables, enjoy." if { $ctodjc == "1" } { poststuff topic chan none "$onlinetopic" } } else { putserv "privmsg $nickname :this has not been announced because the radio is currentlfy offline." } } proc msg_setdj { nick uhost hand arg } { setdj $nick $arg } proc pub_setdj { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { setdj $nick $arg }} proc unsetdj { nick } { global dj onlinetopic ctodjc file delete dj set dj "" putserv "notice $nick :dj deleted" if { [status] == "1" && $ctodjc == "1" } { poststuff topic chan none "$onlinetopic" } } proc msg_unsetdj { nick uhost hand arg } { unsetdj $nick } proc pub_unsetdj { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { unsetdj $nick }} proc listener { target } { global streamip streamport streampass putlog "shoutcast: $target requested listener count" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] }} close $sock putserv "notice $target :Şuanda radyomuzu $repl kişi dinlemekte. Enfazla dinleyici sayısı $maxl, 'dir. Aynı anda en fazla dinleyici sayımız $curhigh kişidir.." }} proc msg_listener { nick uhost hand arg } { listener $nick } proc pub_listener { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { listener $nick }} proc wish { nick arg } { if {$arg == ""} { putserv "notice $nick :you forgot to add your wish"; return 0} if { [status] == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick :(WISH) - $nick - $arg" } else { putserv "notice $nick :Uzgunum suanda yayinimiz yok." } } proc msg_wish { nick uhost hand arg } { wish $nick $arg } proc pub_wish { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { wish $nick $arg }} proc sclastsongs { target } { global streamip streamport streampass putlog "shoutcast: $target requested songhistory" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set songs [string range $bl [string first "<TITLE>" $bl] [expr [string last "</TITLE>" $bl] + 7]] regsub -all "<" $songs "<" songs regsub -all ">" $songs ">" songs regsub -all "&" $songs "+" songs regsub -all """ $songs "\"" songs regsub -all "'" $songs "'" songs regsub -all "ÿ" $songs "" songs regsub -all "<TITLE>" $songs "(" songs regsub -all "</TITLE>" $songs ")" songs regsub -all "<SONG>" $songs "" songs regsub -all "</SONG>" $songs " - " songs regsub -all "<PLAYEDAT>" $songs "" songs regsub -all "</PLAYEDAT>" $songs "" songs regsub -all {\d} $songs "" songs regsub -all "´" $songs "´" songs regsub -all "–" $songs "-" songs regsub -all "ö" $songs "ö" songs regsub -all "ä" $songs "ä" songs regsub -all "ü" $songs "ü" songs regsub -all "Ö" $songs "Ö" songs regsub -all "Ä" $songs "Ä" songs regsub -all "Ü" $songs "Ü" songs regsub -all "ß" $songs "ß" songs }} close $sock putserv "notice $target :$songs" }} proc msg_lastsongs { nick uhost hand arg } { sclastsongs $nick } proc pub_lastsongs { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { sclastsongs $nick }} proc scstream { target } { global streamip streamport streamtext putlog "shoutcast: streaminfo requested by $target" poststuff notice nick $target $streamtext } proc msg_stream { nick uhost hand arg } { scstream $nick } proc pub_stream { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstream $nick }} proc scgreet { nick arg } { if {$arg == ""} { putserv "notice $nick :you forgot to add your greetmessage"; return 0} if { [status] == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick :(GREET) - $nick - $arg" } else { putserv "notice $nick :Üzgünüm Şuanda Yayın Yok" } } proc msg_greet { nick uhost hand arg } { scgreet $nick $arg } proc pub_greet { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scgreet $nick $arg }} proc djnickchange { oldnick uhost hand chan newnick } { set temp [open "djnick" r] set djnick [gets $temp] close $temp if {$oldnick == $djnick} { putlog "shoutcast: dj nickchange $oldnick -> $newnick" set temp [open "djnick" w+] puts $temp $newnick close $temp }} proc dj { target } { global streamip streamport streampass dj putlog "shoutcast: $target asked for dj info" if {[status] == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp putserv "notice $target :$dj Şuan Yayında..!" } else { putserv "notice $target :üzgünüm dj adı yok" } } else { putserv "notice $target :Üzgünüm Şuanda Radyo Aktif değil" } } proc msg_dj { nick uhost hand arg } { dj $nick"} proc pub_dj { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { dj $nick }} proc scstat {target} { global streamip streamport streampass putlog "shoutcast: $target asked for serverstats" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set bitrate [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]] set stitle [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]] set sgenre [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]] if {$sgenre != ""} {set sgenre " ($sgenre)"} set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] set irc [string range $bl [shrink + 5 "<IRC>" 0 $bl] [shrink - 1 "</IRC>" 0 $bl]] set icq [string range $bl [shrink + 5 "<ICQ>" 0 $bl] [shrink - 1 "</ICQ>" 0 $bl]] if {$icq == 0} { set icq "N/A" } set aim [string range $bl [shrink + 5 "<AIM>" 0 $bl] [shrink - 1 "</AIM>" 0 $bl]] set webhits [string range $bl [shrink + 9 "<WEBHITS>" 0 $bl] [shrink - 1 "</WEBHITS>" 0 $bl]] set streamhits [string range $bl [shrink + 12 "<STREAMHITS>" 0 $bl] [shrink - 1 "</STREAMHITS>" 0 $bl]] set version [string range $bl [shrink + 9 "<VERSION>" 0 $bl] [shrink - 1 "</VERSION>" 0 $bl]] if {$streamstatus == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp } else { set dj "none" } putserv "notice $target :$stitle$sgenre is online, running shoutcast $version and streaming at $bitrate kbps, your dj is $dj. please visit $surl" } else { putserv "notice $target :$stitle$sgenre is currenty offline, running shoutcast $version and streaming at $bitrate kbps, check out $surl" } putserv "notice $target :there are currently $repl unique people listening, the listener maximum is $maxl, our user peak was at $curhigh listeners." putserv "notice $target :the average user is listening $avgtime seconds, our stream had $webhits webhits and $streamhits streamhits." putserv "notice $target :you can contact the team by irc on $irc, via aim at $aim and with icq by the uin $icq." }} close $sock }} proc msg_scstat { nick uhost hand arg } { scstat $nick} proc pub_scstat { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstat $nick }} proc playing {target} { global streamip streamport streampass dj putlog "shoutcast: $target asked for current song" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set songtitle [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]] set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $songtitle "<" songtitle regsub -all ">" $songtitle ">" songtitle regsub -all "&" $songtitle "+" songtitle regsub -all """ $songtitle "\"" songtitle regsub -all "'" $songtitle "'" songtitle regsub -all "ÿ" $songtitle "" songtitle regsub -all "´" $songtitle "´" songtitle regsub -all "–" $songtitle "-" songtitle regsub -all "ö" $songtitle "ö" songtitle regsub -all "ä" $songtitle "ä" songtitle regsub -all "ü" $songtitle "ü" songtitle regsub -all "Ö" $songtitle "Ö" songtitle regsub -all "Ä" $songtitle "Ä" songtitle regsub -all "Ü" $songtitle "Ü" songtitle regsub -all "ß" $songtitle "ß" songtitle if {$streamstatus == 1} { putserv "notice $target :Şuan Çalan Şarkı $songtitle$songurl" } else { putserv "notice $target :Üzgünüm Şuan Şarkı Çalmıyor Yayında Dj yok" }}} close $sock }} proc msg_playing { nick uhost hand arg } { playing $nick} proc pub_playing { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { playing $nick }} proc isonline { nick uhost hand chan arg } { global radiochans announce tellusers tellsongs tellbitrate urltopic dj global offlinetext offlinetopic onlinetext onlinetopic global streamip streampass streamport dj global doalertadmin alertadmin if {$announce == 1 || $tellsongs == 1 || $tellusers == 1 || $tellbitrate == 1} { set isonlinefile "isonline" set oldisonline "isonline: 0" set oldcurlist "curlist: 0" set oldcurhigh "curhigh: 0" set oldsong "cursong: 0" set oldbitrate "bitrate: 0" if {[file exists $isonlinefile]} { putlog "shoutcast: checking if stream is online" set temp [open "isonline" r] while {[eof $temp] != 1} { set zeile [gets $temp] if {[string first "isonline:" $zeile] != -1 } { set oldisonline $zeile } if {[string first "curlist:" $zeile] != -1 } { set oldcurlist $zeile } if {[string first "curhigh:" $zeile] != -1 } { set oldcurhigh $zeile } if {[string first "cursong:" $zeile] != -1 } { set oldsong $zeile } if {[string first "bitrate:" $zeile] != -1 } { set oldbitrate $zeile } } close $temp } if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0} else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus "isonline: [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]]" set repl "curlist: [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]]" set curhigh "curhigh: [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]]" set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl "serverurl: [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]]" set cursong "cursong: [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]]" set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] set bitrate "bitrate: [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]]" set stitle "stitle: [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]]" set sgenre "sgenre: [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]]" }} close $sock } set temp [open "isonline" w+] puts $temp "$streamstatus\n$repl\n$curhigh\n$cursong\n$bitrat e\n$stitle\n$sgenre\n$surl" close $temp if {$announce == 1 } { if {$streamstatus == "isonline: 0" && $oldisonline == "isonline: 1"} { poststuff privmsg chan none $offlinetext if {$doalertadmin == "1"} { sendnote domsen $alertadmin "radio is now offline" } if {$urltopic == 1} { poststuff topic chan none $offlinetopic } } if {$streamstatus == "isonline: 1" && $oldisonline == "isonline: 0" } { if {$sgenre != ""} { set sgenre " ([lrange $sgenre 1 [llength $sgenre]] )" } poststuff privmsg chan none "$onlinetext" if {$urltopic == 1} { poststuff topic chan none "$onlinetopic" } }} if {($tellusers == 1) && ($streamstatus == "isonline: 1") && ($oldcurhigh != "curhigh: 0") } { if {$oldcurhigh != $curhigh} { poststuff privmsg chan none "new listener peak: [lindex $curhigh 1]" } if {$oldcurlist != $repl} { poststuff privmsg chan none "Şuanda radyomuzu2 ($currentl) kişi dinlemektedir." }} if {($tellsongs == 1) && ($oldsong != $cursong) && ($streamstatus == "isonline: 1") } { if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $cursong "<" cursong regsub -all ">" $cursong ">" cursong regsub -all "&" $cursong "+" cursong regsub -all """ $cursong "\"" cursong regsub -all "'" $cursong "'" cursong regsub -all "ÿ" $cursong "" cursong regsub -all "´" $cursong "´" cursong regsub -all "–" $cursong "-" cursong regsub -all "ö" $cursong "ö" cursong regsub -all "ä" $cursong "ä" cursong regsub -all "ü" $cursong "ü" cursong regsub -all "Ö" $cursong "Ö" cursong regsub -all "Ä" $cursong "Ä" cursong regsub -all "Ü" $cursong "Ü" cursong regsub -all "ß" $cursong "ß" cursong putlog $cursong poststuff privmsg chan none "Sıradaki Çalacak Olan Şarkı: [lrange $cursong 1 [llength $cursong]]$songurl" } if {($tellbitrate == 1) && ($oldbitrate != $bitrate) && ($streamstatus == "isonline: 1") && ($oldbitrate != "bitrate: 0")} { poststuff privmsg chan none "Dinlediginiz muzik [lindex $bitrate 1]kbps'de caliyor." }}} putlog "*** shoutcast.tcl v1.0 by DarkSun < Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. > succesfully loaded. turn it up baby." |
abi şunu *.tcl yapıp eklesydin daha güzel olurdu yinede eline sağlık.. |
ya ben bu yukardakini kopyaladim hazirladim herseyi de dogru yaptigima eminim ip ler sifre port dogru ama kanala sokamiyorum??? loglarda [00:04] Tcl error [isonline]: extra characters after close-quote [00:04] Tcl error in script for 'timer1': [00:04] extra characters after close-quote [00:05] Tcl error [isonline]: extra characters after close-quote yaziyor bi bilgisi olan varmi??? |
tamam yukardaki sorunumu hallettim ama dj i nasil vericem ya? onu yapamadim +D FLAGIni dj e ver diyor ama yapamadim ya biri anlatsa dj ismi yazmiyor yoksa???? bide nasil renkli yaparim yazilari :) |
Alıntı:
dostum world pad ile aç onu sonra o yazıların kısmına gel mirc script aç ordan renk kodunu al o yazının başına koy renkli olur dj olayını bende çözemedim kullanılan dj programına göre farklılık gösteriyor o dj yi göstermesi yani seni yapabileceğin birşey yok dj olayında |
DarkSun tr sağol koçum. |
Bu TCL sana ait deil bunu burdan kaldır! # shoutcast.tcl v1.0 by DarkSun < Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. > (c)2oo5 # # comments? bugs? ideas? requests? money? beer? # plz mail me or visit By DarkSun [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] # visit #radio # ben burda Tetrisi yayınladıgımda üstelik bahsedilen le alakası olmamasına ragmen konuya ilişkin 5 tane baslık acıldı bazı kendini bilmez bisey anlamazlar tarafından. bence sana ait olmayan bişeye adını kazıma... |
Bahse Konu TCL'nin DJ'i gosterebilmesi icin bir iki ufak degisiklik gerekmektedir. ================================================== ======= Arkadaslar bu tcl shoutcast-dsp-1-8-2b ile !dj i gostermediginden DJ gosterilmesi icin shout.tcl uzerinde bazi oynamalar yapilmistir. Bu durumda yayini yapan DJ Shout castSourche yi acarak output menusundeki yellowpages kisminda; Genre yazan bolume nickini, adini vs ne yazarsa bu kisim bu tcl de DJ olarak taninacaktir. Bilgilerinize ... Not: tcl tarafimiza ait degildir. Sadece bazi bolumleri ihtiyacimiza uygun kucuk degisiklikler yapilmistir. tcl yi sadece admin sifresi kapatilmis sekilde pasteledim. (Bu sekilde isinize daha cok yarayacagini dusundugumden dolayi) Reklam olarak anlasilmasin lutfen... Isinize yaramasi umidiyle.... ================================================== ======= set radiochans "#radio" /* Bu Kisma Radio kanalini yaziniz*/ set adminchans "#radio" /* Bu Kisma Radionun admin kanalini yaziniz*/ set streamip "66.90.90.170" /* Bu Kisma Radionun ip adresi*/ set streamport "5000" /* Bu Kisma Radionun portunu yaziniz*/ set streampass "**********" /* Bu Kisma Radionun admin sifresini yaziniz*/ set scstatstrigger "!durum" set scstreamtrigger "!adres" set scplayingtrigger "!calan" set sclistenertrigger "!dinleyici" set scdjtrigger "!dj" set scsetdjtrigger "!setdj" set scunsetdjtrigger "!unsetdj" set scwishtrigger "!istek" set scgreettrigger "!karsılama" set sclastsongstrigger "!son" set schelptrigger "!yardım" set alertadmin "" set doalertadmin "1" set announce "1" set urltopic "1" set ctodjc "1" set tellsongs "1" set tellusers "1" set tellbitrate "1" set advertise "1" set advertiseonlyifonline "1" set offlinetext "Şu anda yayınımız kesilmiştir." set offlinetopic "4Radyo GonuL! 2Yayını Dinlemek için Tıklayın 4http2:4//66.90.90.170:50002/4listen2.4pls 2Eger Winampınız YokSa 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Dinleyebilirsiniz' 7... Suan Yayin Yok ... 0,4Durum: 0,2>>Suan RADYODA Dj YOK <<" set onlinetext "4Radyo GönüL! : 2Şuanda yayındaki DJ'imiz 3/sgenre/ 2Nicki Arkadaşımızdır. 4http://66.90.90.170:5000/listen.pls 2adresinde 24kbits kalitesinde Yayın Yapmaktadır. 2Eger Winampınız YokSa 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Dinleyebilirsiniz' 2İsteklerinizi 3/sgenre/ 2Nickli Arkadalımızın özeline yazabilirsiniz." set onlinetopic "4Radyo GönüL! : 2Şuanda yayındaki DJ'imiz 3/sgenre/ 2Nickli Arkadaşımızdır. 4http://66.90.90.170:5000/listen.pls 2adresinde 24kbits kalitesinde Yayın Yapmaktadır. 2Eger Winampınız YokSa 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Dinleyebilirsiniz' 2İsteklerinizi 3/sgenre/ 2Nickli Arkadaşımızın özeline yazabilirsiniz. Durum: 0,2>>Suan YAYIN VAR<<" set streamtext "0,2Sizde Dinleyin! 0,4 /dj/ 0,7http://$streamip:$streamport/listen.pls" set advertisetext "2Sitemizi ziyaret etmismiydiniz? 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. bind pub - $scstatstrigger pub_scstat bind msg - $scstatstrigger msg_scstat bind pub - $scplayingtrigger pub_playing bind msg - $scplayingtrigger msg_playing bind pub - $scdjtrigger pub_dj bind msg - $scdjtrigger msg_dj bind pub D $scsetdjtrigger pub_setdj bind msg D $scsetdjtrigger msg_setdj bind pub D $scunsetdjtrigger pub_unsetdj bind msg D $scunsetdjtrigger msg_unsetdj bind pub - $scwishtrigger pub_wish bind msg - $scwishtrigger msg_wish bind pub - $scgreettrigger pub_greet bind msg - $scgreettrigger msg_greet bind pub - $scstreamtrigger pub_stream bind msg - $scstreamtrigger msg_stream bind pub - $sclastsongstrigger pub_lastsongs bind msg - $sclastsongstrigger msg_lastsongs bind pub - $sclistenertrigger pub_listener bind msg - $sclistenertrigger msg_listener bind pub - $schelptrigger pub_help bind msg - $schelptrigger msg_help bind time - "* * * * *" isonline bind time - "?0 * * * *" advertise bind nick D * djnickchange set dj "" set surl "http://66.90.90.170:5000/listen.pls" set bitrate "48" set stitle "" if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp } proc shrink { calc number string start bl} { return [expr [string first "$string" $bl $start] $calc $number] } proc status { } { global streamip streamport streampass if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} close $sock } if { $streamstatus == "1" } { return 1 } else { return 0 } } proc poststuff { mode target targetname text } { global radiochans dj set curlist "0" set curhigh "0" set surl "http://66.90.90.170:5000/listen.pls" set cursong "" set sgenre "" set bitrate "48" set stitle "" set temp [open "isonline" r] while {[eof $temp] != 1} { set zeile [gets $temp] if {[string first "curlist:" $zeile] != -1 } { set curlist $zeile } if {[string first "curhigh:" $zeile] != -1 } { set curhigh $zeile } if {[string first "cursong:" $zeile] != -1 } { set cursong [lrange $zeile 1 [llength $zeile]]] } if {[string first "sgenre:" $zeile] != -1 } { set sgenre [lrange $zeile 1 [llength $zeile]]} if {[string first "serverurl:" $zeile] != -1 } { set surl [lindex $zeile 1] } if {[string first "bitrate:" $zeile] != -1 } { set bitrate [lindex $zeile 1] } if {[string first "stitle:" $zeile] != -1 } { set stitle [lindex $zeile 1] } } close $temp regsub -all "/stitle/" $text "$stitle" text regsub -all "/curlist/" $text "$curlist" text regsub -all "/curhigh/" $text "$curhigh" text regsub -all "/cursong/" $text "$cursong" text regsub -all "/sgenre/" $text "$sgenre" text regsub -all "/surl/" $text "$surl" text regsub -all "/bitrate/" $text "$bitrate" text regsub -all "/dj/" $text "$dj" text if {$target == "chan"} { foreach chan [channels] { if {$radiochans == "" } { putserv "$mode $chan :$text" } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1)} {putserv "$mode $chan :$text"} }}} if {$target == "nick"} { putserv "$mode $targetname :$text" } } proc schelp { target } { global scstatstrigger scstreamtrigger scplayingtrigger scdjtrigger sclastsongstrigger scwishtrigger scgreettrigger sclistenertrigger putserv "notice $target :Uygulayabileceginiz Komutlar Asagida listelenmistir:" putserv "notice $target :$scstatstrigger - $scstreamtrigger - $scplayingtrigger - $sclastsongstrigger - $scwishtrigger - $sclistenertrigger" putserv "notice $target : Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. proc pub_help {nick uhost hand chan arg} { global radiochans if {$radiochans == "" } { schelp $nick } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { schelp $nick} }} proc advertise { nick uhost hand chan arg } { global advertisetext advertise advertiseonlyifonline if {$advertise == "1" && $advertiseonlyifonline == "0"} { poststuff privmsg chan none "$advertisetext" } if {$advertise == "1" && $advertiseonlyifonline == "1" && [status] == 1} { poststuff privmsg chan none "$advertisetext" } } proc setdj {nickname djnickname } { global ctodjc onlinetopic if {$djnickname == "" } { set djnickname $nickname } global streamip streamport streampass dj putlog "shoutcast: new dj: $djnickname ($nickname)" set temp [open "dj" w+] puts $temp $djnickname close $temp set temp [open "djnick" w+] puts $temp $nickname close $temp set dj $djnickname if { [status] == "1" } { poststuff privmsg chan none "$djnickname is now rocking the turntables, enjoy." if { $ctodjc == "1" } { poststuff topic chan none "$onlinetopic" } } else { putserv "privmsg $nickname :Radyo Su An Kapalidir." } } proc msg_setdj { nick uhost hand arg } { setdj $nick $arg } proc pub_setdj { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { setdj $nick $arg }} proc unsetdj { nick } { global dj onlinetopic ctodjc file delete dj set dj "" putserv "notice $nick :dj silindi." if { [status] == "1" && $ctodjc == "1" } { poststuff topic chan none "$onlinetopic" } } proc msg_unsetdj { nick uhost hand arg } { unsetdj $nick } proc pub_unsetdj { nick uhost hand chan arg } { global adminchans; if {([lsearch -exact [string tolower $adminchans] [string tolower $chan]] != -1) || ($adminchans == "")} { unsetdj $nick }} proc listener { target } { global streamip streamport streampass putlog "shoutcast: $target requested listener count" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] }} close $sock putserv "notice $target :Suanda radyomuzu $repl kisi dinlemektedir. Enfazla dinleyici sayisi $maxl, 'dir. Ayni anda en fazla dinleyici sayimiz $curhigh kisidir.." }} proc msg_listener { nick uhost hand arg } { listener $nick } proc pub_listener { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { listener $nick }} proc wish { nick arg } { if {$arg == ""} { putserv "notice $nick :you forgot to add your wish"; return 0} if { [status] == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick WISH) - $nick - $arg" } else { putserv "notice $nick :Uzgunum suanda yayinimiz yok." } } proc msg_wish { nick uhost hand arg } { wish $nick $arg } proc pub_wish { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { wish $nick $arg }} proc sclastsongs { target } { global streamip streamport streampass putlog "shoutcast: $target requested songhistory" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set songs [string range $bl [string first "<TITLE>" $bl] [expr [string last "</TITLE>" $bl] + 7]] regsub -all "<" $songs "<" songs regsub -all ">" $songs ">" songs regsub -all "&" $songs "+" songs regsub -all """ $songs "\"" songs regsub -all "'" $songs "'" songs regsub -all "ÿ" $songs "" songs regsub -all "<TITLE>" $songs "(" songs regsub -all "</TITLE>" $songs ")" songs regsub -all "<SONG>" $songs "" songs regsub -all "</SONG>" $songs " - " songs regsub -all "<PLAYEDAT>" $songs "" songs regsub -all "</PLAYEDAT>" $songs "" songs regsub -all {\d} $songs "" songs regsub -all "´" $songs "´" songs regsub -all "–" $songs "-" songs regsub -all "ö" $songs "ö" songs regsub -all "ä" $songs "ä" songs regsub -all "ü" $songs "ü" songs regsub -all "Ö" $songs "Ö" songs regsub -all "Ä" $songs "Ä" songs regsub -all "Ü" $songs "Ü" songs regsub -all "ß" $songs "ß" songs }} close $sock putserv "notice $target :$songs" }} proc msg_lastsongs { nick uhost hand arg } { sclastsongs $nick } proc pub_lastsongs { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { sclastsongs $nick }} proc scstream { target } { global streamip streamport streamtext putlog "shoutcast: streaminfo requested by $target" poststuff notice nick $target $streamtext } proc msg_stream { nick uhost hand arg } { scstream $nick } proc pub_stream { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstream $nick }} proc scgreet { nick arg } { if {$arg == ""} { putserv "notice $nick :4Radyo GonuL! 2Yayını Dinlemek için Tıklayın 4http2:4//66.90.90.170:50002/4listen2.4pls 2Eger Winampınız YokSa 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Dinleyebilirsiniz"; return 0} if { [status] == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick GREET) - $nick - $arg" } else { putserv "notice $nick :Uzgunum Suanda Yayin Yok" } } proc msg_greet { nick uhost hand arg } { scgreet $nick $arg } proc pub_greet { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scgreet $nick $arg }} proc djnickchange { oldnick uhost hand chan newnick } { set temp [open "djnick" r] set djnick [gets $temp] close $temp if {$oldnick == $djnick} { putlog "shoutcast: dj nickchange $oldnick -> $newnick" set temp [open "djnick" w+] puts $temp $newnick close $temp }} proc dj { target } { global streamip streamport streampass dj putlog "shoutcast: $target asked for dj info" if {[status] == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp putserv "notice $target :$dj Şuan Yayında..!" } else { putserv "notice $target :Dj Adi Bulunamadi." } } else { putserv "notice $target :Suanda Radyo Aktif Degildir." } } proc msg_dj { nick uhost hand arg } { dj $nick"} proc pub_dj { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { dj $nick }} proc scstat {target} { global streamip streamport streampass putlog "shoutcast: $target asked for serverstats" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set bitrate [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]] set stitle [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]] set sgenre [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]] if {$sgenre != ""} {set sgenre " ($sgenre)"} set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] set irc [string range $bl [shrink + 5 "<IRC>" 0 $bl] [shrink - 1 "</IRC>" 0 $bl]] set icq [string range $bl [shrink + 5 "<ICQ>" 0 $bl] [shrink - 1 "</ICQ>" 0 $bl]] if {$icq == 0} { set icq "N/A" } set aim [string range $bl [shrink + 5 "<AIM>" 0 $bl] [shrink - 1 "</AIM>" 0 $bl]] set webhits [string range $bl [shrink + 9 "<WEBHITS>" 0 $bl] [shrink - 1 "</WEBHITS>" 0 $bl]] set streamhits [string range $bl [shrink + 12 "<STREAMHITS>" 0 $bl] [shrink - 1 "</STREAMHITS>" 0 $bl]] set version [string range $bl [shrink + 9 "<VERSION>" 0 $bl] [shrink - 1 "</VERSION>" 0 $bl]] if {$streamstatus == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp } else { set dj "none" } putserv "notice $target :$stitle$sgenre yayında ... Version : $version ... Yayın Kalitesi: $bitrate kbps, DJ : $sgenre Yayını Dinlemek için tıklayınız: $surl" } else { putserv "notice $target :$stitle$sgenre yayında değildir ... Version : $version ... Son Yayın Kalitesi: $bitrate kbps, Son Yayın Adresi : $surl" } putserv "notice $target :Suan Radyoyu $repl kişi dinlemektedir. Toplam dinleyici kapasitesi : $maxl, Radyonun Restart Edilmesinden Sonra En Fazla Dinleyici Sayısı : $curhigh " putserv "notice $target :Ortalama Dinlenme Suresi : $avgtime sn, Web Hit : $webhits Dinlenme Hit : $streamhits " putserv "notice $target :[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] - irc.gonul.net " }} close $sock }} proc msg_scstat { nick uhost hand arg } { scstat $nick} proc pub_scstat { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstat $nick }} proc playing {target} { global streamip streamport streampass dj putlog "shoutcast: $target asked for current song" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set songtitle [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]] set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $songtitle "<" songtitle regsub -all ">" $songtitle ">" songtitle regsub -all "&" $songtitle "+" songtitle regsub -all """ $songtitle "\"" songtitle regsub -all "'" $songtitle "'" songtitle regsub -all "ÿ" $songtitle "" songtitle regsub -all "´" $songtitle "´" songtitle regsub -all "–" $songtitle "-" songtitle regsub -all "ö" $songtitle "ö" songtitle regsub -all "ä" $songtitle "ä" songtitle regsub -all "ü" $songtitle "ü" songtitle regsub -all "Ö" $songtitle "Ö" songtitle regsub -all "Ä" $songtitle "Ä" songtitle regsub -all "Ü" $songtitle "Ü" songtitle regsub -all "ß" $songtitle "ß" songtitle if {$streamstatus == 1} { putserv "notice $target :Suan Calan Sarki : $songtitle$songurl" } else { putserv "notice $target :Suan Sarki Calmiyor - Yayinda Dj Bulunmuyor." }}} close $sock }} proc msg_playing { nick uhost hand arg } { playing $nick} proc pub_playing { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { playing $nick }} proc isonline { nick uhost hand chan arg } { global radiochans announce tellusers tellsongs tellbitrate urltopic dj global offlinetext offlinetopic onlinetext onlinetopic global streamip streampass streamport dj global doalertadmin alertadmin if {$announce == 1 || $tellsongs == 1 || $tellusers == 1 || $tellbitrate == 1} { set isonlinefile "isonline" set oldisonline "isonline: 0" set oldcurlist "curlist: 0" set oldcurhigh "curhigh: 0" set oldsong "cursong: 0" set oldbitrate "bitrate: 0" if {[file exists $isonlinefile]} { putlog "shoutcast: checking if stream is online" set temp [open "isonline" r] while {[eof $temp] != 1} { set zeile [gets $temp] if {[string first "isonline:" $zeile] != -1 } { set oldisonline $zeile } if {[string first "curlist:" $zeile] != -1 } { set oldcurlist $zeile } if {[string first "curhigh:" $zeile] != -1 } { set oldcurhigh $zeile } if {[string first "cursong:" $zeile] != -1 } { set oldsong $zeile } if {[string first "bitrate:" $zeile] != -1 } { set oldbitrate $zeile } } close $temp } if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0} else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus "isonline: [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]]" set repl "curlist: [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]]" set curhigh "curhigh: [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]]" set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl "serverurl: [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]]" set cursong "cursong: [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]]" set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] set bitrate "bitrate: [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]]" set stitle "stitle: [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]]" set sgenre "sgenre: [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]]" }} close $sock } set temp [open "isonline" w+] puts $temp "$streamstatus\n$repl\n$curhigh\n$cursong\n$bitrat e \n$stitle\n$sgenre\n$surl" close $temp if {$announce == 1 } { if {$streamstatus == "isonline: 0" && $oldisonline == "isonline: 1"} { poststuff privmsg chan none $offlinetext if {$doalertadmin == "1"} { sendnote domsen $alertadmin "radio is now offline" } if {$urltopic == 1} { poststuff topic chan none $offlinetopic } } if {$streamstatus == "isonline: 1" && $oldisonline == "isonline: 0" } { if {$sgenre != ""} { set sgenre " ([lrange $sgenre 1 [llength $sgenre]] )" } poststuff privmsg chan none "$onlinetext" if {$urltopic == 1} { poststuff topic chan none "$onlinetopic" } }} if {($tellusers == 1) && ($streamstatus == "isonline: 1") && ($oldcurhigh != "curhigh: 0") } { if {$oldcurhigh != $curhigh} { poststuff privmsg chan none "new listener peak: [lindex $curhigh 1]" } if {$oldcurlist != $repl} { poststuff privmsg chan none "Suanda radyomuzu2 ($currentl) kisi dinlemektedir." }} if {($tellsongs == 1) && ($oldsong != $cursong) && ($streamstatus == "isonline: 1") } { if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $cursong "<" cursong regsub -all ">" $cursong ">" cursong regsub -all "&" $cursong "+" cursong regsub -all """ $cursong "\"" cursong regsub -all "'" $cursong "'" cursong regsub -all "ÿ" $cursong "" cursong regsub -all "´" $cursong "´" cursong regsub -all "–" $cursong "-" cursong regsub -all "ö" $cursong "ö" cursong regsub -all "ä" $cursong "ä" cursong regsub -all "ü" $cursong "ü" cursong regsub -all "Ö" $cursong "Ö" cursong regsub -all "Ä" $cursong "Ä" cursong regsub -all "Ü" $cursong "Ü" cursong regsub -all "ß" $cursong "ß" cursong putlog $cursong poststuff privmsg chan none "8,1.::. 9,1Yayını Yapan DJ: 0,1/sgenre/ 8,1.::. 9,1Sıradaki Çalacak Olan Şarkı: 0,1 [lrange $cursong 1 [llength $cursong]]$songurl 8,1.::. " } if {($tellbitrate == 1) && ($oldbitrate != $bitrate) && ($streamstatus == "isonline: 1") && ($oldbitrate != "bitrate: 0")} { poststuff privmsg chan none "4Radyo GonuL! 2Yayını Dinlemek için Tıklayın 4http2:4//66.90.90.170:50002/4listen2.4pls 2Eger Winampınız YokSa 4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Dinleyebilirsiniz'" }}} putlog "*** Bu tcl tarafimiza ait degildir.. Sadece kendimize uygun duzeltmeler yapilmistir Bilgilerinize... irc.gonul.net Turk." |
SAOLASIN TURK ABI .... Unknown kankam a selamlar.. Written Ustad |
DarkSun Tamam GüzeL Yapmıssın Ama Keske Sen Bu Radyo TCL' Lesini NasıL Kurulduhunu Ve NasıL Olacagını Anlatsaydın olmazmıydı :) BarısaLım Artık Tamam ' mı OK ! |
Dorksun helal Olsun Kardeş Ama Zipleyıp Atsana O tcl yı Daha Guzel Olur Hemde Ugrasmamıs oluruz. Şimdi Dieceksin Hem Beles tcl buldun hemde Hazıra Konmak Istıyorsun evet Aynen oyle Valla oyle yaparsan sevınırım Lutfen |
TURK ellerıne Saglık Eyw Dostum Saolasın |
tşk lerımı gerı alıyorum tcl calısmıyor edıtledıgım halde Hata verıyor cd cd eggdrop ./eggdrop dosya-adi.conf Ve Sonrasında Hata Raporu var (file "scripts/radyo.tcl" line 1) invoked from within "source scripts/radyo.tcl" (file "cycle.conf" line 81) [09:25] * CONFIG FILE NOT LOADED (NOT FOUND, OR ERROR) |
biz lamerlerle muahtap olmayız greanstar hele senin gibi lamerlerle adam olanla zaten biz küsmeyiz senin gibi lamerlerlede işimiz olmaz |
Radyo tcl rADYO tCl DE sADECE !Link !durum !istek Şeklince Bir tcL var mı. Ve Çalan ParÇaLarı |
ya bunu düz mircla naıl yaparız nalı kullanırız bir yolu varmı düz mirta kullanmanın ? |
Bildigim kadarı ile yok kardesim |
yaa bu konu forumda yüz defa anlatildi. conf u eggdrop a tcl yide eggdrop dan scripts e atacaksiniz. |
düz mirte kullanılmaması kötü buna benzer bişeyler varmı acaba yani bilgilendire bileceginiz biey mesela soru cvp botu gibi ama mirdan işte suan dj abdullah çalan parca baris manco dinleyici sayısı 13 yayın adresi Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. bilmem ne gibi mirc botu yokmu buna benzer bişeyler ? |
... Yaa aRK.LaR Şu oLaYı BiLeN YoKMu ? öRN: !istek hayalet sevgilim BöLe YaZDıĞıMDa Djin öZeLiNe GiDiYor Hayalet SevgilM PaRÇaSıNı Abc NicKi iStiYoR DiYe YaZıYoR ??? |
Forum Ararsaniz Ask_harfleri Arkadaşımız TcL'i vermişdir.. |
Yanıt: Radyo TCL! ya tamam herşey güzelde bu botu #radyo kanalına sokuyoruz #dj kanalına nasıl sokacaz iki kanala birden giriyormu bu |
Cevap: Radyo TCL! Radyo.conf icerisindeki #Radyo Kanalının Altına bunu aynen ekleyin ctrL+x Y Basip Enterlayıp Kaydedip cikiniz.. Kod: channel add #dj { |
Yanıt: Radyo TCL! set radiochans "#radyo" set streamip "İP-Adres" set streamport "port" set streampass "ŞİFRE" set scstatstrigger "!durum" set scstreamtrigger "!link" set scplayingtrigger "!çalan" set sclistenertrigger "!dinleyen" set scdjtrigger ".dj" set scsetdjtrigger ".setdj" set scwishtrigger ".wish" set scgreettrigger ".greet" set sclastsongstrigger "!Magic" set schelptrigger "!help" set announce "1" set urltopic "1" set tellsongs "1" set tellusers "1" set tellbitrate "1" set advertise "1" set offlinetext "15,1Radyo yayinimiza DJ degisikligi sebebi ile ara verdik lutfen bir sure bekleyiniz.. " set offlinetopic "15,1Radyo yayinimiza DJ degisikligi sebebi ile ara verdik lutfen bir sure bekleyiniz.. " set onlinetext "0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. onlinetopic "0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. streamtext "0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. advertisetext "2 Radyo için Gerekli biLgiLer 7 !durum - !istek -!link - !çalan - !Dinleyen" # end of config ##################### bind pub - $scstatstrigger pub_scstat bind msg - $scstatstrigger msg_scstat bind pub - $scplayingtrigger pub_playing bind msg - $scplayingtrigger msg_playing bind pub - $scdjtrigger pub_dj bind msg - $scdjtrigger msg_dj bind pub D $scsetdjtrigger pub_setdj bind msg D $scsetdjtrigger msg_setdj bind pub - $scwishtrigger pub_wish bind msg - $scwishtrigger msg_wish bind pub - $scgreettrigger pub_greet bind msg - $scgreettrigger msg_greet bind pub - $scstreamtrigger pub_stream bind msg - $scstreamtrigger msg_stream bind pub - $sclastsongstrigger pub_lastsongs bind msg - $sclastsongstrigger msg_lastsongs bind pub - $sclistenertrigger pub_listener bind msg - $sclistenertrigger msg_listener bind pub - $schelptrigger pub_help bind msg - $schelptrigger msg_help bind time - "* * * * *" isonline bind time - "?0 * * * *" advertise bind nick D * djnickchange proc shrink { calc number string start bl} { return [expr [string first "$string" $bl $start] $calc $number] } proc poststuff { mode text } { global radiochans foreach chan [channels] { if {$radiochans == "" } { putserv "$mode $chan :$text" } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} {putserv "$mode $chan :$text"} }}} proc schelp { target } { global scstatstrigger scstreamtrigger scplayingtrigger scdjtrigger sclastsongstrigger scwishtrigger scgreettrigger sclistenertrigger putserv "privmsg #radyo Radyo botu icin gerekli komutlar:" putserv "privmsg #radyo $scstatstrigger - $scstreamtrigger - $scplayingtrigger - $scdjtrigger - $sclastsongstrigger - $scwishtrigger - $scgreettrigger - $sclistenertrigger" putserv "privmsg #radyo Radio.tcl yapimcisi - Magic" } proc pub_help {nick uhost hand chan arg} { global radiochans if {$radiochans == "" } { schelp $nick } if {$radiochans != "" } { if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { schelp $nick} }} proc advertise { nick uhost hand chan arg } { global advertisetext advertise if {$advertise == "1" } { poststuff privmsg $advertisetext } } proc setdj {nickname djnickname } { if {$djnickname == "" } { set djnickname $nickname } global streamip streamport streampass putlog "shoutcast: new dj: $djnickname ($nickname)" set temp [open "dj" w+] puts $temp $djnickname close $temp set temp [open "djnick" w+] puts $temp $nickname close $temp putserv "privmsg your are now dj of this radio" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" ts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} if { $streamstatus == "1" } { poststuff privmsg "$djnickname is now rocking the turntables, enjoy." } else { putserv "privmsg this has not been announced because the radio is currentlfy offline." } }} proc listener { target } { global streamip streamport streampass putlog "shoutcast: $target requested listener count" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] }} close $sock putserv "privmsg #radyo 15,1Suan yayinimizi dinleyen kisi sayisi 1,15 $repl " }} proc msg_listener { nick uhost hand arg } { global radiochans; listener $nick } proc pub_listener { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { listener $nick }} proc wish { nick arg } { if {$arg == ""} { putserv "privmsg #radyo you forgot to add your wish"; return 0} global streamip streamport streampass putlog "shoutcast: $nick wants to hear: $arg" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} if { $streamstatus == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick :(WISH) - $nick - $arg" } else { putserv "privmsg #radyo sorry radio is currently offline" } }} proc msg_wish { nick uhost hand arg } { global radiochans; wish $nick $arg } proc pub_wish { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { wish $nick $arg }} proc sclastsongs { target } { global streamip streamport streampass putlog "shoutcast: $target requested songhistory" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set songs [string range $bl [string first "<TITLE>" $bl] [expr [string last "</TITLE>" $bl] + 7]] regsub -all "<" $songs "<" songs regsub -all ">" $songs ">" songs regsub -all "&" $songs "+" songs regsub -all """ $songs "\"" songs regsub -all "'" $songs "'" songs regsub -all "ÿ" $songs "" songs regsub -all "<TITLE>" $songs "(" songs regsub -all "</TITLE>" $songs ")" songs regsub -all "<SONG>" $songs "" songs regsub -all "</SONG>" $songs " - " songs regsub -all "<PLAYEDAT>" $songs "" songs regsub -all "</PLAYEDAT>" $songs "" songs regsub -all {\d} $songs "" songs }} putserv "privmsg #radyo $songs" }} proc msg_lastsongs { nick uhost hand arg } { global radiochans; sclastsongs $nick } proc pub_lastsongs { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { sclastsongs $nick }} proc scstream { target } { global streamip streamport streamtext putlog "shoutcast: streaminfo requested by $target" putserv "privmsg #radyo $streamtext" } proc msg_stream { nick uhost hand arg } { global radiochans; scstream $nick } proc pub_stream { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstream $nick }} proc scgreet { nick arg } { if {$arg == ""} { putserv "privmsg #radyo you forgot to add your greetmessage"; return 0} global dj streamip streamport streampass putlog "shoutcast: $nick greets fly out to: $arg" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} if { $streamstatus == "1" } { set temp [open "djnick" r] set djnick [gets $temp] close $temp putserv "privmsg $djnick :(GREET) - $nick - $arg" } else { putserv "privmsg #radyo sorry radio is currently offline" } }} proc msg_greet { nick uhost hand arg } { global radiochans; scgreet $nick $arg } proc pub_greet { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scgreet $nick $arg }} proc msg_setdj { nick uhost hand arg } { global radiochans; setdj $nick $arg } proc pub_setdj { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { setdj $nick $arg }} proc djnickchange { oldnick uhost hand chan newnick } { set temp [open "djnick" r] set djnick [gets $temp] close $temp if {$oldnick == $djnick} { putlog "shoutcast: dj nickchange $oldnick -> $newnick" set temp [open "djnick" w+] puts $temp $newnick close $temp }} proc dj { target } { global streamip streamport streampass putlog "shoutcast: $target asked for dj info" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] }} if {$streamstatus == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp putserv "privmsg #radyo $dj is at the turntables!" } else { putserv "privmsg #radyo sorry, no dj name available" } } else { putserv "privmsg #radyo sorry radio is currently offline" } ose $sock }} proc msg_dj { nick uhost hand arg } { global radiochans; dj $nick"} proc pub_dj { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { dj $nick }} proc scstat {target} { global streamip streamport streampass putlog "shoutcast: $target asked for current song" putlog "shoutcast: $target asked for serverstats" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set songtitle [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]] set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] set repl [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]] set curhigh [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]] set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]] set maxl [string range $bl [shrink + 14 "<MAXLISTENERS>" 0 $bl] [shrink - 1 "</MAXLISTENERS>" 0 $bl]] set bitrate [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]] set stitle [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]] set sgenre [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]] if {$sgenre != ""} {set sgenre " ($sgenre)"} set avgtime [string range $bl [shrink + 13 "<AVERAGETIME>" 0 $bl] [shrink - 1 "</AVERAGETIME>" 0 $bl]] set irc [string range $bl [shrink + 5 "<IRC>" 0 $bl] [shrink - 1 "</IRC>" 0 $bl]] set icq [string range $bl [shrink + 5 "<ICQ>" 0 $bl] [shrink - 1 "</ICQ>" 0 $bl]] if {$icq == 0} { set icq "N/A" } set aim [string range $bl [shrink + 5 "<AIM>" 0 $bl] [shrink - 1 "</AIM>" 0 $bl]] set webhits [string range $bl [shrink + 9 "<WEBHITS>" 0 $bl] [shrink - 1 "</WEBHITS>" 0 $bl]] set streamhits [string range $bl [shrink + 12 "<STREAMHITS>" 0 $bl] [shrink - 1 "</STREAMHITS>" 0 $bl]] set version [string range $bl [shrink + 9 "<VERSION>" 0 $bl] [shrink - 1 "</VERSION>" 0 $bl]] if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $songtitle "<" songtitle regsub -all ">" $songtitle ">" songtitle regsub -all "&" $songtitle "+" songtitle regsub -all """ $songtitle "\"" songtitle regsub -all "'" $songtitle "'" songtitle regsub -all "ÿ" $songtitle "" songtitle if {$streamstatus == 1} { if {[file exists dj]} { set temp [open "dj" r] set dj [gets $temp] close $temp } else { set dj "none" } poststuff topic "2 Yayında Suan 4 <<<$stitle>>> 2bulunmakta.Yayin turu: 4$sgenre2 Calan parca: >>>>> 4$songtitle$songurl 2<<<< " putserv "privmsg #radyo 0,1 $stitle 0,5 Turkiye'nin en kaliteli online radyosu ve DJ'leri 0,7 Radyo mIRCASYa Resmi Sitesi: [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] " putserv "privmsg #radyo - " putserv "privmsg #radyo 0,4 $stitle Suanda OnLine 0,2 Siradaki parca : ..:: Radyo mIRCASYa ..::.. $songtitle$songurl 0,6 Suanda $repl Kisi Dinliyor (rekor: $curhigh ) " putserv "privmsg #radyo 0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. ile ilgili sorulariniz, sorunlariniz icin #radyoHelp kanalini kullanabilir, DJ'lerimizden yardim alabilirsiniz." } else { putserv "privmsg #radyo 0,1 Suan Yayında Dj buLunmamaktardır." } }} close $sock }} proc msg_scstat { nick uhost hand arg } { global radiochans; scstat $nick} proc pub_scstat { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { scstat $nick }} proc playing {target} { global streamip streamport streampass putlog "shoutcast: $target asked for current song" if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0 } else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]] set songtitle [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]] set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $songtitle "<" songtitle regsub -all ">" $songtitle ">" songtitle regsub -all "&" $songtitle "+" songtitle regsub -all """ $songtitle "\"" songtitle regsub -all "'" $songtitle "'" songtitle regsub -all "ÿ" $songtitle "" songtitle if {$streamstatus == 1} { putserv "privmsg #radyo 0,4Calan parca 0,7 $songtitle$songurl " } else { putserv "privmsg #radyo Yayın Şuan Yoktur" }}} close $sock }} proc msg_playing { nick uhost hand arg } { global radiochans; playing $nick} proc pub_playing { nick uhost hand chan arg } { global radiochans; if {([lsearch -exact [string tolower $radiochans] [string tolower $chan]] != -1) || ($radiochans == "")} { playing $nick }} proc isonline { nick uhost hand chan arg } { global radiochans announce tellusers tellsongs tellbitrate urltopic global offlinetext offlinetopic onlinetext onlinetopic global streamip streampass streamport if {$announce == 1 || $tellsongs == 1 || $tellusers == 1 || $tellbitrate == 1} { set isonlinefile "isonline" set oldisonline "isonline: 0" set oldcurlist "4,1 : 15,1 0" set oldcurhigh "curhigh: 0" set oldsong "cursong: 0" set oldbitrate "bitrate: 0" if {[file exists $isonlinefile]} { putlog "shoutcast: checking if stream is online" set temp [open "isonline" r] while {[eof $temp] != 1} { set zeile [gets $temp] if {[string first "isonline:" $zeile] != -1 } { set oldisonline $zeile } if {[string first "curlist:" $zeile] != -1 } { set oldcurlist $zeile } if {[string first "curhigh:" $zeile] != -1 } { set oldcurhigh $zeile } if {[string first "cursong:" $zeile] != -1 } { set oldsong $zeile } if {[string first "bitrate:" $zeile] != -1 } { set oldbitrate $zeile } } close $temp } if {[catch {set sock [socket $streamip $streamport] } sockerror]} { putlog "error: $sockerror" return 0} else { puts $sock "GET /admin.cgi?pass=$streampass&mode=viewxml&page=0 HTTP/1.0" puts $sock "User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9)" puts $sock "Host: $streamip" puts $sock "Connection: close" puts $sock "" flush $sock while {[eof $sock] != 1} { set bl [gets $sock] if { [string first "standalone" $bl] != -1 } { set streamstatus "isonline: [string range $bl [shrink + 14 "<STREAMSTATUS>" 0 $bl] [shrink - 1 "</STREAMSTATUS>" 0 $bl]]" set repl "curlist: [string range $bl [shrink + 19 "<REPORTEDLISTENERS>" 0 $bl] [shrink - 1 "</REPORTEDLISTENERS>" 0 $bl]]" set curhigh "curhigh: [string range $bl [shrink + 15 "<PEAKLISTENERS>" 0 $bl] [shrink - 1 "</PEAKLISTENERS>" 0 $bl]]" set currentl [string range $bl [shrink + 18 "<CURRENTLISTENERS>" 0 $bl] [shrink - 1 "</CURRENTLISTENERS>" 0 $bl]] set surl "serverurl: [string range $bl [shrink + 11 "<SERVERURL>" 0 $bl] [shrink - 1 "</SERVERURL>" 0 $bl]]" set cursong "cursong: [string range $bl [shrink + 11 "<SONGTITLE" 0 $bl] [shrink - 1 "</SONGTITLE>" 0 $bl]]" set songurl [string range $bl [shrink + 9 "<SONGURL>" 0 $bl] [shrink - 1 "</SONGURL>" 0 $bl]] set bitrate "bitrate: [string range $bl [shrink + 9 "<BITRATE>" 0 $bl] [shrink - 1 "</BITRATE>" 0 $bl]]" set stitle [string range $bl [shrink + 13 "<SERVERTITLE>" 0 $bl] [shrink - 1 "</SERVERTITLE>" 0 $bl]] set sgenre [string range $bl [shrink + 13 "<SERVERGENRE>" 0 $bl] [shrink - 1 "</SERVERGENRE>" 0 $bl]] set streamhits [string range $bl [shrink + 12 "<STREAMHITS>" 0 $bl] [shrink - 1 "</STREAMHITS>" 0 $bl]] }} close $sock } set temp [open "isonline" w+] puts $temp "$streamstatus\n$repl\n$curhigh\n$cursong\n$bitrat e" close $temp if {$announce == 1 } { if {$streamstatus == "isonline: 0" && $oldisonline == "isonline: 1"} { poststuff privmsg $offlinetext if {$urltopic == 1} { poststuff topic $offlinetopic } } if {$streamstatus == "isonline: 1" && $oldisonline == "isonline: 0" } { if {$sgenre != ""} { set sgenre " ($sgenre)" } poststuff privmsg "15,1 suanda 4,1ACIK.. 0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. 100} { poststuff topic "Yayında Suan <<<$stitle>>> bulunmakta.Yayin turu: $sgenre Calan parca: >>>>> [lrange $cursong 1 [llength $cursong]]$songurl <<<< " } }} if {($tellusers == 1) && ($streamstatus == "isonline: 1") && ($oldcurhigh != "curhigh: 0") } { if {$oldcurhigh != $curhigh} { poststuff privmsg "15,1 Yayinimizi dinleyen kisi sayisi : [lindex $curhigh 1]" } if {$oldcurlist != $repl} { poststuff privmsg "7,1Suan yayinimizi dinleyen kisi sayisi 15,1 $repl " }} if {($tellsongs == 1) && ($oldsong != $cursong) && ($streamstatus == "isonline: 1") } { if {$songurl != ""} { set songurl " ($songurl)"} regsub -all "<" $cursong "<" cursong regsub -all ">" $cursong ">" cursong regsub -all "&" $cursong "+" cursong regsub -all """ $cursong "\"" cursong regsub -all "'" $cursong "'" cursong regsub -all "ÿ" $cursong "" cursong poststuff topic "2 Yayında Suan 4 <<<$stitle>>> 2 bulunmakta.Yayin turu: 4 $sgenre 2 Calan parca: >>>>> 4 [lrange $cursong 1 [llength $cursong]]$songurl 2 <<<< " poststuff privmsg "0,1 $stitle 0,5 Turkiye'nin en kaliteli online radyosu ve DJ'leri 0,7 Radyo mIRCASYa Resmi Sitesi: [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] " poststuff privmsg "- " poststuff privmsg "0,4 $stitle Suanda OnLine 0,2 Siradaki parca : ..:: Radyo mIRCASYa ..::.. [lrange $cursong 1 [llength $cursong]]$songurl 0,6 Suanda $repl Kisi Dinliyor (rekor: [lindex $curhigh 1]) " poststuff privmsg "0,4 ** 9,1 Radyomuzu Winamp'ten dinlemek icin tiklayin 0,4 >>> 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. privmsg "12Radyo ile ilgili sorulariniz, sorunlariniz icin #RadyoHelp kanalini kullanabilir, DJ'lerimizden yardim alabilirsiniz." } if {($tellbitrate == 1) && ($oldbitrate != $bitrate) && ($streamstatus == "isonline: 1") && ($oldbitrate != "bitrate: 0")} { poststuff privmsg "bitrate switched to [lindex $bitrate 1]kbps" }}} bind pub - !istek istek proc istek {n u h c a} { global gnick set gnick $n set kanal [lindex $a ] putserv "PRIVMSG #DJ 4İstek İsteyen 2$gnick4 İsteği:2 $kanal" putserv "PRIVMSG #radyo : 4Isteginiz DJ'lerimize iletilmistir 2$gnick 5( $kanal ) " } proc join_greet {nick uhost handle channel} { putserv "PRIVMSG $nick : 0,2Radyomuzu dinlemek için tiklayin 0,4 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. Radyo mIRCASYa.com'a hos geldiniz $nick! 9,1 Isteklerinizi Radyo kanalina 1,8 !istek <istediginiz sarki ve mesajiniz> 0,3 seklinde yazabilirsiniz. 0,5 Ornek: !istek İsmail Yk - TıkLa - Tum Love ailesine gelsin. " putserv "NOTICE $nick : 10Radyomuzu dinlemek icin tiklayin: 12 Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. join - * join_greet putlog "*** Radyo TCL Edit By Magic < Bu forumdaki linkleri ve resimleri görebilmek için en az 25 mesajınız olması gerekir. > Yuklendi." istediğiniz TCL Budur nomercy Botunun Radyo KanaLında ki bütün ÖzeLLiqLeleri Yapmaktadır. Kendim EditLeyip ekLentiler Yaptım |
Cevap: Radyo TCL! Eggdrop v1.6.17 (C) 1997 Robey Pointer (C) 2004 Eggheads [08:51] --- Loading eggdrop v1.6.17 (Tue Aug 28 2007) [08:51] Module loaded: dns [08:51] Module loaded: channels [08:51] Module loaded: server [08:51] Module loaded: ctcp [08:51] Module loaded: irc [08:51] Module loaded: notes (with lang support) [08:51] Module loaded: console (with lang support) [08:51] Module loaded: blowfish [08:51] Listening at telnet port 3233 (all). [08:51] Userinfo TCL v1.07 loaded (URL BF GF IRL EMAIL DOB PHONE ICQ). [08:51] use '.help userinfo' for commands. [08:51] *** Radyo TCL Edit By Magic <[Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...]> Yuklendi. STARTING BOT IN USERFILE CREATION MODE. Telnet to the bot and enter 'NEW' as your nickname. OR go to IRC and type: /msg RadyoBM hello This will make the bot recognize you as the master. [08:51] === RadyoBM: 1 channels, 0 users. Launched into the background (pid: 32687) Ama nerede ? Sunucuya gelmiyor terbiyesiz :) |
Cevap: Radyo TCL! Bi allahın Kuluda *.TCL Olarak Vermemi$ :( |
Cevap: Radyo TCL! conf daki ve tcl deki kanal isimlerini kontrol ed bence |
Cevap: Radyo TCL! Arkadaşlar ßana İSTEK.TCL LAzım :(:( |
Cevap: Radyo TCL! Alıntı:
ßknz; [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] |
Tüm Zamanlar GMT +3 Olarak Ayarlanmış. Şuanki Zaman: 12:33. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2025 IRCForumlari.Net Sparhawk