mIRC Home    About    Download    Register    News    Help

Print Thread
#60242 13/11/03 11:26 PM
M
Metalstorm
Metalstorm
M
how do i create a script/event that enables me to do this:

define 3 word groups ( A, B, C)...

now if i am in 3 different channels (#1, #2, #3) i want that if a word from group A is used, it highlights only if it was used in channel #1, but NOT in #2 or #3

group B words should only be highlighted in #2, but not in #1 or #3

group C words should only be highlighted in #3, but not in #1 or #2

any help (even pointing to the right command or part of the mirc help file) would be highly appreciated!

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
Put %word1. [ $+ [ # ] ][color:red],%word2. [ $+ [ # ] ][/color] in the highlighting dialog, and set unique variables for every channel:
  • /set %word1.#chan1 word1
    /set %word2.#chan1 word2
    /set %word1.#chan2 word3
    /set %word2.#chan2 word4
Note that commas, wildcards and variables will be treated as literal letters, so * will only match * and comma will not separate words (that's why I used multiple vars here).

M
Metalstorm
Metalstorm
M
woohoo!!!

exactly what i was looking for!

thnx a lot, works fine!

Joined: Jan 2003
Posts: 2,125
Q
Hoopy frood
Offline
Hoopy frood
Q
Joined: Jan 2003
Posts: 2,125
Very nice Online smile I didn't think dynamic vars and # would work in Highlight but it turns out they do!

Joined: Dec 2002
Posts: 1,893
O
Hoopy frood
Offline
Hoopy frood
O
Joined: Dec 2002
Posts: 1,893
I knew you'd like it laugh


Link Copied to Clipboard