mIRC Home    About    Download    Register    News    Help

Print Thread
#112475 24/02/05 06:50 AM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
how can i strip topic color
when i join channel mean. ?
thanks.

#112476 24/02/05 06:56 AM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
Code:
Raw 329:*: {
  var %chan = $chan($2).topic
  echo -a $strip(%chan,c)
}

#112477 24/02/05 06:54 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
thanks SladeKraven, but really not work maybe need on join code ?

#112478 24/02/05 06:57 PM
Joined: Dec 2002
Posts: 3,547
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Dec 2002
Posts: 3,547
That works for me. On Join wouldn't work to retrieve topic.

Code:
Raw 329:*: {  
  var %chan = $chan($2).topic  
  echo $chan($2) $strip(%chan,c)
}

Last edited by SladeKraven; 24/02/05 06:58 PM.
#112479 24/02/05 07:28 PM
Joined: Dec 2002
Posts: 1,245
M
Hoopy frood
Offline
Hoopy frood
M
Joined: Dec 2002
Posts: 1,245
I don't know, but this works for me (mIRC 5.91)
Code:
 raw 332:*:{ echo $2 $strip($3-) | halt }
 

#112480 24/02/05 07:38 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
umm i just tested on Dalnet also with mIRC clean. when i enter a channel and channel has topic with bold, color, underline and stuff really that code not strip nothing?

Edit: for SladeKraven

Last edited by Adriano; 24/02/05 07:39 PM.
#112481 24/02/05 07:41 PM
Joined: Jan 2004
Posts: 84
A
Adriano Offline OP
Babel fish
OP Offline
Babel fish
A
Joined: Jan 2004
Posts: 84
otherwise MikeChat work good, so thanks MikeChat
also thanks SladeKraven for effort


Link Copied to Clipboard