Pangaea commented on a Page, $nicks  -  Mar 29, 2012

hi brinxy, is there anyway to use this to write a list of nicks to a text file,, then if written to again delete the previous text or text file so it wont add nicks.

Im running a multiserver relay script and i want users from one chan on serverA to be able to for example !nicksB then get a list of all nicks in the other chan on serverB noticed to them. The trouble is both chans on either side of the relay have the same channel name.
Can you think of a way this is possible?

so if someone from #chan on serverA types !nicksB, bot will check and write list of all nicks from #chan on serverB into bnicks.txt .. then will notice bnicks.txt to that person.

If someone from #chan on serverB types !nicksA, not will check and write list of all nicks from #chan on serverA into anicks.tct then subsequently notice the person.

Is this even possible since the 2 chans are named the same? will it list all nicks in both chans, or only in the target chan of the command.

any thoughts/advice?

regards
pan

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.