display GROUP, along with name <email>???

Talk about anything about MSN Messenger for mIRC or leave some comments.
Post Reply
yosh64

display GROUP, along with name <email>???

Post by yosh64 »

hey

i find it alot easier to identify my contacts when i am aware of their GROUP... and thus i would like to add the GROUP to the status/main contact list. (such as GROUP: NAME <EMAIL>)

anyhows i had a quick peek at your nice MIRC SCRIPTS (never done any MIRC scripting before), and came up with this, which seems NOT to work :(

<- inserted after line 194 of msn.mrc

Code: Select all

set %msn.group. $+ $rawurldecode( $gettok(%msn.data.nodecode,2,32) ) $+ .name $replace( $rawurldecode( $gettok(%msn.data.nodecode,3,32) ), $chr(32) ,_)
set %msn.groupnumber $gettok(%msn.data.nodecode,5,32)
set %msn.nick $shortfn($scriptdir) $+ [ %msn.group. [ $+ [ %msn.groupnumber ] $+ ] .name ]
anyone know how to do such things?

thanks, cya
yosh64

Post by yosh64 »

hey

oops... posted wrong code, that was my test code :\

here it is again...

Code: Select all

set %msn.group. $+ $rawurldecode( $gettok(%msn.data.nodecode,2,32) ) $+ .name $replace( $rawurldecode( $gettok(%msn.data.nodecode,3,32) ), $chr(32) ,_)
set %msn.groupnumber $gettok(%msn.data.nodecode,5,32)
set %group_test $[ %msn.group. [ $+ [ %msn.groupnumber ] $+ ] .name ]

if  ( $gettok(%msn.data,3,32) == NLN ) { aline -l @Messenger 3 $+ %group_test %msn.nick 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == AWY ) { aline -l @Messenger 7 $+ %group_test %msn.nick [AWAY] 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == BSY ) { aline -l @Messenger 13 $+ %group_test %msn.nick [BUSY] 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == BRB ) { aline -l @Messenger 10 $+ %group_test %msn.nick [BRB] 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == PHN ) { aline -l @Messenger 11 $+ %group_test %msn.nick [PHN] 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == LUN ) { aline -l @Messenger 6 $+ %group_test %msn.nick [LUNCH] 15< $+ $gettok(%msn.data,4,32) $+ > }
if  ( $gettok(%msn.data,3,32) == IDL ) { aline -l @Messenger 5 $+ %group_test %msn.nick [IDLE] 15< $+ $gettok(%msn.data,4,32) $+ > }
well i think ya get the picture anyhows... i have not looked the MIRC SCRIPT variable types and declarations and other such things yet :\

cya
yosh64

Post by yosh64 »

hey

sorry for the tripple post... but i forgot to mention that the msn4script version is 3.46!

cya
Post Reply