Skip to content
MSN Addons

Msg 4 owners

A TG007 community discussion started by samooh_2003.

Discussion 22 posts
Page 1 of 2
Open
Topic #3156 · 22 published posts · 2,075 views

hi i need msg to say hello for owners in da channel when my script join there just for owners..

is this what you want?

 

alias ownermsg {
 var %a = 1
 while (%a <= $nick($1,0)) {
   if ($nick($1,%a) isowner $1) {
     if ($nick($1,%a) != $me) {
       msg $1 hello owner $nick($1,%a)
     }
   }
   inc %a
 }
}
on *:JOIN:*:{
 if ($nick == $me) {
   .timer 1 0 ownermsg $chan
 }
}

 

 

EDIT: sorry, minor correction

Edited Mar 21, 2005 1:15 AM by Nimbus03

"the important thing was, that i had an onion on my belt, which was the style at the time"

yea but it doesnot work

on me:*:join:#:{ omsg # Hi }

 

yes it does, i've tested it and it works fine

"the important thing was, that i had an onion on my belt, which was the style at the time"

so ?? i tested it 2 and when i hop it doesnot say anything

add a second onto the timer

 

on *:JOIN:*:{
if ($nick == $me) {
  .timer 1 1 ownermsg $chan
}
}

"the important thing was, that i had an onion on my belt, which was the style at the time"

Nothing :S doesnot work

are you hopping passports with nuclear by any chance?

"the important thing was, that i had an onion on my belt, which was the style at the time"

i couldnot get wt u saied sorry...

do you hop passport with nuclear connection?

that's the only thing i've found that wont work, joins and hops with vincula work fine

Edited Mar 21, 2005 2:12 AM by Nimbus03

"the important thing was, that i had an onion on my belt, which was the style at the time"

vincula but it doesnot work

does it also not work when you join the room normally?

"the important thing was, that i had an onion on my belt, which was the style at the time"

yea doesnot work 2...

sorry but i can't think why it wont work for you, it works fine for me

"the important thing was, that i had an onion on my belt, which was the style at the time"

Thnx 4 ur helping ... so any other suggestions?

well samooh increase the timer to 1 4 not 1 1 because seems that you have crowded chat room

doesnot work 2...

on *:join:#:{
if ($nick == $me) { ................................ }
}

 

most of your questions are about this issue so I suggest to check your connection, Try to load new one and check but remember to add the timer if the command is alias and minimum the timer should be .timer 1 2

alias Hellomsg { 
 var %a = 1 
 while (%a <= $nick($comchan($me,1),0,q)) { 
   if ($nick($comchan($me,1),%a,q) === $me) inc %a 
   msg $comchan($me,1) hello owner $nick($comchan($me,1),%a,q) 
   inc %a 
 } 
}
on *:JOIN:*: if ($nick === $me) .timer 1 1 hellomsg

 

this is working with me good so try it but before wasnot work...