VaporWare
VaporWare AmIRC Main Index [Previous| Chapter Index|Next]

Arexx Scripts

HandleFlood.amirx

ARGUMENTS: :nick!user@host type target :text

If this script exists,it will be called once AmIRC identifies a CTCP flood. It is passed the last flood-line as arguments. If the script does not exist, the internal AmIRC function will be used.

Example:

     This example will effectively emulate the internal AmIRC flood
     protection.  One may improve on it.
     
     /* Handleflood.amirx */
     options results
     parse arg last
     "parseline" last
     
     parse value last.prefix WITH nick'!'user''host
     
     'SAY /IGNORE *!*'host 'CTCP'
     "ECHO P=FloodProt Flood from" nick "defused."