mIRC Home    About    Download    Register    News    Help

Print Thread
whats wrong with this #129385 05/09/05 10:22 PM
Joined: Jun 2004
Posts: 133
S
state Offline OP
Vogon poet
OP Offline
Vogon poet
S
Joined: Jun 2004
Posts: 133
on ^*:TEXT:?:*: {
if ($1 == opme) {
msg # Password Accepted
mode #fukliam +h $nick
}
}
its basic.

can any one also make this better? i.e address only.

Re: whats wrong with this #129386 05/09/05 10:57 PM
Joined: Apr 2003
Posts: 701
K
Kelder Offline
Hoopy frood
Offline
Hoopy frood
K
Joined: Apr 2003
Posts: 701
Type /auser -a fukliam_people nickname!ident@hostnameorip
for each nick you want the script to work for. Replace the nickname!ident@hostnameorip with something more appropriate ofcourse, probably using wildcards.
You could also use /guser -a fukliam_people nickname type
where nick is the nickname of someone who's onlien and type is one of the type numbers in /help $mask
Or you could just add appropriate entries in the Users tab of the script editor.
Code:
on fukliam_people:TEXT:opme:?:{
  msg $nick Password accepted
  mode #fukliam +h $nick
}


If you want everyone to have his own password, you can do it by adding the password after the /auser or /guser line above, or typing a space and then the password in the Users tab and the following script. It doesn't check if the nick is already mode +h, the test is probably something like /if ($nick ishop #fukliam) return, but I have no idea what +h means.
Code:
on fukliam_people:TEXT:opme &:?:{
  if ($ulist($fulladdress,fukliam_people,1).info === $$2) {
    msg $nick Password accepted
    mode #fukliam +h $nick
  }
}

Re: whats wrong with this #129387 06/09/05 05:31 AM
Joined: Aug 2005
Posts: 39
B
buster2007 Offline
Ameglian cow
Offline
Ameglian cow
B
Joined: Aug 2005
Posts: 39
it should be
on ^*:TEXT:*:?:
not
on ^*:TEXT:?:*:

that's the problem