mIRC Home    About    Download    Register    News    Help

Print Thread
problem with isowner and userlist #153395 15/07/06 08:41 PM
Joined: Jul 2006
Posts: 53
O
oblivious Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
here is the code:

on owner:JOIN:#: {
if ($me isowner $chan) {
mode $chan +q $nick
notice $nick owner list(+q)
}
}

here is the entry in my userlist :

owner:socketbot!*.@4FD366FB.6DB0E312.D5E85A3.IP

any ideas why this won't work?

Re: problem with isowner and userlist #153396 15/07/06 09:58 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
Are you sure the isowner comparison is valid on your network? From the revised mIRC help, by Teazle,
Quote:
isowner nickname v1 is an owner of channel v2 ( only for networks that supports those usermodes )

Re: problem with isowner and userlist #153397 15/07/06 10:18 PM
Joined: Jul 2006
Posts: 53
O
oblivious Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
It should be, I am on Unreal3.2.4 and it also says the server supports the following prefixes; PREFIX=(qaohv)~&@%+.

I am already +q in the channel(prefix = ~) and when someone on my auto q list joins the channel it does not +q them.

I am lost, no idea why this list doesn't work.

---------

After doing a lengthy search I have found out that its possible the isowner parameter will only work on ircx servers that support '.' as q. Can anyone confirm this, I dont understand why this would happen.

Last edited by oblivious; 15/07/06 11:02 PM.
Re: problem with isowner and userlist #153398 15/07/06 11:21 PM
Joined: Jul 2006
Posts: 242
H
HaleyJ Offline
Fjord artisan
Offline
Fjord artisan
H
Joined: Jul 2006
Posts: 242
On owner:join:#: {
if ($nick == $me) {
mode $chan +q $nick
}
}

That would work but wont check if you are owner, Mybe instead of the ambigious chan, use this.

On owner:join:#mychannel: {
if ($nick == $me) {
mode $chan +q $nick
}
}

put your channel there

or identify to chanserv before joining and it will auto +q you, use a script to do it for you automatic. Here is a sample.

ON *:CONNECT: {


if ($network == whatevernetwork) {
ns identify %pass
cs identify %chanpass
join #mychannel
}
}

type //echo -a $network
in mIRC to get your network name.

If you using chanserv it should auto +q you as soon as you enter. If not use the above code and specify your channel.

and if you have a list who you want +q then use user levels

so....

on @owner:join:#mychannel: / mode $chan +q $nick
and add those you want to give that status to to your user levels. <_<

Last edited by HaleyJ; 15/07/06 11:44 PM.

Newbie
Re: problem with isowner and userlist #153399 15/07/06 11:28 PM
Joined: Aug 2004
Posts: 7,252
R
RusselB Offline
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
To my understanding, and I'll try to verify this, the Unreal IRCd only allows one person to be marked +q at a time. Only the first person to join the channel and has +q (ie: owner) authorization will be moded with +q.

Re: problem with isowner and userlist #153400 16/07/06 12:01 AM
Joined: Jul 2006
Posts: 53
O
oblivious Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Jul 2006
Posts: 53
Strange stuff. I am in a channel with 2 users that are +q(~). I am the channel owner under chanserv but the other user is not.


If I am right, isowner was added to mirc to only work with the IRCX protocol. It's strange that they would add something for a protocol that is so rarely used anymore. Is it safe to assume something will be added for unreal ircd in the next release of mirc? I'd like to see this feature added.

Last edited by oblivious; 16/07/06 12:04 AM.
Re: problem with isowner and userlist #153401 16/07/06 03:35 AM
Joined: Oct 2005
Posts: 1,741
G
genius_at_work Offline
Hoopy frood
Offline
Hoopy frood
G
Joined: Oct 2005
Posts: 1,741
The isowner operator is likely linked to the onOWNER event, which gives UnrealIRCd as an example of IRCds that support +q mode.

Try testing it maybe.
Code:
on owner:JOIN:#:{
  echo -a $me $iif($me isowner #channel,is,is not) an owner
  echo -a $nick is on the owner list
}

on *:JOIN:#:{
  echo -a $nick is not on the owner list
}

(untested)

-genius_at_work

Re: problem with isowner and userlist #153402 16/07/06 12:47 PM
Joined: Apr 2004
Posts: 759
M
Mpdreamz Offline
Hoopy frood
Offline
Hoopy frood
M
Joined: Apr 2004
Posts: 759
The owner events are only for IRCX server (MSN) and not for UnrealIRCd.
versions.txt says: "2.Improved support for IRCX servers:"
when mentioning support for ownership
The owner events only work for ircd's that use a dot to indicate ownership. Even $nick().pnick makes no mention of the "new" UnrealIRCd's usermodes ~ and &. (though they are displayed nonetheless).

Also i dont think there is such a thing as a "on owner:EVENT". There is a on *:OWNER: though. unless it's a named userlevel :tongue:

Last edited by Mpdreamz; 16/07/06 12:52 PM.

$maybe
Re: problem with isowner and userlist #153403 16/07/06 01:16 PM
Joined: Feb 2006
Posts: 164
V
vexed Offline
Vogon poet
Offline
Vogon poet
V
Joined: Feb 2006
Posts: 164
Code:
 on +1000:join:#:{
    mode # + $+ $iif($pre($me) = . || $pre($me) = .,q,o) $nick
}
alias pre { .return $iif($1 !isreg #,$left($nick(#,$1).pnick,1)) } 


I used to use that when i was on IRCDs