mIRC Home    About    Download    Register    News    Help

Print Thread
#63516 10/12/03 12:39 AM
Joined: Oct 2003
Posts: 7
A
Albano Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Oct 2003
Posts: 7
Hi
I need a simple code for show on status echo -s last server connection
multiserver support

Thanks

#63517 10/12/03 12:40 AM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
on *:connect: { set %lastcon $server }

alias lastconnection { return %lastcon }


Need amazing web design for low price: http://www.matrixn3t.net
#63518 10/12/03 12:51 AM
Joined: Oct 2003
Posts: 7
A
Albano Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
A
Joined: Oct 2003
Posts: 7
ATMA Thnx, but really i not see nothing on status i connect/disconnect and nothing it happens

i use on status some info, like current name, time, tips, and i need to show last server, when i opened mIRC but with that code frown not saw null

#63519 10/12/03 01:04 AM
Joined: Apr 2003
Posts: 426
Fjord artisan
Offline
Fjord artisan
Joined: Apr 2003
Posts: 426
/help on START


--------
mIRC - fun for all the family (except grandma and grandpa)
#63520 10/12/03 01:05 AM
Joined: Jan 2003
Posts: 3,012
Hoopy frood
Offline
Hoopy frood
Joined: Jan 2003
Posts: 3,012
on *:DISCONNECT: {
/set %lastconnection $server
/echo -s Last server: $server on port $port
}
alias lastconnection { return %lastconnection }


-KingTomato
#63521 10/12/03 01:06 AM
Joined: Dec 2002
Posts: 397
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Dec 2002
Posts: 397
finsh the code ;p that just returns the last known connect try something like erm...

on *:start: {
echo -a Last Known Connection: $lastcon
}

or u can do something like:

on *:connect: {
//.titlebar :: $!me :: Last connection: $!lastconn ::
set %lastcon $server
}


Need amazing web design for low price: http://www.matrixn3t.net
#63522 10/12/03 06:53 AM
Joined: Dec 2003
Posts: 3
O
Self-satisified door
Offline
Self-satisified door
O
Joined: Dec 2003
Posts: 3
Quote:
on *:DISCONNECT: {
/set %lastconnection $server
/echo -s Last server: $server on port $port
}


Could even use;

on *:connect: {

but yes the use of variables is needed


Link Copied to Clipboard