|
|
Joined: Jul 2006
Posts: 4,213
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,213 |
I'm not sure this a bug or a feature suggestion : When having a @window you can do something like : menu @win {
rclick { echo -a ok }
} And when you do a right click, you'll have the echo and not a menu. But you can have the right click menu too : menu @win {
rclick :
Ga : echo -a Ga
is : echo -a is
Ga : echo -a Ga
} What I would like to see is to can have both rclick action.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2004
Posts: 8,330
Hoopy frood
|
Hoopy frood
Joined: Oct 2004
Posts: 8,330 |
And how would that work? Your right click, get a menu and have text echoed at the same time? That seems a little strange to me.
Invision Support #Invision on irc.irchighway.net
|
|
|
|
Joined: Jul 2006
Posts: 4,213
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,213 |
I agree that it seems strange but it just would be nice. It can works like this : menu @win {
sclick { command }
mouse { command }
rclick { command }
menuhere { command }
menu1here { command }
} Or maybe separate : menu @win {
sclick { command }
rclick { command }
mouse { command }
rclick :
menuhere { command }
menu1here { command }
}
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Dec 2002
Posts: 2,962
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 2,962 |
This is already possible with a custom identifier: menu @win {
rclick :
$echostuff
Ga : echo -a Ga
is : echo -a is
Ga : echo -a Ga
}
alias echostuff echo -a im echoing stuff!
Spelling mistakes, grammatical errors, and stupid comments are intentional.
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
You can already do that...
alias dosomething { echo @test hi }
menu @test {
$dosomething
sclick { command }
mouse { command }
rclick { command }
menuhere { command }
menu1here { command }
}
Just gotta learn to massage the lovely language of mIRC and make it do what you want.sbm beat me to it.
Last edited by argv0; 06/11/07 03:29 PM.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Jul 2006
Posts: 4,213
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,213 |
nice  but have this in a better way that call a custom identifieur would be great.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
How is it "better"? It's exactly the same. The only difference is the syntax, and syntax doesn't make anything better-- syntax is just "colour" versus "color", and in the end it doesn't matter how you spell it.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
Joined: Jul 2006
Posts: 4,213
Hoopy frood
|
OP
Hoopy frood
Joined: Jul 2006
Posts: 4,213 |
I agree with what you said, the syntax isn't a matter for me.
In fact in what I said, I mean that if this was in the help file, it would not seems to me as a workaround.
#mircscripting @ irc.swiftirc.net == the best mIRC help channel
|
|
|
|
Joined: Oct 2003
Posts: 3,918
Hoopy frood
|
Hoopy frood
Joined: Oct 2003
Posts: 3,918 |
A lot of things should (and shouldn't) be in the help file, but that's a whole 'nother can of worms right there.
- argv[0] on EFnet #mIRC - "Life is a pointer to an integer without a cast"
|
|
|
|
|
|