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/)
-   -   on ^*:quit:#sohbet: (https://www.ircforumlari.net/mirc-scripting-sorunlari/37069-quit-sohbet.html)

d0gma 30 Ağustos 2007 13:03

on ^*:quit:#sohbet:
 
on ^*:quit:#sohbet: {
if ($nick == ZYX) {
.mode #sohbet +q $me
}
}

biri çiktiginda

#SOHBET: Unknown command
#SOHBET: Unknown command
#SOHBET: Unknown command

hata nerde ki

Techno 30 Ağustos 2007 13:31

Cevap: on ^*:quit:#sohbet:
 
on ^*:quit:#sohbet: {
if ($nick == ZYX) {
/cs identify #sohbet şifre | /identify nickşifren
}
}

detay 30 Ağustos 2007 13:51

Cevap: on ^*:quit:#sohbet:
 
quit eventinde kanal kullanilmaz
on seviye:quit:komutlar
seklinde oldugu icin event kanalı komut olarak algiliyor.
Kod:

on *:quit: {
  ;tum ortak kanallarimizin sayisini variable'a atiyoruz
  var %c = $comchan($nick,0)
  ;tek tek bakiyoruz ortak kanallara while ile..
  while %c {
    ;eger %c. ortak kanal sohbetse +q islemi gerceklessin..
    if $comchan($nick,%c) == #sohbet { mode $v2 +q $me }
    dec %c
  }
}



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

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