mIRC Home    About    Download    Register    News    Help

Print Thread
#206988 30/11/08 06:40 PM
Joined: Nov 2008
Posts: 2
G
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Nov 2008
Posts: 2
Hello everybody, I am looking for a good favorites manager. I do not like the default one, it doesn't give new server window option and I always have problems connecting to network. Anybody know of a good script?

Second question if none are available, I have an idea to script my own one, however, I am not sure how to do it. The idea is:

#channel - [connect to server] [join channel] [connect and join]

I would put his in a window and click on one of them to connect or join the channel if I am already in the server. The problem is I do not know how to make it so I can click on them so it launches the command (like a hyperlink instead it would join the channel).

Could somebody help out?

Joined: Aug 2004
Posts: 7,252
R
Hoopy frood
Offline
Hoopy frood
R
Joined: Aug 2004
Posts: 7,252
I'm not aware of any Favorites managing scripts, but as you are willing to do your own, I would recommend using a dialog for this.

See /help Dialogs

Joined: Jan 2007
Posts: 1,156
D
Hoopy frood
Offline
Hoopy frood
D
Joined: Jan 2007
Posts: 1,156
#1 I usually make my own favorites list but I'm sure there are identifier's to get the channel names from your mIRC favorites list.


#2
I would make an alias and do these things.

alias knekt {
;$1 = server, $2 = channel

  • Check for connection to $1 (server).


    • if connection exists, /scon or /scid to connection, join $2
    • else { server -m $1 -jn $2 } (connect to server & join $2)
}

You need to read about /scid $scid, /scon $scon & /server.

Then you would just call the knekt alias in your popup.

menu menubar,status {
Knekt:knekt $?="Enter Server Address" $?="Enter Channel Name"
}

That's the basics. If you need to authorize you will need to wait for the auth request from the server then reply with the proper information.


Joined: Nov 2008
Posts: 2
G
Bowl of petunias
OP Offline
Bowl of petunias
G
Joined: Nov 2008
Posts: 2
thanks. i will see what I can come up with.


Link Copied to Clipboard