Project

General

Profile

Actions

On TEXT » History » Revision 5

« Previous | Revision 5/8 (diff) | Next »
Per Amundsen, 02/16/2017 10:31 AM


Added in 1.8.10

on <level>:TEXT:<matchtext>:<*|#|?>:<commands>

Triggers whenever a message is received.

See also on ACTION, on NOTICE.

Haltable using ^

Parameters

<level> - The level for the event to trigger.
<matchtext> - The Matchtext to listen to.
<*|#|?> - The Matchtarget to listen to.
<commands> - The commands to be performed when the event listener's criteria is met.

Example

on *:TEXT:*:#:echo -ag Message $1- from $nick on channel $chan

; Override the text event to print a custom text and then tell AdiIRC to ignore it's own text.
on ^*:TEXT:*:*:{
  echo -tbf $target $+(<,$nick,>:) $1-
  halt
}

Updated by Per Amundsen over 7 years ago · 5 revisions

Also available in: PDF HTML TXT