⚲
Project
General
Profile
Sign in
Register
Home
Projects
Help
Search
:
AdiIRC
All Projects
AdiIRC
Overview
Activity
Roadmap
Issues
Calendar
News
Wiki
Forums
Download (951 Bytes)
[Deprecated] [Script] Avoid Consecutive Timestamp v0.1.3
» ACT v0.1.3.ini
Mr. BS
, 06/02/2014 12:24 AM
; http://dev.adiirc.com/boards/5/topics/183
; Avoid Consecutive Timestamp
; v0.1.3 by pereba
on
1:LOAD:prefix
on
1:START:prefix
on
1:UNLOAD:unset
%ACT.*
alias
-l
prefix
{
set
%ACT.prefix
$readini(config.ini,
Messages,
PrefixUser)
}
;nick whitelist separated by space
alias
-l
whitelist
{
return
***
}
;channel messages
on
^*:TEXT:*:
#:{
if
($
nick
=
= %ACT.last. [ $+ [ # ] ] ) && (!$istok($whitelist,$nick,32)) {
echo
-rlmbf
# $str($chr(160),$len($timestamp)) $&
$replace(%ACT.prefix,$!pnick,$left($nick(
#,$nick,a,r).pnick,1) $+ $nick,$!status,$left($nick(#,$nick,a,r).pnick,1),$!nick,$nick) $1-
halt
}
set
%ACT.last.
$+
# $nick
}
;pm/query
on
^*:TEXT:*:?:{
if
($
nick
=
= %ACT.lastpm) {
echo
-rlmbf
$nick
$str($chr(160),$len($timestamp))
$replace(%ACT.prefix,$!pnick,$nick,$!status,
,$!nick,$nick)
$1-
halt
}
set
%ACT.lastpm
$nick
}
on
&*:INPUT:
#: {
set
%ACT.last
$me
}
on
&*:INPUT:?:
{
set
%ACT.lastpm
$me
}
« Previous
1
2
3
Next »
(3-3/3)
Loading...