mIRC Rastgele Quit mesajı

m_quit.c dosyası içerisinde

if (!IsServer(cptr) && IsPerson(sptr))
{
#ifdef STRIPBADWORDS

int blocked = 0;
#endif
int n;
char *s = comment;
Hook *tmphook;

satırının altına

char *cmesajlistesi[]= {
\”Çıkış Mesajı 1\”,
\”Çıkış Mesajı 2\”,
\”Çıkış Mesajı 3\”,
\”Çıkış Mesajı 4\”,
\”Çıkış Mesajı 5\”,
};

int k;
k = rand()%(sizeof(cmesajlistesi)/sizeof(*cmesajlistesi));
return exit_client(cptr, sptr, sptr, cmesajlistesi[k]);

şeklinde ekleyip make ve rehash çekmeniz yeterli olacaktır.Her kullanıcı çıkışda base edilen çıkış mesajını random belirleyip çıkacaktır.
-Alıntıdır-


This entry was posted on Cuma, Şubat 5th, 2010 at 00:02 and is filed under IRC Dökümanları. You can subscribe via RSS 2.0 feed to this post's comments. You can comment below, or link to this permanent URL from your own site. Your comments will appear immediately, but I reserve the right to delete innapropriate comments.

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.