mIRC Homepage
Posted By: _Patrik_ What is wrong with this? - 22/11/04 09:05 PM
on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat))
{
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat))
{
mode #techchat -R
msg #techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}

Please can anyone recode it so it will work correctly..
Posted By: _Patrik_ I refine it but it still doesnt work - 22/11/04 09:13 PM
on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat))
{
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat))
{
mode #techchat -R
msg #Techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}

I have now refine the script but it still doesnt work??
What I want the script to do is: If any channel operator set/remove the +R key in my channel then a channel message should appear. Please help me out plz.
Posted By: Wragg Re: I refine it but it still doesnt work - 22/11/04 10:16 PM
you are missing at the end } symbol(s)

on @*:NOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #Techchat)) {
mode #Techchat +R
msg #Techchat Techchat´s Register only key (+R) has been set by $nick $+ !
}
}

on *:UNOTIFY: {
if (($network == Technet) && ($nick == ChanServ) && ($me ison #techchat)) {
mode #techchat -R
msg #Techchat Techchat´s Register only key (+R) has been removed by $nick $+ !
}
}
© mIRC Discussion Forums