[mIRC] Script nur alle 5Minuten?

panZa

Grünschnabel
script umbauen

Guten Tag,

ich bin ziemlich neu hier, und hab eine frage zzgl. meins scripts.

Code:
on 1:TEXT:.p:#:msg $chan 7,124,7Don`t OP/DEOP/KICK/BAN or change mods  
on 1:TEXT:.a:#:msg $chan 7,124,7Visit: #fraggeil #q]o_#[p #Speech #eXtreme.eSports & #kicked.by.console ! 
on 1:TEXT:.c:#:msg $chan 4,7 Version 1::12 panZaprotection: 4 v0.1 1:: 12 Powered by #mYpanZa 
on 1:TEXT:.h:#:msg $chan 4,7 http://mtw.mYpanZa.de

Meine frage lautet, wie ich hier timer einbaue, das man jedes nur alle 5min abrufen kan

mfg

panZa

edit/Helmut Klein: Code-Tags eingefügt.
 
Zuletzt bearbeitet von einem Moderator:
Code:
on 1:TEXT:.p:#:if (!%flood.p) { msg $chan 7,124,7Don`t OP/DEOP/KICK/BAN or change modes | set -u300 %flood.p $nick } 
on 1:TEXT:.a:#:if (!%flood.a) { msg $chan 7,124,7Visit: #fraggeil #q]o_#[p #Speech #eXtreme.eSports & #kicked.by.console ! | set -u300 %flood.a $nick }
on 1:TEXT:.c:#:if (!%flood.c) { msg $chan 4,7 Version 1::12 panZaprotection: 4 v0.1 1:: 12 Powered by #mYpanZa | set -u300 %flood.c $nick }
on 1:TEXT:.h:#:if (!%flood.h) { msg $chan 4,7 http://mtw.mYpanZa.de | set -u300 %flood.h $nick }

Einfach eine If-Abfrage ob die jeweilige Variable nicht existiert und falls dies zutrifft die Variable für 5 Sekunden auf einen Wert setzen.
 

Neue Beiträge

Zurück