IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası

IRCForumları - IRC ve mIRC Kullanıcılarının Buluşma Noktası (https://www.ircforumlari.net/)
-   mIRC Scripting Sorunları (https://www.ircforumlari.net/mirc-scripting-sorunlari/)
-   -   Start paneli (https://www.ircforumlari.net/mirc-scripting-sorunlari/14028-start-paneli.html)

Gül 15 Mart 2006 21:58

Start paneli
 
Scriptimde start paneli var yani script açınca server lar falan var seçip giriosun şimdi buna hani /server -m yapıyoruzya ikinci bi server olarak aç onu eklemek istiyorum nasıl yaparım?

PHP- Kodu:

on *:start: { ciprixac scriptreg ciprix ciprixac dll dll\imlec.dll SetMouseCursor Bin\sari.cur timertitle 0 1 //title
if (%başlangıç == $null) { 
set %başlangıç 1
}
else {
inc %başlangıç
}
}
alias ciprixac 
if 
$dialog(acilis) { 
dialog -x acilis 

dialog -mad acilis acilis
}
alias ciprix dialog -c acilis acilis }
dialog acilis {
title "Fıstık v1 Bağlantı Menüsü"
size --1 152 170
option dbu
text 
"Fıstık v1 Bağlantı Menüsü"145 6 150 7
box 
"Ara Sunucular"210 52 131 45
box 
"Ana Sunucular"610 21 132 29
button 
"server1"714 61 37 12
button 
"Server2"856 61 37 12
button 
"server 3"997 61 37 12
button 
"server4"1014 77 37 12
button 
"server5"1156 77 37 12
button 
"Server6"1297 77 37 12
edit 
"Nick"1374 101 55 10
text 
"Nickiniz:"149 102 25 8
text 
"Bağlanıcağınız Sunucu:"159 113 58 8
edit 
"Sunucu"1674 111 55 10
button 
"Sohbete Bağlan"1723 125 98 12
button 
"Yazdığım Sunucuya Bağlan"1838 138 68 12
edit 
""1919 154 109 10read
button server7
314 31 37 12
button server8
456 31 37 12
button 
"server9"597 31 37 12
}
on *:dialog:acilis:init:*:{ 
set %giris $dname 
did 
-a $dname 19 Scriptinizi Çalıştırma Sayınız: %başlangıç }
on 1:dialog:acilis:sclick:3:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:4:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:5:{ server irc.sunucu.uzantı  ciprix }
on 1:dialog:acilis:sclick:7:{ server irc.sunucu.uzantı  ciprix }
on 1:dialog:acilis:sclick:8:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:9:{ server irc.sunucu.uzantı  ciprix }
on 1:dialog:acilis:sclick:10:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:11:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:12:{ server irc.sunucu.uzantı ciprix }
on 1:dialog:acilis:sclick:18:{ server $did(16) | ciprix }
on 1:dialog:acilis:sclick:17:{ 
nick $did(13
ciprix
echo -%logo Bağlanmak istediğiniz sunucuyu yazınız ve enter tuşuna basınız
editbox /server irc.



el33t 15 Mart 2006 22:32

Eğer 1 veya daha fazla server penceresi açıksa server -m yapılır, 1 tane açıksa sadece server, işte kod:

server $iif($scon(0) >= 1,-m) irc.blabla.bla

Umarım işine yarar..

diEfoRyoU 15 Mart 2006 22:45

Kod:


on *:start: { ciprixac | scriptreg | ciprix | ciprixac | dll dll\imlec.dll SetMouseCursor Bin\sari.cur | timertitle 0 1 //title
if (%başlangıç == $null) {
set %başlangıç 1
}
else {
inc %başlangıç
}
}
alias ciprixac {
if $dialog(acilis) {
dialog -x acilis
}
dialog -mad acilis acilis
}
alias ciprix { dialog -c acilis acilis }
dialog acilis {
title "Fıstık v1 Bağlantı Menüsü"
size -1 -1 152 200
option dbu
text "Fıstık v1 Bağlantı Menüsü", 1, 45 6 150 7
box "Ara Sunucular", 2, 10 52 131 45
box "Ana Sunucular", 6, 10 21 132 29
button "server1", 7, 14 61 37 12
button "Server2", 8, 56 61 37 12
button "server 3", 9, 97 61 37 12
button "server4", 10, 14 77 37 12
button "server5", 11, 56 77 37 12
button "Server6", 12, 97 77 37 12
edit "Nick", 13, 74 101 55 10
text "Nickiniz:", 14, 9 102 25 8
text "Bağlanıcağınız Sunucu:", 15, 9 113 58 8
edit "Sunucu", 16, 74 111 55 10
button "Sohbete Bağlan", 17, 23 125 98 12
button "Yazdığım Sunucuya Bağlan", 18, 38 138 68 12
text "Serveri Farklı Pencerede Aç", 20, 10 165 68 12
edit "", 21, 45 172 65 10
button "Bağlan", 22, 45 185 68 12
edit "", 19, 19 154 109 10, read
button server7, 3, 14 31 37 12
button server8, 4, 56 31 37 12
button "server9", 5, 97 31 37 12
}
 
on *:dialog:acilis:init:*:{
set %giris $dname
did -a $dname 19 Scriptinizi Çalıştırma Sayınız: %başlangıç }
on 1:dialog:acilis:sclick:3:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:4:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:5:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:7:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:8:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:9:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:10:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:11:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:12:{ server irc.sunucu.uzantı | ciprix }
on 1:dialog:acilis:sclick:22:{ server -m $did(21) | ciprix }
on 1:dialog:acilis:sclick:18:{ server $did(16) | ciprix }
on 1:dialog:acilis:sclick:17:{
nick $did(13)
ciprix
echo -a %logo Bağlanmak istediğiniz sunucuyu yazınız ve enter tuşuna basınız.
editbox /server irc.
}

umarım istediğin gibi bişeydir

Gül 15 Mart 2006 23:13

dieforyou teşekkür ederim. ama o dialogu bende yaptımda istediğim şu zaten irc sunucusunu yazdığım bi alan var oraya yazdım dimi serverı yeni pencerede aç die bişey olcak onu işaretledikmi -m olayını gerçekleştircek anlatabildim umarım


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

Powered by vBulletin® Version 3.8.8 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO
Copyright ©2004 - 2024 IRCForumlari.Net