mIRC Home    About    Download    Register    News    Help

Print Thread
#98373 23/09/04 04:13 AM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
on ^*:text:*:*:echo -mbflirt $iif(#,#,$nick) $+([,$nick,]) $1- | halt }

i found this code by chance searching the forums and it works well, but it cuts out mircs show prefix option. meaning that it doesn't show the @ or +v in front of the nicks in chat dialog.. like @hatter and +bob it doesn't show.

is there a way to code them back in using this code? if so how would i go about doing it??

thanks in advance

#98374 23/09/04 04:28 AM
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
It doesnt show the prefix because the $nick identifer by itself doesnt show that instead of $+([,$nick,]) use $+([,$nick($chan,$nick).pnick,])

#98375 23/09/04 05:27 AM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
thanks armada, that worked GREAT!!!!! laugh

#98376 23/09/04 05:27 AM
Joined: Aug 2003
Posts: 314
S
Fjord artisan
Offline
Fjord artisan
S
Joined: Aug 2003
Posts: 314
Using the pnick property would return all assosciated prefixes, such as @+ if the person was oped and voiced, to simulate the behavior of mIRC's prefixing I'd go for $+([,$iif($left($nick(#,$nick).pnick,1) isin $prefix,$ifmatch),$nick,]) which also overcomes the fact that simply using $nick(#,$nick).pnick will return $null for a query

#98377 23/09/04 06:45 AM
Joined: Mar 2004
Posts: 540
A
Fjord artisan
Offline
Fjord artisan
A
Joined: Mar 2004
Posts: 540
I actually thought of that after posting was just to lazy to fix at the time lol

#98378 23/09/04 01:28 PM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
thanks for explaining that a bit sigh, that's what i kinda thought pnick was doing. i was gonna ask anyways about it but, now i don't have to smile .
and the second part, that you were so kind to add some additional info on the querry portion.... (that was my next question wink )

thanks again guys.... i would not have had a clue on how to due that..

#98379 25/09/04 04:02 AM
Joined: Aug 2004
Posts: 423
C
Fjord artisan
OP Offline
Fjord artisan
C
Joined: Aug 2004
Posts: 423
okay,

i have another question, i know you cant have everything but, now when i click on the nick in the channel dialog box i get nothing, unlike before i had the query popup menu come up. can that be corrected with mods in place???


Link Copied to Clipboard