Whats proper script for this, just for fun.
Alternative color per line, then next line different color. Auto select random colors. Any ideas?
Help would be appreciated! Thanks
Alternative colors on say/tell/group/buddy
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Alternative colors on say/tell/group/buddy
That is for random colors inside sentence, what I want is random color per sentence i entered, like say hey there. then say I am fine, both random colors, how?
Re: Alternative colors on say/tell/group/buddy
You can use the global color_table to pick out one per line.
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am
Re: Alternative colors on say/tell/group/buddy
My alias for buddy set is:
^b (.*)$
triggers:
send( "b |n|{" ..bcol("Apoc") .. "|n|} |c|" .. matches[2] )
However I want that random color script to only work on matches[2]
In game colors are B BB C BC P BP BW W BG G Y BY R BR - you get the drift.
Doable? How? Thanks
^b (.*)$
triggers:
send( "b |n|{" ..bcol("Apoc") .. "|n|} |c|" .. matches[2] )
However I want that random color script to only work on matches[2]
In game colors are B BB C BC P BP BW W BG G Y BY R BR - you get the drift.
Doable? How? Thanks
Re: Alternative colors on say/tell/group/buddy
Yes, whatever you're asking is doable. How? Edit your alias: ^b(?: (.*))?$
Then it is simple if..then logic.
I'm still unsure what you want to do with your script/alias, but looking at your example there, you'll want to call it with expandAlias, not send.
You're welcome.
Then it is simple if..then logic.
I'm still unsure what you want to do with your script/alias, but looking at your example there, you'll want to call it with expandAlias, not send.
You're welcome.
-
- Posts: 154
- Joined: Sun Jul 29, 2012 6:50 am