Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- %hmsg = $timestamp - $+ 11Hltr $+ - $3 $+(-,$1,-) $4-
- if (%lgm == on) { write logs\highliter.log %hmsg }
- return %hmsg $m.alert($3)
- }
- while (%k <= $lines($+(",$scriptdirkwords.txt,"))) {
- var %kw = $remove($read($+(",$scriptdirkwords.txt,"),%k),)
- if (%kw != $null) {
- if ($1 == %kw) || ($2 isin %kw) || (%kw isin $2) || ($3 == %kw) || (%kw isin $strip($4-,burc)) {
- %hmsg = $timestamp - $+ 11Hltr $+ - $3 $+(-,$1,-) $4-
- if (%lgm == on) { write logs\highliter.log %hmsg }
- return %hmsg $m.alert($3)
- }
- else { inc %k }
- }
- else { inc %k }
- }
- else { return }
- }
- Alias m.alert {
- if (%bom = on) { beep 3 }
- if (%fom = on) { flash -r3 $1 }
- if (%hcf = on) { .timerHCF 1 1 window -a $1 }
- }
- On *:text:*:#:{
- if (%hl = on) {
- if ($chan != $active) {
- var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
- if (%mtxt) { echo -a %mtxt }
- }
- }
- }
- On *:action:*:#:{
- if (%hl = on) {
- if ($chan != $active) {
- var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
- if (%mtxt) { echo -a %mtxt }
- }
- }
- }
- On *:join:#:{
- if (%hl = on) {
- if ($chan != $active) {
- var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
- if (%mtxt) { echo -a .:Join: %mtxt }
- }
- }
- }
- On *:part:#:{
- if (%hl = on) {
- if ($chan != $active) {
- var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
- if (%mtxt) { echo -a .:Part: %mtxt }
- }
- }
- }
- On *:quit:{
- if (%hl = on) {
- if ($chan != $active) {
- var %mtxt = $k.mtch($nick,$address($nick,4),$chan,$1-)
- if (%mtxt) { echo -a .:Quit: %mtxt }
- }
- }
- }
- Alias hltr.hlp {
- did -a hltr 1 ------------------------------------------------------------------------
- did -a hltr 1 Highliter By -KiX-
- did -a hltr 1 ------------------------------------------------------------------------
- did -a hltr 1 Place this file in your mirc directory
- did -a hltr 1 Load this to your mirc with:
- did -a hltr 1 //load -rs pathtothisfile\hltr.mrc
- did -a hltr 1
- did -a hltr 1 Usage: right click and go to Highliter
- did -a hltr 1 ------------------------------------------------------------------------
- did -a hltr 1
- did -a hltr 1 Theres a few features:
- did -a hltr 1 ------------------------------------------------------------------------
- did -a hltr 1
- did -a hltr 1 -Flash: Flashes the channel where
- did -a hltr 1 keyword has been said
- did -a hltr 1
- did -a hltr 1 -Log msgs: logs highliter stuff
- did -a hltr 1 -Change Focus: Changes focus to the last
- did -a hltr 1 chan a keyword was said in
- did -a hltr 1
- did -a hltr 1 -Beep on msg: Beeps mirc when a keyword
- did -a hltr 1 was last said
- did -a hltr 1
- did -a hltr 1 ------------------------------------------------------------------------
- did -a hltr 1
- did -a hltr 1 Key Words:
- did -a hltr 1 Key words can be anything, a #channel,
- did -a hltr 1 a persons nick, a persons isp,
- did -a hltr 1 or specific word like Blah
- did -a hltr 1
- did -a hltr 1 *Note: your own nick is automaticly
- did -a hltr 1 added you cannot edit or delete it.
- did -a hltr 1 it keeps up with your nick chg as well.
- did -a hltr 1 ----------------------------------------------------------------
- did -a hltr 1
- did -a hltr 1 When someone says a keyword, it is echo'd
- did -a hltr 1 to your active channel.
- did -a hltr 1
- }
Add Comment
Please, Sign In to add comment