mIRC Home    About    Download    Register    News    Help

Print Thread
What is wrong with this? #103584 22/11/04 09:05 PM
Joined: Sep 2004
Posts: 17
_
_Patrik_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Sep 2004
Posts: 17
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..


*!*@help.me.if.you.can
I refine it but it still doesnt work #103585 22/11/04 09:13 PM
Joined: Sep 2004
Posts: 17
_
_Patrik_ Offline OP
Pikka bird
OP Offline
Pikka bird
_
Joined: Sep 2004
Posts: 17
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.


*!*@help.me.if.you.can
Re: I refine it but it still doesnt work #103586 22/11/04 10:16 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline
Vogon poet
Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
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 $+ !
}
}

Last edited by Wragg; 22/11/04 10:18 PM.