Travis
Historical / Guest
Hey Vex, the deowner on the connection doesnt seem to work. Come to think of it, the old one didnt either. Anyways, I was trying to write a deowner code but cant figure out how to +q myself with your connection. Whats the code? Thanks
Ive tried pass %msn.qkey and $msn.roompas($msn.scn($3)) just poking around the connection.
Edited Feb 26, 2005 6:47 PM by Travis
Travis
Historical / Guest
Is this a really stupid question er sumthin???
On deowner I would need to access the passcode, not the one in the registry, but the last saved one. I cant figure out how to do that with this connection. I'll post my tries on here shortly.
you can use $msn.roompass($chan) or $msn.chan($chan).key
//pass $msn.roompass($chan)
//mode $me +h $msn.roompass($chan)
Edited Feb 27, 2005 3:11 PM by vexation
Travis
Historical / Guest
Thanks Vex, so much! Ok so here is what I made. Can someone do better?? Please show me.
#deowner on
on *:DEOWNER:#:{
if (@cg isin $address($$1,1)) { halt }
if ($opnick == $me) && ($nick != $me) {
//mode $me +h $msn.roompass($chan) $+ $crlf $+ access $active clear owner $+ $crlf $+ access $active add owner $ial($me).addr $+ $crlf $+ access $active add deny $address($nick,1) $crlf $+ KICK # $nick $+ $crlf $+ prop $active ownerkey LucasSage $+ $rand(1,9) $+ $rand(a,Z) $+ $rand(1,9) $+ $rand(a,Z) $+ `( $+ $time(h;nn;t) $+ )
}
}
I tried this by seperating all the commands and giving them their own line and it was a few seconds slower. I would like to knwow how to make it a sockwrite or sockread command though. Cheers!