Skip to content
MSN

PRIVMSG in vincula

A TG007 community discussion started by DreaM.

Discussion 7 posts
Page 1 of 1
Open
Topic #2213 · 7 published posts · 631 views

another simple question

 

-> TK2CHATCHATG12 PRIVMSG %#G_Channel :join www.tg007.net

 

this is what I see in debug window and I want to know please which part in vincula that shows this message to edit the theme in vincula.

 

and is it the following part:

 

   elseif ($2 == PRIVMSG) {
     if ($4 == :S) {
       if (?#* !iswm $3) sockwrite -tn %x $1 NOTICE $3 : $+ $remove($6-,$chr(1))
       else {
         var %color $left($5,1), %style $mid($5,2,1)
         if (%color == \) {
           %color = $left($5,2)
           %style = $mid($5,3,1)
         }
         %color = $base($msn.msntomrc(%color),10,10,2)

         if (($msn.get($sockname,docolor)) && ((%style == $chr(2)) || (%style == $chr(4)))) %style = 
         elseif (($msn.get($sockname,docolor)) && ((%style == $chr(6)) || (%style == $chr(8)))) %style = 
         elseif (($msn.get($sockname,docolor)) && ((%style == $chr(5)) || (%style == $chr(7)))) %style = 
         else unset %style

         if (%color == $color(background)) %color = %color(normal)
         sockwrite -tn %x $1 $2 $3 : $+ $iif($msn.get($sockname,docolor), $+ %color) $+ %style $+ $left($6-,-1)
       }
     }

 

if yes then how to change the theme in it to show it using the color I want ?

 

the theme for vincula doesn't activiate in the privmsg section, it sends it to mirc and then on text and that is used. basically the code here just checks if it should color the code or not, if it should, it goes through and colors the text. If you don't want the colors, turn it off through the dialog, and change the on text commands in the ;--- display section of the script.

what i get in my mirc window is:

 

<DreaM> join www.tg007.net

 

and I want to remove < and > from beside my nickname so how to do it?

on *:INPUT:#: {

if (($msn.get($cid,decode)) && ((/* !iswm $1) || (/me == $1))) {

var %p = $left($nick($chan,$me).pnick,1)

if (%p == $left($me,1)) unset %p

if (/me != $1) {

echo $color(own) -ti2 $chan $+(<,$msn.ifdecode(%p $+ $me),>) $1-

if ($msn.get($cid,encode)) .msg $chan $msn.encode($1-)

else .msg $chan $1-

}

else {

echo $color(own) -ti2 * $msn.ifdecode(%p $+ $me) $2-

if ($msn.get($cid,encode)) .describe $chan $msn.encode($2-)

else .describe $chan $2-

}

haltdef

}

}

 

 

if ur meaning to remove the < nick > in ur nick when u send messages, its echo $color(own) -ti2 $chan $+(<,$msn.ifdecode(%p $+ $me),>) $1- that line above in the input, just remove < > or add something else to replace them . same with other users text but its under on ^*:TEXT:*:#: { though.

You can also make your own theme, and use the haltdef command. Here is an example.

 

on *:TEXT:*:#:{
 echo $chan $nick : $1-
 haltdef
}

 

This will replace the default echo to the one you specify.

thank you guys but it is not INPUT and in same time it is not a text.

It is a PRIVMSG and yes i disabled the part u talked about seph but it is not INPUT and also warrior i have my own theme and I made on*:text one and works fine but for texts.

 

PRIVMSG is something i can not detect where it is exactly because not input and not a text too

 

 

I searched for < or $chr(60) in trivia and put ; to stop the line from working in all vincuula connection but no way, it seems as gatekeeper said.

 

I think yes it is msn but sure in mirc options I can choose which symbol I need to see beside my nick such as <nick> or (nick) or just nick.

 

any help?