Skip to content
MSN Addons

on da screen

A TG007 community discussion started by samooh_2003.

Discussion 5 posts
Page 1 of 1
Open
Topic #4311 · 5 published posts · 731 views

how can i show all rooms which i am in in the room that i wrote the command in it on da screen?

on ^*:TEXT:*!chan*:#:{ 
 var %a = $chan(0), %b = 0 
 while (%a > 0) { 
   if ($me isop $chan(%a)) inc %b $nick($chan(%a),0) 
   dec %a 
 } 
 msg $chan I am on $chan(0) channels and there are %b people in these channels
}

 

"Diplomacy is the art of saying 'Nice doggie' until you can find a rock".-Will Rogers

thnx mail but i am in many rooms but 'ts saying

 

I am on 1 channels and there are 10 people in these channels

 

not all chan or the name of that rooms

Edited Aug 3, 2005 3:29 AM by samooh_2003

alias allchans {
 var %a = 1
 while (%a <= $scid(0)) {
   scid $scon(%a)
   var %rooms = %rooms $chan(1)
   inc %a
 }
 scid $activecid
 msg $chan(1) i am in these rooms: %rooms
}

hope that's what you're after

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

thnx Nimbus03