Home
About
Download
Register
News
Help
Register
Log In
Forums
Scripts & Popups
want not work with colored text
Forums
Active Threads
Search
Who's Online
Help
Print Thread
want not work with colored text
#
152469
01/07/06
07:21 AM
Joined:
Jun 2006
Posts: 2
V
vdm
OP
Bowl of petunias
OP
vdm
Bowl of petunias
V
Joined:
Jun 2006
Posts: 2
for expamle:
on *:text:*me*:#:{
set %tik very good
if ((%tik isin $1-) {
...
}
}
then $1- has colors if(...) {} - want not work. why? How i can solve this problem?
Copy Link to Clipboard
Re: want not work with colored text
#
152470
01/07/06
09:08 AM
Joined:
Aug 2005
Posts: 525
S
schaefer31
Fjord artisan
schaefer31
Fjord artisan
S
Joined:
Aug 2005
Posts: 525
I'm not too sure what you're asking, but in your code you have 1 too many parenthesis in your if statement.
if (
(
%tik isin $1-) {
should be
if (%tik isin $1-) {
Copy Link to Clipboard
Re: want not work with colored text
#
152471
01/07/06
02:53 PM
Joined:
Dec 2002
Posts: 1,245
California, doooood
M
MikeChat
Hoopy frood
MikeChat
Hoopy frood
M
Joined:
Dec 2002
Posts: 1,245
California, doooood
if you mean $1- has colors codes in the string use $strip
on *:text:*me*:#:{
set %tik very good
if (%tik isin $strip($1-) ) {
...
}
}
Copy Link to Clipboard
Hop To
News and Discussions ------
Latest News
General Discussion
Support ------
mIRC Help
Connection Issues
Scripts & Popups
Development ------
Feature Suggestions
Developers
Bug Reports
Print Thread
Switch to Threaded Mode
Show Likes
Link Copied to Clipboard
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
View Profile
Private Message
Follow User
Forum Posts
Forum Rules
·
Mark All Read
Contact Us
·
Help
·
mIRC Homepage