Skip to content
General IRCX

Isowner

A TG007 community discussion started by _Mhz_.

Closed discussion 24 posts
Page 1 of 2
Closed
Topic #9795 · 24 published posts · 6,728 views

How can I make isowner work. Is there some special code or some mIRC options to set. Right now I use #channel instead of %#channel on a IRCx server. ON *:rawmode:*: work.

Any idea welcome

 

I am using GuarDDog5 as a learning tool.

Edited Mar 6, 2008 3:14 PM by _Mhz_

Is owner has to be used in an if event. Example

on *:TEXT:*:#:{ 
if ($nick isowner $chan) { 
msg # HELLO OWNER $nick $+ !
}
else halt
}

By the way, the way TGK did Guarddog would probably make it a hard learning tool. He coded it 'his' way which could make it difficult for you to pick up on.

Yeah I was using it inside an if. For some strange reason when a i try to put my script Owner, the room mode change to +q.

+q is a user mode, not a channel mode which signifies owner. +o is host and +v is voice. What's the code you have?

/f10 /sockwrite -n mirc. $+ $cid

:Mega!333133343332324533323331333732453331333233343245333133313331@clubechat.net.b

ot MODE $active +q Mega

 

I use this to make my tests.

Edited Mar 6, 2008 7:34 PM by _Mhz_

May I just say ... WTF?!

yeah ditto ..

 

Can you explain what you would like to accomplish please?

 

 

:lolwave:

 

Well host work (+o) but owner dont (+q). The room mode add a +q. If I send (-q) mode return to original.

Personnaly I was thinking of my mirc. $+ $cid socket initialisation. One line I suspect is

 

sockwrite -tn mirc. $+ $cid :clubechat.ath.cx 004 $me clubechat.ath.cx 3.083.4 cdefgil,mrsSuwx

 

This line dont seem to have any effect. Anyway As I said I am learning. Thanks for your Reply. I appreciate.

 

edit: Travis as I said trying to put my script Owner host work. (The quote is on one line)

Edited Mar 6, 2008 8:37 PM by _Mhz_

Ok well looking at your sockwrite the issue could be you are trying to return the information like you receive it. From my experience it doesn;t work this way.

 

This is how you want to send commands on a sockwrite.

 

sockwrite -n <sockname> <command> <command parameters>

 

 

 

f10 sockwrite -n $+(mirc.,$cid) mode $active +q Mega

 

 

So what Im saying here is that when you receive data on a sockread it will give you the user data as $1. (:Mega!333133343332324533323331333732453331333233343245333133313331@clubechat.net.b

ot)

But when you SEND the command in sockwrite you do not send this info. You send the command and whatever information the server needs to process the command.

 

Also, I used $+( ) instead of $+ because mIRC processes it faster.

 

Hope this helps! :)

I tryed your code Travis and I had the same end result. Thanks for your time.

Are you sure that's the right socket name then?

I tryed your code Travis and I had the same end result. Thanks for your time.

 

 

What was the result? Also, I woulnd't bother using sockwrite for this, but if the socket is named correctly, and $active is a channel Mega is on it would work.

 

Try: /mode $active +q Mega

 

 

Also, did you put my code in the alias section? If not you would need to make it:

 

 

alias f10 sockwrite -n $+(mirc.,$cid) mode $active +q Mega

What was the result?

With my code I have in my script: Mega has made Mega an Owner. Room mode change to +q and my Nicklist show no change.

With your code I have in my script: BCSCHATNTx has made Mega an Owner, Room mode change to +q and my Nicklist show no change.

 

Try: /mode $active +q Mega

That code do nothing

 

 

alias f10 sockwrite -n $+(mirc.,$cid) mode $active +q Mega

Yeah I am in the Alias section

 

Its stange that +o work and +q work halfway.

Edited Mar 8, 2008 3:16 PM by _Mhz_
Are you sure that's the right socket name then?

Yeah since +o work the problem must be elsewhere.

Are you messing about with a custom nicklist? Also, are you on an IRCx or IRCd channel?

From my limited experience it sounds as if your server architecture is messed up.

 

As X pointed out, making someone an owner or host is changing their USER MODE. Room modes would be +m, +i, +t, etc.

 

Are you trying to give yourself gold?

 

With my code I have in my script: Mega has made Mega an Owner. Room mode change to +q and my Nicklist show no change.

 

I've always had to enter a password in.

 

But yeah, if you are on a small network, maybe a new network and you change a user mode but it doesn't reflect in the nicklist ....

 

1st I would do a names query and if you still didnt see a change, that's an error on the server side.

sounds like a connection issue to me..

Are you messing about with a custom nicklist? Also, are you on an IRCx or IRCd channel?

Its an IRCx channel and yeah I have custom Nicklist but I have the same result if I turn it off

Are you trying to give yourself gold?

I can give me Gold with Gold pass with the same result.

 

1st I would do a names query

I dont follow you, how do you do that?

sounds like a connection issue to me..

Yeah but what can messup user mode and room mode like that. (my connection was working on Buzzen) Only change are in the Auth.