Skip to content
MSN Addons

Group Managers / Assistant Managers

A TG007 community discussion started by nyt1972.

Discussion 4 posts
Page 1 of 1
Open
Topic #4769 · 4 published posts · 924 views

Hello Guys,

 

I want a code to show the group managers/assistant managers when suppose I type the command @managers.

 

 

If you mean you want your script to veiw the group site and work out who the managers are, i think your asking a bit much.

What you could do however is list the managers in a text file and just get the script to read it out.

Or you could even just put it in a remote command code

on *:text:@managers:#: {
msg $chan The managers of this group are....
Manager 1
Manager 2 ect
}

I think the closest you can get with a script (without sockets) is for it to say which managers are currently in the chatroom:

on admin:text:@managers:#:{ 
 var %a = 1
 while ($nick(#,%a,o)) { var %n = $+(%n,$chr(44),$chr(32)) | inc %a }
 msg # The current managers & asst. managers in the channel are: $left(%n,-1)
}

 

How can I do it with sockets etc. to get the list from the group site.