#1

how i can send message just to IRC Administrators :/ ??
Reply
#2

I think you can send a notice to your channel where you prepend the channel name with the desired minimum rank, so for example: @#channel.

Also please choose a proper title next time instead of this clickbait.
Reply
#3

Quote:
Originally Posted by Vince
Посмотреть сообщение
I think you can send a notice to your channel where you prepend the channel name with the desired minimum rank, so for example: @#channel.

Also please choose a proper title next time instead of this clickbait.
Thanks You !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

I was searching for this function 1 year ago !

THANKS
Reply
#4

I got this thing in my script, to send messages to irc admins, ofc replace things you need to:

PHP код:
IRC_SendMessageToAdmins(level,const string[])
{
    new 
levelbeen[5];
     new 
levelstring[80];
    if (
level || level 5printf("*** IRC_SendMessageToAdmins: Invalid level. level: %d Message: %s"levelstring);
      switch(
level)
    {
         case 
1:{levelbeen="+";}
         case 
2:{levelbeen="%";}
         case 
3:{levelbeen="@";}
         case 
4:{levelbeen="&";}
         case 
5:{levelbeen="~";}
    }
    
format(levelstring,sizeof(levelstring),"%s"IRC_ECHO"",levelbeen);
    
IRC_GroupSay(ircgroup,levelstring,string);
    
format(levelstring,sizeof(levelstring),"%s"IRC_CREW"",levelbeen);
    
IRC_GroupSay(ircgroup,levelstring,string);
    return 
1;

Usage example:
PHP код:
IRC_SendMessageToAdmins(5"I've sent a message to irc owners"); 
Reply
#5

Quote:
Originally Posted by iLearner
Посмотреть сообщение
I got this thing in my script, to send messages to irc admins, ofc replace things you need to:

PHP код:
IRC_SendMessageToAdmins(level,const string[])
{
    new 
levelbeen[5];
     new 
levelstring[80];
    if (
level || level 5printf("*** IRC_SendMessageToAdmins: Invalid level. level: %d Message: %s"levelstring);
      switch(
level)
    {
         case 
1:{levelbeen="+";}
         case 
2:{levelbeen="%";}
         case 
3:{levelbeen="@";}
         case 
4:{levelbeen="&";}
         case 
5:{levelbeen="~";}
    }
    
format(levelstring,sizeof(levelstring),"%s"IRC_ECHO"",levelbeen);
    
IRC_GroupSay(ircgroup,levelstring,string);
    
format(levelstring,sizeof(levelstring),"%s"IRC_CREW"",levelbeen);
    
IRC_GroupSay(ircgroup,levelstring,string);
    return 
1;

Usage example:
PHP код:
IRC_SendMessageToAdmins(5"I've sent a message to irc owners"); 
Thanks this better than IRC_Say
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)