Skip to content
MSN

onjoin\onpart msg prot

A TG007 community discussion started by Zantetsuken.

Discussion 4 posts
Page 1 of 1
Open
Topic #5008 · 4 published posts · 652 views

raw PROP:*: {
 if ($ini(aop.ini,Aown $+ $chan,$address($nick,1))) halt
 if ($ini(aop.ini,globalq,$address($nick,1))) halt
 if ($2 == onjoin) {
   if ($ini(logs\prop.ini) isin $3-) { $propban }
 }
}

alias propban {
 sockwrite -tn msn.server. $+ $cid access $msn.get($cid,fullroom) add deny *!* $+ $ial($nick).addr 0 :Added Profanity In Onjoin Prop
 sockwrite -tn msn.server. $+ $cid kick $msn.get($cid,fullroom) $nick : $+ Used Profanity In Onjoin Prop
 sockwrite -tn msn.server. $+ $cid prop $msn.get($cid,fullroom) onjoin : test message
}

need some help with this... not sure whats wrong... doesnt work lol keep getting this error * Break: evaluation error (line 12, script5.mrc) line 12 is if ($ini(logs\prop.ini) isin $3-) { $propban }

<_<

look at the prop

 

 

raw PROP:*: {

 

will NOT return $msn.get($cid,fullroom) it will be something like $1 for the chan name

 

 

 

 

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

tired that , no luck though.. thankz.... but i changed some stuff around and switched from ini to text and it seems to be working, ill test it more and add it in the the addons section

 

 

eh stupid typos <wo0t>

Edited Oct 19, 2005 7:11 PM by Seph