mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2007
Posts: 9
R
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Jun 2007
Posts: 9
Hi everybody

i have a little problem with my code, that works fine on 6.35, not i update at 7.1 and not works.

this code paste lines without excess flood.

Code:
on *:INPUT:?: { if ($inpaste) { .timer 1 $calc($timer(0) + $timer(0)) msg $target $1- | halt } | if ($left($1,1) != /) { .msg $active $1- | { echo -a $timestamp2 10«0 $+ $nick $+ 10»0 $1- | halt } } }


i try to integrate also in input channel without success

Code:
on *:INPUT:#: { if ($inpaste) { .timer 1 $calc($timer(0) + $timer(0)) msg $target $1- | halt } | if ($left($1,1) != /) { .msg $active $1- | if ($me isop #) { echo -a $timestamp 10‹ $+ 7@ $+ $me $+ 10›0 $1- | halt } | elseif ($me ishelp #) { echo -a $timestamp 10‹3% $+ $me $+ 10› 0 $1- | halt } | elseif ($me isvo #) { echo -a $timestamp 10‹ $+ 4+ $+ $bld $+ $bld $+ $me $+ 10›0 $1- | halt } | else { echo -a $timestamp 10‹ $+ 0 $+ $me $+  $+ 10›0 $1-  | halt } } }


i hope that someone how to help me, i need just that when i paste a lot of lines, these lines are copied every 2 3 4 secs, to avoid flood protection

thanks in advanced

Joined: Jun 2007
Posts: 9
R
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Jun 2007
Posts: 9
Hi everybody

i have a little problem with my code, that works fine on 6.35, not i update at 7.1 and not works.

this code paste lines without excess flood.

Code:
on *:INPUT:?: { if ($inpaste) { .timer 1 $calc($timer(0) + $timer(0)) msg $target $1- | halt } | if ($left($1,1) != /) 
{ .msg $active $1- | { echo -a $timestamp2 « $+ $nick $+ » $1- | halt } } }


i try to integrate also in input channel without success

Code:
on *:INPUT:#: { if ($inpaste) { .timer 1 $calc($timer(0) + $timer(0)) msg $target $1- | halt } 
| if ($left($1,1) != /) { .msg $active $1- | if ($me isop #) { echo -a $timestamp ‹ $+ @ $+ $me $+ › $1- | halt } 
| elseif ($me ishelp #) { echo -a $timestamp ‹% $+ $me $+ › $1- | halt } 
| elseif ($me isvo #) { echo -a $timestamp ‹ $+ + $+ $bld $+ $bld $+ $me $+ › $1- | halt } 
| else { echo -a $timestamp ‹ $+  $+ $me $+ › $1-  | halt } } }


i hope that someone how to help me, i need just that when i paste a lot of lines, these lines are copied every 2 3 4 secs, to avoid flood protection

thanks in advanced

Last edited by Robertus; 10/08/10 06:53 PM.
Joined: Nov 2006
Posts: 1,559
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Nov 2006
Posts: 1,559
You could take the easy road and use mIRCs internal flood protection feature (/help flood) smile

- Enable at Options:IRC:Flood
- Set a low "trigger after" limit (e.g. 100)
- Set large "in buffer" and "per person" values
- Enable "Queue: Own messages".

Or via editbox:
Code:
/flood +m 100 500 100

Last edited by Horstl; 11/08/10 03:56 AM.
Joined: Jun 2007
Posts: 9
R
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Jun 2007
Posts: 9
Originally Posted By: Horstl
You could take the easy road and use mIRCs internal flood protection feature (/help flood) smile

- Enable at Options:IRC:Flood
- Set a low "trigger after" limit (e.g. 100)
- Set large "in buffer" and "per person" values
- Enable "Queue: Own messages".

Or via editbox:
Code:
/flood +m 100 500 100


yes thanks, infact i'm trying this solution, but is a little bit slow (i try to copy 150 lines and is so slow, it copied a group and not line to line every secs, anyway works and i don't have kick for flood by network )

but when i paste, my code about on input channel\query, doesn't execute, and i see my nick like this: <Robertus> and not with other characters\colors that i set up in my code.
it's a problem of mirc that has dragged on for years

EDIT: SOLVED
with if !$inpaste

thanks everybody for the help

Last edited by Robertus; 11/08/10 05:09 PM.

Link Copied to Clipboard