Tekil Mesaj gösterimi
Alt 10 Nisan 2007, 09:43   #3
Çevrimdışı
r0ck
Kullanıcıların profil bilgileri misafirlere kapatılmıştır.
IF Ticaret Sayısı: (0)
IF Ticaret Yüzdesi:(%)
Yanıt: Away İle İlgili




alias back {
backchk | var %s, %l = $convert($pxasys.get(msg,format2)), %i = $pxasys.get(options,n0) | :s | if ($left($1,1) == -) { if ($1 == -m) { %s = $dialog(pxasys.back,pxasys.back) | tokenize 32 %s | goto s } | elseif ($1 == -r) { if (!$cancel($1-)) addh2 -r | %s = $2- | tokenize 32 %s | goto s } | elseif ($1 == -g) { var %g = 1 | %s = $2- | tokenize 32 %s | goto s } | elseif ($left($1,2) == -c) && ($right($1,1) isnum) { var %_id = $ifmatch | %s = $2- | tokenize 32 %s | goto s } | elseif ($1 == -o) { var %o = 1 | %s = $2- | tokenize 32 %s | goto s } | elseif ($1 == -q) || ($gettok(%i,1,44)) %s = $2- | else { pxasys.echo Invalid switch(es). | return } } | if (!%s) %s = $iif($1 && $left($1,1) != -,$1-,$pxasys.get(msg,return)) | if (%s === CANCEL) return | addh2 %s
var %id = 1 | while ($scon(%id)) { if (!$gettok(%i,29,44)) && (!%g) %id = $cid | if (%_id) %id = %_id | if ($scon(%id).status == connected) { scon %id | if (!$server) goto l | if (!$a) { if (!%o) pxasys.echo You were not away. ( $+ $network $+ ) | goto l } | if (!$pxasys.get(msg,time [ $+ [ %id ] ] )) goto l | $iif($1 != -q && !$gettok(%i,1,44),$iif($gettok(%l,1,32) == /me,ame,amsg) $replace($gettok(%l,2-,32),@msg,%s,@logging,$iif($gettok(%i,13,44),On,Of f),@pager,$iif($gettok(%i,2,44),On,Off),@duration, $duration($iif($pxasys.get(msg,time [ $+ [ %id ] ] ),$calc($ctime - $ifmatch),0)),@time,$asctime(HH:nn:ss))) | .quote away | if (($gettok(%i,12,44)) && ($gettok(%i,7,44))) .timerpxasysreop 1 3 .signal pxasys_reop %id | if ($pxasys.get(msg,nick [ $+ [ %id ] ] )) { nick $ifmatch | pxasys.set msg nick [ $+ [ %id ] ] } | /hopla | $calc($ctime - $awaytime) $time() |pxasys.set msg time [ $+ [ %id ] ]
pxasys.set options pagenicks [ $+ [ %id ] ] | pxasys.set options prompt [ $+ [ %id ] ] } | :l | $iif(!$gettok(%i,29,44) && !%g || %_id,break,inc %id) } | if ($gettok(%i,13,44)) && ($findfile($pxasys.logdir,*.log,0)) && ($pxasys.get(options,logs)) { pxasys.echo -at Messages logged while away: $ifmatch | pxasys.echo -t Type $+(",$comchar(away) -logs,") without the quotes to view them. | pxasys.set options logs } | if (!$pxasys.numini(msg,time)) repeat -off | pxasys.resetidle -f
}

Bu şekilde birşey yaptım ama olmadı.sanırım senı yanlıs anladım.bu code uzerınde gosterırsenız sevınırım.
Kolay gelsın

 
Alıntı ile Cevapla

IRCForumlari.NET Reklamlar
sohbet odaları reklam ver Benimmekan Mobil Sohbet