mIRC Home    About    Download    Register    News    Help

Print Thread
#76373 24/03/04 04:12 PM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Can somebody give me an example how and when use /hadd -z


irc.universochat.net
#escripting
#76374 24/03/04 08:13 PM
Joined: Dec 2002
Posts: 1,321
H
Hoopy frood
Offline
Hoopy frood
H
Joined: Dec 2002
Posts: 1,321
The first use that springs to mind is as a timeout:

on *:TEXT:!trigger:#:{
  • if ($hget(htable, Timeout)) .notice $nick You may not use this command for another $ifmatch seconds
    else { hadd -z htable Timeout 60 | Do.Stuff }

}


DALnet: #HelpDesk and #m[color:#FF0000]IR[color:#EEEE00]C
#76375 25/03/04 12:17 AM
Joined: Nov 2003
Posts: 67
C
Canario Offline OP
Babel fish
OP Offline
Babel fish
C
Joined: Nov 2003
Posts: 67
Thanks Hammer, very clear example.


irc.universochat.net
#escripting

Link Copied to Clipboard