nick completions

By CaVeMaN on Feb 27, 2010

I have this issue whith my script and i would like to change it , as you know nicks completions only apears at the begininig of the text , what i want is to make it apears anywhere .

.. if someone cane help me with this ... 

/corrige.nicks { 
if ( $right($1,1) = : ) { 
%nc = 0 
%nn = $nick(#,0) 
:1 
inc %nc 1 
if (%nc > %nn) goto 3 
%nac = $nick(#,%nc) 
%ntm = $len(%nac) 
%nsf = $ncmuestra(%nac) 
%npart = $remove( $1 ,:) 
if (%npart isin %nac) { 
%texto = %nsf $+ $right(%texto,$calc($len(%texto) - $len($$1))) 
goto 3 
} 
else { goto 1 } 
:3 
unset %nac %ntm %nsf %nn %nc %npart 
} 
elseif ($$1 ison #) { 
; %texto = $replace(%texto,$$1,$ncmuestra($nick(#,$nick(#,$$1)))) 
%texto = $ncmuestra($nick(#,$nick(#,$$1))) $+ $right(%texto,$calc($len(%texto) - $len($$1))) 
} 
} 
ncmuestra { 
return $+ %nc1.c $+ $+ %nc1 $+ [ $ $+ [ texto $+ [ %ncnick ] $+ ($$1) ] ] $+ $+ %nc2.c $+ $+ %nc2 $+ 
}

Comments

Sign in to comment.
CaVeMaN   -  Mar 04, 2010

i tryed ... but just make apears in the status window all the nicks that there is in the channel , still not working .... if you wanna take a look to the script ,you may find out what the problem is ... the script name is Mesias Script.I believe you gonna have more idea if you see how it is ....

 Respond  
CaVeMaN   -  Mar 04, 2010

it dont work , it make apears thre lines same text but oposite way .. and in the first line it thas apear the nick completions but only if your write first and the second nick name following in the same line it does not apears whith the completions ...

 Respond  
Korvin   -  Mar 03, 2010

thats what haltdef would do.... idk i just threw that in there as a halfass answer

 Respond  
Jethro   -  Mar 03, 2010

Korvin, you're supposed to silence the msg...unless you want to see double outputs.

 Respond  
Korvin   -  Mar 03, 2010

prob #1, that shiz is full of spyware.

add this to your remotes:

 on *:input:*: { 
haltdef
echo -a $1- < $+ $me $+ >
msg # $1-
}

then your name will be after.

 Respond  
Korvin   -  Feb 28, 2010

... are you talking in all text in a chat window? thats styled by a theme and would need to be processed through an on text, on input, and raw events.

 Respond  
sunslayer   -  Feb 27, 2010

try asking for help in the Snippet Requests Forum, you should probably also look at your profile as napa182 already told you to do so

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.