mIRC Home    About    Download    Register    News    Help

Print Thread
status, buffer, & connections #100036 09/10/04 05:19 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
hi, i need a small script that when i get disconnected then it clears the status window and say something like:

$timestamp * Disconnected xx times
--rest of connection info (like a normal connection)--


i have several servers open so it needs some kind of multi server support of the disconnect #'s and to clear the right status buffer


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: status, buffer, & connections #100037 10/10/04 03:05 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
come on, please help


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: status, buffer, & connections #100038 10/10/04 03:27 PM
Joined: May 2004
Posts: 95
W
wiebe Offline
Babel fish
Offline
Babel fish
W
Joined: May 2004
Posts: 95
do you mean something like:
Code:
on *:disconnect:{ clear -s | echo -s your text here.. } 

Re: status, buffer, & connections #100039 10/10/04 04:06 PM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
ok, this is JUST a guess here, but how about something like (first attempt at anything like this):


Code:
on *:disconnect: {
  inc %cid $+ $cid 1
  //scon -at $+ $cid clear -s
  //scon -at $+ $cid echo -ts Connection $cid Disconnected %cid $+ $cid times.
}



Something like that maybe? That code is not only untested, but absolutely GUESSED at as Ive never done anything like this before. Im sure Ill get corrected all over the place if Im way off and that's fine.


Those who fail history are doomed to repeat it
Re: status, buffer, & connections #100040 10/10/04 04:21 PM
Joined: Nov 2003
Posts: 2,327
T
tidy_trax Offline
Hoopy frood
Offline
Hoopy frood
T
Joined: Nov 2003
Posts: 2,327
/scon should be /scid smile


New username: hixxy
Re: status, buffer, & connections #100041 11/10/04 01:32 AM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
Ah, see, I knew Id get something simple wrong on that thru my LACK of experience (and would be corrected) on multiserv functions. I hope the example does what you want it to smile


Those who fail history are doomed to repeat it
Re: status, buffer, & connections #100042 11/10/04 03:53 PM
Joined: Jul 2003
Posts: 742
MTec89 Offline OP
Hoopy frood
OP Offline
Hoopy frood
Joined: Jul 2003
Posts: 742
thx smile works


http://MTec89Net.com
irc.freenode.net #MTec89Net
Re: status, buffer, & connections #100043 13/10/04 06:47 PM
Joined: Dec 2002
Posts: 1,527
L
landonsandor Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Dec 2002
Posts: 1,527
Glad to be of service MTec smile Also helps me learn things too smile


Those who fail history are doomed to repeat it