mIRC Home    About    Download    Register    News    Help

Print Thread
#100294 11/10/04 07:20 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
1. when used /mode #somechannel +b
there is no raw event that returns #channelname
so is it possible to make something like when i type /mode #channel +b that %variable takes the name of channel i typed ?

2. is there a way that in @debug window thru script to inplemt right click menus like in custom @windows ?

#100295 11/10/04 07:29 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Mode changes aren't server messages (raws), but is a remote event. Therefore, you can use:
Code:
On *:BAN:#: {
If ($Nick == $Me) { echo -a $Chan }
}

This is just an example, but you get the idea. $Nick = person who set the ban. $Chan = The channel the ban happened in.

If you really wanted to do it the /mode way, you could use:
Code:
alias mode {
If ($1) && (+b == $2) { set %Variable $1 }
mode $1-
}

To refer to the debug question, I've never dealt with them, so I can't help. Sorry.


- Relinsquish
#100296 11/10/04 07:33 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
you misunderstood, i didnt ment /mode #channel +b user
i ment only /mode #channel +b when you get for other channels that you are not in a ban list
but i dont want it to has influence on normal command like you made alias for MODE

Last edited by Wragg; 11/10/04 07:35 PM.
#100297 11/10/04 07:34 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
Yeah. I edited my post, look at it again. But I'm not getting what you're saying completely.


- Relinsquish
#100298 11/10/04 07:36 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
me too :P

#100299 11/10/04 07:38 PM
Joined: Mar 2004
Posts: 175
Vogon poet
Offline
Vogon poet
Joined: Mar 2004
Posts: 175
It won't affect the normal mIRC /mode command, it'll just add one extra feature to it by setting the %Variable for the channel when +b. Nothing else.


- Relinsquish
#100300 11/10/04 07:44 PM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
thank you very much smile


...still question for @Debug stays

Last edited by Wragg; 11/10/04 07:45 PM.
#100301 12/10/04 02:29 AM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
nvm i made that too

#100302 13/10/04 03:37 AM
Joined: Sep 2004
Posts: 129
W
Wragg Offline OP
Vogon poet
OP Offline
Vogon poet
W
Joined: Sep 2004
Posts: 129
This code does some nasty things..

when done /mode #channel Wragg +w

i get this

[05:32] modes by Wragg: +w!*@*
[05:32] modes by Wragg: +r


Wragg #271297 08/02/23 11:02 AM
Joined: Jun 2022
Posts: 8
C
Nutrimatic drinks dispenser
Offline
Nutrimatic drinks dispenser
C
Joined: Jun 2022
Posts: 8
Hi, you can also try to make it in this way!

Code
on *:start: { server irc.yournetwork.tld port } { debug -pt @Debug }


Link Copied to Clipboard