mIRC Home    About    Download    Register    News    Help

Print Thread
authorisation #125540 19/07/05 10:32 AM
Joined: Jul 2005
Posts: 2
F
fobz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Jul 2005
Posts: 2
Hey, i have created a script for specific opers on my server. The only problem is my script is not recognising me on the remote script. On oper my vhost auto sets to @netadmin.pcpsolutions.info and the script thats ment to recongise me and do what i tell it to do is:

Code:
 
on *:text:.deowner*:#:{
  if ($address($nick,2) == *@netadmin.pcpsolutions.info) {
    if ($2 ison $chan) {
      mode $chan -q $2
      msg $chan 7 $+ $nick 10removed the channel owner status from7 $2 $+ 10.
    }
    else {
      msg $chan 10Sorry7 $nick $+ 10, but7 $nick 10wasn't found in7 $chan $+ 10.
    }
  }
  else {
    msg $chan 10Sorry7 $nick $+ 10, but you are not authorized to use this command.
  }
}
  

and a whois info on me is:

Rich is pcp@netadmin.pcpsolutions.info * rich
Rich is using modes +iowghraAsxNWt +kcfvGqso
Rich is connecting from *@192.168.*.*** 192.168.*.***
Rich is a registered nick
Rich on +#opers +#lounge +#tewt
Rich using irc.pcpsolutions.info PCP Solutions IRC Server
Rich is a Network Administrator
Rich is available for help.
Rich has been idle 33mins 47secs, signed on Mon Jul 18 00:32:55
Rich End of /WHOIS list.

i am sitll not able to get it working, please could someone assist me

thnx Richard

Re: authorisation #125541 19/07/05 01:11 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
if ($address($nick,2) == *!*@netadmin.pcpsolutions.info)

You did not provide a complete $address to match.


Invision Support
#Invision on irc.irchighway.net
Re: authorisation #125542 19/07/05 02:08 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Also please note that this should've been in the Scripts & Popups section.

Re: authorisation #125543 20/07/05 08:33 AM
Joined: Jul 2005
Posts: 2
F
fobz Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
F
Joined: Jul 2005
Posts: 2
Thanks guys, your help is appreciated.