rendered paste bodyalias highlightvars {
; Change this to the number of wave files in your folder.
; Files start at 1.wav not 0.wav!
set %wavfiles 5
}
on *:TEXT:*:#:{ if (SaidinWoT isin $strip($1-)) || (Saidin isin $strip($1-)) || (ToWnidiaS isin $strip($1-)) || ($me isin $strip($1-)) {
highlightvars
splay -cw highlight/ $+ $rand(1,%wavfiles) $+ .wav
if ($chan != $active) {
echo -a 10« $+ 7 $+ $nick in $chan at $time $+ 10 $+ » $1-
}
}
}
on *:ACTION:*:#:{ if (SaidinWoT isin $strip($1-)) || (Saidin isin $strip($1-)) || (ToWnidiaS isin $strip($1-)) || ($me isin $strip($1-)) {
highlightvars
splay -cw highlight/ $+ $rand(1,%wavfiles) $+ .wav
if ($chan != $active) {
echo -a 10« $+ 7 $+ $nick in $chan at $time $+ 10 $+ » $1-
}
}
}