mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Nov 2006
Posts: 7
R
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.

Joined: Mar 2003
Posts: 612
B
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
Joined: Nov 2006
Posts: 7
R
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

Joined: Jun 2003
Posts: 994
C
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
Joined: Nov 2006
Posts: 7
R
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 .....

Joined: Jun 2003
Posts: 994
C
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
Joined: Nov 2006
Posts: 7
R
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.

Joined: Oct 2003
Posts: 313
S
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
Joined: Nov 2006
Posts: 7
R
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.

Joined: Mar 2003
Posts: 612
B
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
Joined: Nov 2006
Posts: 7
R
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.


Link Copied to Clipboard