Skip to content
General IRCX

plz help me i gone crazy

A TG007 community discussion started by TOPX.

Discussion 8 posts
Page 1 of 1
Open
Topic #7519 · 8 published posts · 1,765 views

plz help me i gone crazy i need Connection for myfhn chat plz

 

why coding not made Connection for myfhn chat

 

 

msn close all chats in 16/10/2006

Edited Oct 6, 2006 5:26 PM by TOPX
Use VSIXc and get the basic script off the downloads section.

on *:START: { 
  hmake jcount 100 
  if ($isfile(jcount.dat)) hload jcount jcount.dat 
} 

on *:EXIT: hsave -o jcount jcount.dat 

on !*:JOIN:#: {
  if ( $hget(jcount,$+($network,.,$chan,.,$nick)) ) {
    tokenize 32 $v1
    var %t = $calc($1 + 1)
    .msg $chan Welcome Back $nick $+ . Last time you joined $chan was on $2 $+ , $duration($calc($ctime - $3)) ago $+ . (Your total visits: %t $+ )
    hadd -m jcount $+($network,.,$chan,.,$nick) %t $asctime(mm/dd/yyyy) $ctime
  }
  else { 
    hinc -m jcount $+($network,.,$chan,.,total.count)
    .msg $chan Welcome $nick $+ ! You're visitor $chr(35) $+ $hget(jcount,$+($network,.,$chan,.,total.count)) to join $chan $+ .
    hadd -m jcount $+($network,.,$chan,.,$nick) 1 $asctime(mm/dd/yyyy) $ctime
  }
}

 

 

Lookin for some kind of script that clears the screen with /clearall after 25 joins or whatever. Anyone got?

Your own screen? Or the chat screen?

on *:JOIN:#:{ 
if (%cn = 25) clearall
else inc %cn
}
alias clearall { 
  var %aclear.chan.max $chan(0) + 1
  var %aclear.chan.number 1
  while (%aclear.chan.number < %aclear.chan.max) {
    clear $chan(%aclear.chan.number)
    inc %aclear.chan.number
  }
  clear -s
}

Thats for clearing your own. It clears all screens as well, not just one. As far as clearing the chat screen, I dont have the little things for it.

Just lookin for a way to have all screens cleared while im at work. So mirc wont lag. Also lookin to find one the clears all windows on a mirc server as well

Edited Oct 18, 2006 4:41 AM by Shagman

/clearall

My code does NOT have bugs. It just develops random features.

Screenclear Timer

.Timer:/timerscreenclear 0 1800 /clear

-

 

or

Screenclear Timer

.Timer:/timerscreenclear 0 1800 /clearall

-

 

Simple , but does the job.

 

:taz:

Edited Oct 18, 2006 1:58 PM by HalfBreed

Timers add to lag, thats why i wanted it to count joiners.