![]() |
|
|
|
#1 |
|
タネル
![]()
Üyelik tarihi: 23 Ocak 2003
Bulunduğu yer: istanbul Mesajlar: 540 WEB Sitesi: * IRC Sunucusu: * İlgi Alanı: Unreal Alınan Beğeni: 361 |
• Klasör: Unreal3.2*/scr/modules/
• Dosya: <m_join.c> BULUN: Kod:
if (chptr->topic)
{
sendto_one(sptr, rpl_str(RPL_TOPIC),
me.name, sptr->name, chptr->chname, chptr->topic);
sendto_one(sptr,
rpl_str(RPL_TOPICWHOTIME), me.name,
sptr->name, chptr->chname, chptr->topic_nick,
chptr->topic_time);
}
Kod:
if (chptr->topic)
{
char xtopic[500];
char xtopic1[305];
char harf[3];
char harf1[2] = " ";
sprintf(xtopic1, "%s", chptr->topic);
if (strstr(xtopic1, "$")) {
int i, x;
x=strlen(chptr->topic);
i=0;
for (i=0; i<x;i++) {
if (i==0)
strcpy( xtopic, harf1 );
if (xtopic1[i] == (char)36) {
strcat( xtopic, sptr->name );
} else {
sprintf(harf, "%c", xtopic1[i]);
strcat( xtopic, harf );
}
}
sendto_one(sptr, rpl_str(RPL_TOPIC),
me.name, sptr->name, chptr->chname, xtopic);
}
else {
sendto_one(sptr, rpl_str(RPL_TOPIC),
me.name, sptr->name, chptr->chname, chptr->topic);
}
sendto_one(sptr,
rpl_str(RPL_TOPICWHOTIME), me.name,
sptr->name, chptr->chname, chptr->topic_nick,
chptr->topic_time);
}
Kod yazarı: ysfm İyi forumlar.. ^^ ![]() |
|
|
Alıntı
|
|
|
#2 |
|
ImpossibLe is nothing
![]() ![]()
Üyelik tarihi: 24 Ocak 2015
Bulunduğu yer: 08,5 Mesajlar: 84 WEB Sitesi: www.Soylenti.Net IRC Sunucusu: IRC.Soylenti.Net İlgi Alanı: Unreal Alınan Beğeni: 71 |
UnrealIRCd-4 versiyonunda test edilmiştir. Şuanlık bug yoktur. =)
![]() Hey baby ! Don't touch me ... [Üye Olmadan Linkleri Göremezsiniz. Üye Olmak için TIKLAYIN...] |
|
|
Alıntı
|
| Etiketler |
| değişkeni, ekleme, rumuz, topicde, topice |
| Konuyu Toplam 1 Üye okuyor. (0 Kayıtlı üye ve 1 Misafir) | |
| Seçenekler | |
| Stil | |
|
|
Benzer Konular
|
||||
| Konu | Konuyu Başlatan | Forum | Cevaplar | Son Mesaj |
| (Topic, nick, host, identd gibi ifadelerin.)karakter limitini yükseltme. | Entrance | Unreal - Parça Kodlar | 0 | 13 Temmuz 2016 16:51 |
| Tek komutla tüm kanallara topic atma. | Entrance | Unreal - Hazır Kodlar | 0 | 11 Ekim 2015 12:09 |
| Topic Yazım Tarihi. | Code | IRCServices Hazır Kodlar | 0 | 23 Eylül 2015 16:38 |
| Botunuz Topic Atsın ''!Topic Mesaj'' | No_FeaR | TCL Scriptler | 0 | 22 Mart 2015 14:33 |
| /nerden rumuz | Toprak | mIRC Parça Kodlar | 0 | 27 Ocak 2015 22:41 |