mIRC Home    About    Download    Register    News    Help

Print Thread
#213341 25/06/09 11:35 AM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Hello,

I have 4 tabs on my dialog and i want to open the 3rd tab from my dialog using a command, how can i do this ??

westor #213345 25/06/09 12:11 PM
Joined: Nov 2006
Posts: 1,552
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,552
/did -f <dialogname> <id of the tab>

Horstl #213352 25/06/09 02:40 PM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Yes, but the /did -f is when the DIALOG is open . i want it to open the dialog into the 3rd tab. do you know how?

Last edited by westor; 25/06/09 02:40 PM.
westor #213354 25/06/09 02:42 PM
Joined: Jul 2006
Posts: 4,035
W
Hoopy frood
Offline
Hoopy frood
W
Joined: Jul 2006
Posts: 4,035
Why don't use the did -f in the on init event ?
Code:
on *:dialog:name:init:*:did -f name id

Last edited by Wims; 25/06/09 02:43 PM.

#mircscripting @ irc.swiftirc.net == the best mIRC help channel
Wims #213356 25/06/09 02:49 PM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
I think this option but i want to do something else, for that is the way that i want an other way to do this!

westor #213358 25/06/09 02:58 PM
5
5618
5618
5
Quote:
i want it to open the dialog into the 3rd tab

This is exactly what Wims' code does. It focuses the dialog on the 3rd tab when it is initiated/started.
You last post makes little sense.

#213363 25/06/09 03:13 PM
Joined: Dec 2008
Posts: 1,483
westor Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Dec 2008
Posts: 1,483
Yes, and what i must to do if i have a menu in status and when i click in the menu it will open's the dialog into the 3rd id?

i know the INIT dialog option but i have more that 3 tabs into my dialog and i want it for e.g: /dialog -m my_dialog my_tab - this will open the dialog into the currently tab that i want.

I know that i can do the /dialog -m my_dialog my_dialog | did -f my_dialog my_tab , but i search an easiest way to do this if exists!

westor #213371 25/06/09 04:38 PM
Joined: Oct 2003
Posts: 3,641
A
Hoopy frood
Offline
Hoopy frood
A
Joined: Oct 2003
Posts: 3,641
You just answered your own question

on *:dialog:name:init:*:did -f name id

is the easiest way.

Stop arguing with the responses.


Link Copied to Clipboard