mIRC Home    About    Download    Register    News    Help

Print Thread
Making text visible to others different colours .. #164659 14/11/06 11:31 PM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Hi All,
Wonder if someone can help me to figure out how to change text colour permanently to a set pair of colours without having to 'control+k+xx' each time? Is there any way to do this?
Many Thanks.
RC.

Re: Making text visible to others different colour #164660 15/11/06 12:34 AM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
put this in your remotes

Code:
 
on 1:input:#channel{
  /msg #channel 01,08 $1-
  haltdef
}
 


that will basically do what you want however it could be improved using error checking, /command parsing etc

btk


billythekid
Re: Making text visible to others different colour #164661 15/11/06 12:49 AM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Hiya BTK,
Many many thanks for that - I have added it into 'remotes' via script editor and I stil have no colours ..
Must be something I am doing wrong? frown

Re: Making text visible to others different colour #164662 15/11/06 01:50 AM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
You DID replace both instances of the word #channel with the name of the channel you wish this to happen in, didn't you?


I refuse to engage in a battle of wits with an unarmed person. wink
Re: Making text visible to others different colour #164663 15/11/06 01:56 AM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Hi,
Yes .. sure did ... I have tried all ways I can think of gettin it to work .. I can see where the thing is leading .. but it just wont play frown Has to be me .....

Re: Making text visible to others different colour #164664 15/11/06 02:02 AM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
OK I see the error ...

Make the first line:

on 1:input:#channel: {

and make sure there's a space before the {

You also are not required to use the / in remotes

Last edited by CtrlAltDel; 15/11/06 02:03 AM.

I refuse to engage in a battle of wits with an unarmed person. wink
Re: Making text visible to others different colour #164665 15/11/06 02:46 AM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Outstanding .. perfecto!!! Thank you very much indeed for your help .. Many Many Thanks smile
Rob.

Re: Making text visible to others different colour #164666 15/11/06 07:12 PM
Joined: Oct 2003
Posts: 313
S
Sais Offline
Fjord artisan
Offline
Fjord artisan
S
Joined: Oct 2003
Posts: 313
You might also want to check and halt that for (/* iswm $1 && !$ctrlenter). Otherwise you might end up sending commands with passwords to the channel.


Sais
Re: Making text visible to others different colour #164667 15/11/06 09:56 PM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Hiyas Sias,
I have run it up on a copy of DICE i have running here and all is looking good .... thanks for your reply though. Greatly appreciated,
Rob.

Re: Making text visible to others different colour #164668 15/11/06 10:43 PM
Joined: Mar 2003
Posts: 612
B
billythekid Offline
Fjord artisan
Offline
Fjord artisan
B
Joined: Mar 2003
Posts: 612
oops, sorry for the oversight, that's what happens when you think, ah an easy one, I'll just type it out here..

lol

btk blush


billythekid
Re: Making text visible to others different colour #164669 15/11/06 11:26 PM
Joined: Nov 2006
Posts: 7
R
RightRocket Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Nov 2006
Posts: 7
Hiyas BTK ...
No need for apologies .. its working great with a little help from me friends here ... outstanding and thanks again,
Rob.