Skip to content
MSN Addons

Help Needed!

A TG007 community discussion started by Statik.

Discussion 3 posts
Page 1 of 1
Open
Topic #851 · 3 published posts · 662 views

Hey people i am writing my own IRC Server in mIRC and i want to know how i can make a /list command that shows all the rooms in rooms.txt.

 

Help would be appreciated and you will be added into the credits woot_jump.gif

 

thanks,

 

~ Regards, Statik.

you can not write a server in mirc , mirc is for conecting to a server

My code does NOT have bugs. It just develops random features.

alias sendlist {
 var %sl = 1
 while (%sl <= $lines($shortfn(channellist.txt))) {
   sockwrite -n <socket connection to client> 322 <nickname of client> $read($shortfn(channellist.txt)),%sl)
   inc %sl
 }
}

 

that might work.. each line in your channel list file has to be like this:

 

#channel <num. of users> :[+modes] <topic>

for example..

#chatroom 15 :[+ntl 50] welcome to #chatroom

 

altho i have no actual idea if that will work. and as ozzy said, altho mIRC does allow you to do some fairly advanced programming-like stuff, it's purpose is for custom IRC clients, not servers.

Edited Jul 10, 2004 10:54 PM by vexation

bfush.PNG