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
A TG007 community discussion started by TOPX.
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
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
/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.
![]()
Timers add to lag, thats why i wanted it to count joiners.
Sign in to reply or start a new topic where your account has permission.