/mode $me +ix

Back to PHP-IRC Support

Page: 1  
From User Message Body
hellraizer
Post #869
Member
Date: 9:42 am, Oct 28 2008
Posts: 2


How do i get the bot to /mode $me +ix after it has auth to the server (irc.netgamers.org)


Cheers

Mad_Clog
Post #870
user avatar
Member
Date: 5:23 pm, Oct 28 2008
Posts: 176


- Check the raw reply number of the auth event (which indicated you're authenticated successfully)
- Add a trigger to that event number
- Set the modes using:
Code
$this->ircClass->sendRaw('MODE '.$this->ircClass->getNick().' +ix');


hellraizer
Post #871
Member
Date: 3:03 pm, Oct 29 2008
Posts: 2


Cheers that did the trick, thanks

   

Back to PHP-IRC Support