_Mhz_ Posted March 6, 2008 Report Share Posted March 6, 2008 (edited) 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 March 6, 2008 by _Mhz_ Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted March 6, 2008 Report Share Posted March 6, 2008 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. Link to comment Share on other sites More sharing options...
_Mhz_ Posted March 6, 2008 Author Report Share Posted March 6, 2008 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. Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted March 6, 2008 Report Share Posted March 6, 2008 +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? Link to comment Share on other sites More sharing options...
_Mhz_ Posted March 6, 2008 Author Report Share Posted March 6, 2008 (edited) /f10 /sockwrite -n mirc. $+ $cid :Mega!333133343332324533323331333732453331333233343245333133313331@clubechat.net.b ot MODE $active +q Mega I use this to make my tests. Edited March 6, 2008 by _Mhz_ Link to comment Share on other sites More sharing options...
Guest X-Fusion Posted March 6, 2008 Report Share Posted March 6, 2008 May I just say ... WTF?! Link to comment Share on other sites More sharing options...
Guest Travis Posted March 6, 2008 Report Share Posted March 6, 2008 yeah ditto .. Can you explain what you would like to accomplish please? Link to comment Share on other sites More sharing options...
_Mhz_ Posted March 6, 2008 Author Report Share Posted March 6, 2008 (edited) 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 March 6, 2008 by _Mhz_ Link to comment Share on other sites More sharing options...
Guest Travis Posted March 7, 2008 Report Share Posted March 7, 2008 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! Link to comment Share on other sites More sharing options...
_Mhz_ Posted March 7, 2008 Author Report Share Posted March 7, 2008 I tryed your code Travis and I had the same end result. Thanks for your time. Link to comment Share on other sites More sharing options...
Recommended Posts