mIRC Homepage
Posted By: state whats wrong with this - 05/09/05 10:22 PM
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.
Posted By: Kelder Re: whats wrong with this - 05/09/05 10:57 PM
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
  }
}
Posted By: buster2007 Re: whats wrong with this - 06/09/05 05:31 AM
it should be
on ^*:TEXT:*:?:
not
on ^*:TEXT:?:*:

that's the problem
© mIRC Discussion Forums