mIRC Home    About    Download    Register    News    Help

Print Thread
need help adding color to this nick notify snippet #160683 29/09/06 07:59 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
I found this snippet on another forum site. I need help adding color to it instead of having a plain white nick coming out on the channel I want to have it like.

•nick•: with color, with the nick being a different color and the bullets being same color. I want to be able to custize the colors and such also. I appreciate anyones help and input! Thanks!

In remote.ini I have...

Code:
on &*:input:*:{ 
  if (($me ison $active) && ($left($gettok(%IStr,1,32),1) != /) && ($right($gettok(%IStr,1,32),1) == :) && ($gettok(%IStr,1,32) != :)) { 
    if $ialchan( [ $remove($left($1,-1),$chr(40),$chr(41)) $+ *!*@* ] ,$active,1) != $null { 
      if $ctrlenter != $true { 
        var %saystr = [ [ $gettok(%IStr,2-,32) ] ] 
        say $resp2($ialchan( [ $remove($left($gettok(%IStr,1,32),-1),$chr(40),$chr(41)) $+ *!*@* ] ,$active,1).nick) $replace(%saystr,§¨©,$chr(36),§¨ª,$chr(37)) 
      } 
      halt 
    } 
  } 
} 


In Aliases I have..

Code:
> { 
  if ($ctrlenter != $true) { var %IStr = $replace($1-,$chr(36),§¨©,$chr(37),§¨ª) } 
  var %saystr = [ [ %IStr ] ] 
  say %lastresp $replace(%saystr,§¨©,$chr(36),§¨ª,$chr(37)) 
} 

dblclknick { 
  if ($1 != $me) { 
    if ($2 != 3) { 
      .respond $1 
    } 
  } 
} 

respond { if ($1 != $null) { editbox -ap /> | set %lastresp $eval($replace(nick $+ :,nick,$1),2) } } 
resp2 { if ($1 != $null) { return $eval($replace(nick $+ :,nick,$1),2) } }
f1 _xserv


In Mirc options >> mouse >> Nick List I have

Code:
 dblclknick $1 $mouse.key 

Re: need help adding color to this nick notify sni #160684 29/09/06 08:36 AM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
Quote:
I found this snippet on another forum site. I need help adding color to it instead of having a plain white nick coming out on the channel I want to have it like.

•nick•: with color, with the nick being a different color and the bullets being same color. I want to be able to custize the colors and such also. I appreciate anyones help and input! Thanks!

In remote.ini I have...

Code:
on &*:input:*:{ 
  if (($me ison $active) && ($left($gettok(%IStr,1,32),1) != /) && ($right($gettok(%IStr,1,32),1) == :) && ($gettok(%IStr,1,32) != :)) { 
    if $ialchan( [ $remove($left($1,-1),$chr(40),$chr(41)) $+ *!*@* ] ,$active,1) != $null { 
      if $ctrlenter != $true { 
        var %saystr = [ [ $gettok(%IStr,2-,32) ] ] 
        say $resp2($ialchan( [ $remove($left($gettok(%IStr,1,32),-1),$chr(40),$chr(41)) $+ *!*@* ] ,$active,1).nick) $replace(%saystr,§¨©,$chr(36),§¨ª,$chr(37)) 
      } 
      halt 
    } 
  } 
} 


In Aliases I have..

Code:
> { 
  if ($ctrlenter != $true) { var %IStr = $replace($1-,$chr(36),§¨©,$chr(37),§¨ª) } 
  var %saystr = [ [ %IStr ] ] 
  say %lastresp $replace(%saystr,§¨©,$chr(36),§¨ª,$chr(37)) 
} 

dblclknick { 
  if ($1 != $me) { 
    if ($2 != 3) { 
      .respond $1 
    } 
  } 
} 

respond { if ($1 != $null) { editbox -ap /> | set %lastresp $eval($replace(nick $+ :,nick,$1),2) } } 
resp2 { if ($1 != $null) { return $eval($replace(nick $+ :,nick,$1),2) } }
f1 _xserv


In Mirc options >> mouse >> Nick List I have

Code:
 dblclknick $1 $mouse.key 


well

change these 2 lines RESPOND AND RESP2

respond { if ($1 != $null) { editbox -ap /> | var %co1 = 8,1 | var %co2 = 7,1 | set %lastresp $eval($replace(nick $+ :,nick,$+(%co1,$1,)),2) } }
resp2 { if ($1 != $null) { var %co1 = 8,1 | var %co2 = 7,1 | return $eval($replace(nick $+ :,nick,$+(%co1,$1,)),2) }


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: need help adding color to this nick notify snippet #160685 29/09/06 02:30 PM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
umm what do I change it to? I'm not really sure...sorry..I am fairly new to the scripting scene! much help would be appreciated!

Re: need help adding color to this nick notify sni #160686 29/09/06 07:07 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
if youll notice the 2 lines i posted are different then the two lines you posted

just repalce them with mine

RESP alias scripts


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: need help adding color to this nick notify sni #160687 30/09/06 04:15 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
hmmm ok..that worked a little like I wanted it to..but I want to add charcters like bullets or [nick]: or something to it and color them as well.. instead of it being yellow...

Re: need help adding color to this nick notify sni #160688 02/10/06 06:28 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
anyone know how I can go abouts doing that with the code thats already posted?

Re: need help adding color to this nick notify sni #160689 12/10/06 06:05 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
hello...anybody read this post anymore smile I want to be able to change the charcters and add color and do whatever for this snippet...I'm not sure how to go abouts doing it..I am very new to the scripting scene..plz help..thanks!

Re: need help adding color to this nick notify sni #160690 14/10/06 05:24 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
hmmm wow..ok...I guess I am going to keep posting untill someone says something :-p

Re: need help adding color to this nick notify sni #160691 26/10/06 07:48 AM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
Hello can someone help me with this post?

Re: need help adding color to this nick notify sni #160692 26/10/06 11:07 AM
Joined: Oct 2006
Posts: 21
S
Sam_Hamwich Offline
Ameglian cow
Offline
Ameglian cow
S
Joined: Oct 2006
Posts: 21
You seem to have a bad habit of repeating yourself if you don't get an immediate answer, which means that either no one has an answer or is ignoring your posts. Just post one question and leave it at that until you do get a response.


Sam Hamwich
-Build a Better Mousetrap, and They Will Build A Smarter Mouse-
Re: need help adding color to this nick notify sni #160693 26/10/06 10:25 PM
Joined: Sep 2006
Posts: 71
O
o0Chris0o Offline OP
Babel fish
OP Offline
Babel fish
O
Joined: Sep 2006
Posts: 71
its because no one responds smile I have posted other posts as well and got quicker responces.. I don't think they like helping me smile

Re: need help adding color to this nick notify sni #160694 27/10/06 01:38 AM
Joined: Jun 2003
Posts: 994
C
CtrlAltDel Offline
Hoopy frood
Offline
Hoopy frood
C
Joined: Jun 2003
Posts: 994
Quote:
hmmm wow..ok...I guess I am going to keep posting untill someone says something :-p

Now THAT's an idea .. make it so no one even considers attempting to help you, and eventually get yourself removed from the forum. Trust me, if no-one responds to your post in a reasonable amount of time, then it's very probable that no-one has an answer. Repeatedly spamming the forum with "Hello can someone help me with this post?" and the like will only make the real scripters here stop helping you even if they DO have an answer.


I refuse to engage in a battle of wits with an unarmed person. wink