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 ![]()
thanks,
~ Regards, Statik.
A TG007 community discussion started by Statik.
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 ![]()
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.
Sign in to reply or start a new topic where your account has permission.