Skip to content
MSN

Welcome message - double post ?!

A TG007 community discussion started by UAE_Boy.

Discussion 6 posts
Page 1 of 1
Open
Topic #7216 · 6 published posts · 1,611 views

Good day everyone ...

 

I was doing a "search" on the topic..and although i found related topics..none was about the same issue...

 

usually when u join a room on MSN, mIRC posts the welcome message as a "text" from the channel.

 

Looking up the subject i found a way to make it say it was a welcome messag (onjoin) but mIRC still kept posting its own message

 

E.x

 

=============

 

( 11:51a ) Join : Hitman*!*28BFF4BBF69C2CCE@GateKeeperPassport

( 11:51a ) Now talking in %#Hitman

( 11:51a ) Mode : Hitman +q Hitman

( 11:51a ) * Topic is 'Test'

( 11:51a ) %#Hitman : testing something

( 11:51a ) * Welcome is 'testing something'

 

=============

 

as you can see "%#Hitman : testing something" was posted again .. so how can i stop mIRC from posting the onjoin message ?!!

Ignorance Is Bliss

if ($chan == $nick) halt

 

something like that , forgot lol

this is what i use to echo the welcome

 

on *:text:*:#: {
  if ($nick == $chan) {
  echo # ( $time(hh:nnt) ) * Welcome is ' $+ $msn.decode($1-) $+ ' | halt }
}

 

i tried your halt in 2 diff way..but it still didn't stop mIRC from posting its own welcome message

Ignorance Is Bliss

on ^*:text:*:#: {
  if ($nick == $chan) {
  echo # ( $time(hh:nnt) ) * Welcome is ' $+ $msn.decode($1-) $+ ' 
haltdef 
}
}

My code does NOT have bugs. It just develops random features.

thnx ozzy ,.. but it didn't work :( .. actually .. it never showed the "welcome is" message .. just the mIRC one :S ..

Ignorance Is Bliss

this is mine remember to take all the align theme things i use out cos i'm to lazy to do it ..

 

on ^*:TEXT:*:#:{
  if ($nick isowner #) { var %d = 06.01 }
  if ($nick isop #) && ($nick !isowner #) { var %d = 06@01 }
  if ($nick isvoice #) && ($nick !isop #) { var %d = 06+01 }
  if ($nick !isop #) && ($nick !isvoice #) { var %d = $+(06,$chr(255),01) }
  var %c $_Time
  var %x $align(40,$+(%d,$decode.($nick),06,$chr(59),01))
  if ($nick != #) { $_wrap(#,%x,400,%c,$decode.($1-)) }
  halt
}

 

and then if u want a welcome when u join a room use raw 332.. it's the topic raw but u can use it for welcome like i have in my theme...

 

raw *:*:{
  if ($numeric = 332) {
    var %1 = echo -a 06
    %1 $+($chr(218),$str($chr(196),6),$chr(193),$str($chr(196),55),$chr(191))
    %1 $chr(179) $align(25,$+(01Channel06:01)) $2
    var %c $+($chr(255),06,$chr(179),01)
    var %x $align(25,$+(01Topic06:01))
    $_wrap(#,%x,400,%c,$decode.($replace($3-,\b,$chr(32),\c,$chr(44))))
    %1 $chr(179) $align(25,$+(01Ownerkey06:01)) $iif($ini($vdir(Pass.ini),q,$2),$readini($vdir(Pass.ini),q,$2),None Stored) 06/01 Hostkey06:01 $iif($ini($vdir(Pass.ini),h,$2),$readini($vdir(Pass.ini),h,$2),None Stored)
    %1 $+($chr(192),$str($chr(196),6),$chr(194),$str($chr(196),55),$chr(217))
    haltdef
  }
}

 

hope this helps more .. if not learn from it..

Edited Aug 20, 2006 3:40 AM by Entox|cated