mIRC Home    About    Download    Register    News    Help

Print Thread
#179982 01/07/07 04:20 PM
Joined: Jul 2006
Posts: 14
P
Pikka bird
OP Offline
Pikka bird
P
Joined: Jul 2006
Posts: 14
Hello.

i have a script like that that use a custom windows which is @join :

on 1:JOIN:#:{
(...)
if ( xxxxxx isin $chan) /iline 13 @JOIN 1 $nick JOIN $chan
(..)



in the file join.txt i have :

test $left($sline(@JOIN,$sline(@JOIN,N).ln),$calc($pos($sline(@JOIN,$sline(@JOIN,N).ln),JOIN,1)-2)) : {
/set %pseudo $left($sline(@JOIN,$sline(@JOIN,N).ln),$calc($pos($sline(@JOIN,$sline(@JOIN,N).ln),JOIN,1)-2))
/set %channel $sline(@JOIN,$sline(@JOIN,N).ln)

/msg %pseudo test
}




But i want to send the /msg to %pseudo only if %pseudo is not operator in any of the channels in wich he is.

Do you know how i can test that ?

Thank you

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
uhum, u making a spam script?

Quote:
But i want to send the /msg to %pseudo only if %pseudo is not operator in any of the channels in wich he is.


sounds like you are affraid to be kicked?


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard