|
Joined: Feb 2005
Posts: 344
Fjord artisan
|
OP
Fjord artisan
Joined: Feb 2005
Posts: 344 |
Is there a way to send a msg to the channel your parting ? Just like on quiting irc. I had hoped this would do the trick. on !*^:part:#:{ /msg # bla bla bla }. ( $+ $1- ) haltdef But then again i'm new Hope someone can help me....
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
The ! in your code means when it's not you that's parting. So.
On me:*:Part:#: {
msg $chan blah blah
}
|
|
|
|
Joined: Nov 2004
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Nov 2004
Posts: 332 |
but would the msg out run the part? attempted to msg the channel but got the cannot send to channel message.
Last edited by ricky_knuckles; 02/03/05 08:47 PM.
The Kodokan will move you, one way or another.
|
|
|
|
Joined: Feb 2004
Posts: 2,019
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 2,019 |
That won't work, the me is not a user level, but an event prefix.
What andy posted is fine.
Greets
Gone.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Do you mean would it still send? The message still sends. [20:41] * Test has joined #teens [20:41] <Test> blah blah blah [20:41] * Test has left #teens
|
|
|
|
Joined: Nov 2004
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Nov 2004
Posts: 332 |
not for me it tries to send once im gone so the end result is cannot send to channel
The Kodokan will move you, one way or another.
|
|
|
|
Joined: Feb 2004
Posts: 2,019
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 2,019 |
Try this:
on me:^*:part:#: msg # message
Gone.
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
I get: #djfhsd No such nick/channel but the message still shows up in the channel before I part. Edit: Fiber, that's what I tried. Edit 2: alias part {
if ($left($2,1) == $(#,)) || ($chan) { msg $v1 <message> }
!part $1-
}
Last edited by tidy_trax; 02/03/05 08:50 PM.
New username: hixxy
|
|
|
|
Joined: Nov 2004
Posts: 332
Fjord artisan
|
Fjord artisan
Joined: Nov 2004
Posts: 332 |
The Kodokan will move you, one way or another.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Hmm, odd. Dieter how goes it for you?
|
|
|
|
Joined: Feb 2004
Posts: 2,019
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 2,019 |
I know why it's not working.
I always tested with just closing the channel window with the mouse, and then the debug looks like this:
<- :notreg-x!~weee@kotnet-149.kulnet.kuleuven.be PART #cellka -> slimey.uk.eu.dal.net PRIVMSG #cellka :this is a test -> slimey.uk.eu.dal.net PART #cellka <- :notreg-x!~weee@kotnet-149.kulnet.kuleuven.be PART #cellka
Which works fine.
However, if you issue a /part, you get this:
-> slimey.uk.eu.dal.net PART #cellka <- :notreg-x!~weee@kotnet-149.kulnet.kuleuven.be PART #cellka -> slimey.uk.eu.dal.net PRIVMSG #cellka :this is a test <- :slimey.uk.eu.dal.net 404 notreg-x #cellka :Cannot send to channel
The fix is to use something along the lines what tidy pasted for manual /part
Greets
Gone.
|
|
|
|
Joined: Jan 2005
Posts: 75
Babel fish
|
Babel fish
Joined: Jan 2005
Posts: 75 |
why don't you just do /part # arse i thought that using that command sends it to the server, using mIRC's inbuilt event won't send anything to the server so you wouldn't be able to send a message.
|
|
|
|
Joined: Feb 2004
Posts: 2,019
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 2,019 |
Eh, the script isn't for me hehe, personally I never use the /part command, I either quit mIRC entirely or right click the channel button and click "Close".
Greets
Gone.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
I just press shift and click the window from the switchbar.
|
|
|
|
Joined: Feb 2004
Posts: 2,019
Hoopy frood
|
Hoopy frood
Joined: Feb 2004
Posts: 2,019 |
Hehe, I know that trick a long time, but I'm too lazy to move my left hand to the shift
Gone.
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Too lazy to move your left hand to the shift lol, now I've heard it all. The left shift don't work so I use my left hand for the right shift and right hand for the mouse lol..
|
|
|
|
|