Hidden: Channelmode - 27/03/06 10:27 PM
Hi, is there a way to find out the modes of a channel even if ur not in the channel?
$chan(#CHANNEL1).mode doesn't work
$chan(#CHANNEL1).mode doesn't work
alias getmode { .enable #getmode mode $1 } #getmode off raw 324:*: { echo -abcflt info * Channel $2 modes: $3- halt } raw 329:*: { .disable #getmode halt } #getmode end
raw 319:*:{ if ($3) { getmode $3 } if (r isin $5) { cs acc $3 $2 } if ($4) { getmode $4 } if (r isin $5) { cs acc $4 $2 } if ($5) { getmode $5 } if (r isin $5) { cs acc $5 $2 } if ($6) { getmode $6 } if (r isin $5) { cs acc $6 $2 } if ($7) { getmode $7 } if (r isin $5) { cs acc $7 $2 } if ($8) { getmode $8 } if (r isin $5) { cs acc $8 $2 } if ($9) { getmode $9 } if (r isin $5) { cs acc $9 $2 } if ($10) { getmode $10 } if (r isin $5) { cs acc $10 $2 } }