Aliases

These are old archives. They are kept for historic purposes only.
Post Reply
Hmm
Posts: 4
Joined: Fri Apr 16, 2004 3:43 am

Aliases

Post by Hmm »

Hello,

I have looked over the faq and i have read the unrealircd.conf file. But i dont get how to set an alias. I have tried everything(i think) and it doesnt work. I want it so i can type /services<nick,chan,oper,bot,host,ect> instead of /msg services because i hate the msg part. Does anyone know how to do this? And if so can you please tell me?
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

first off LOL AT YOU! you didn't look very hard. Anywho...

http://www.vulnscan.org/UnrealIrcd/unre ... aliasblock

also there are pre-written files in Unreal3.2/aliases/

make sure that after you include the file or blocks you rehash the server.
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Ron2K

Post by Ron2K »

:lol:
Hmm
Posts: 4
Joined: Fri Apr 16, 2004 3:43 am

Post by Hmm »

actually LOL AT YOU because i did read there. and i dont get how to do it. My code was
alias /Nickserv;
nick Nickserv;
type nickserv;
};

is my code. should it be
alias Nickserv;
nick /Nickserv;
type nickserv;
};
to point to nickserv? i dont get it.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

Ok, well none of the examples mention using a "/" anywhere, and the reason is, you shouldn't. IRC doesn't prefix the commands with a slash, the IRC client does that.
-- codemastr
Hmm
Posts: 4
Joined: Fri Apr 16, 2004 3:43 am

Post by Hmm »

so the code to beable to type /nickserv instead of /msg nickserv(services) is

alias Nickserv;
nick Nickserv;
type nickserv;
};

?????????????????? or is that code not right?
AngryWolf
Posts: 554
Joined: Sat Mar 06, 2004 10:53 am
Location: Hungary
Contact:

Post by AngryWolf »

Are you that lazy to read the description of the alias block? You have a syntax error in the first line, and "nickserv" is a non-supported type.
Hmm
Posts: 4
Joined: Fri Apr 16, 2004 3:43 am

Post by Hmm »

OMG If someone tells me to go read that thing again im gonna sream. I ALREADY DID. I DO NOT GET IT. AND sense you know the code. why dont you tell me please instead of pointing me somewhere. I read that and all the docs in the download I DONT GET IT. so if someone would be so kind to just post the code to do it or EXPLAIN and post the code to where a stupid n00b would get it i would appreciate it thanx.
codemastr
Former UnrealIRCd head coder
Posts: 811
Joined: Sat Mar 06, 2004 8:47 pm
Location: United States
Contact:

Post by codemastr »

If you read it, and what you typed there is what you think it said, either you should seek medical attention, because you have a vision disorder, or you didn't read it close enough.
AND sense you know the code. why dont you tell me please instead of pointing me somewhere
Perhaps you've never heard the saying, "Give a man a fish, feed him for a day; teach a man to fish, feed him for a lifetime."

If we tell you how to do this, it solves this one problem. But what about the next time you have a similar question? We'll have to explain it to you yet again. We don't want to have to do that. Furthermore, we are not Human documentation machines. We help when the docs do not answer the questions. Your question is very clearly answered in the documentation. Lets look, shall we?
Section 4.31:
alias <name> {
nick <nick-to-forward-to>;
type <type-of-alias>;
};

The alias::type specifies the type of alias, valid types are services (the user is on the services server), stats (the user is on the stats server), and normal (the user is a normal user on any server).

Your attempts:
alias /Nickserv;
nick Nickserv;
type nickserv;
};

alias Nickserv;
nick /Nickserv;
type nickserv;
};

alias Nickserv;
nick Nickserv;
type nickserv;
};
#1.) Do you see it showing a ; on the alias <name> line? I sure don't. So why did you add it?

#2.) See how the line is called "nick <nick-to-forward-to>" so why would you enter /nickserv? Don't you want to forward to the nickname "nickserv" not "/nickserv"?

#3.) See how it says valid types are services, stats, and normal. Why did you decide that means the type should be nickserv?

Not a single thing about your block is correct. That is why we told you to go to the docs. Because in our minds, you can't possibly be so stupid that you read the docs and did _EVERYTHING_ wrong. And if you are, then perhaps Unreal isn't for you.

This is the one and only time you will receive help for something in the documentation. Next time the thread will just be closed.
-- codemastr
jewles
Posts: 263
Joined: Thu Mar 11, 2004 7:41 pm
Location: Herndon, VA

Post by jewles »

To Hmm:LoL, well first off to your smirk response towards the information I originally sent you is a good enough reason to deny you help.
actually LOL AT YOU because I did read there.
1. We aren't here to teach you with information that is extremely well documented. (Even more so when a number of people send you the same information)
2. For future references... It would be in your best interest to try "SLOWING DOWN" and absorbing the information given to you.
FBSD-DEV Project
http://www.fbsd-dev.org

YatesDev Hosting
http://www.yatesdev.com

The Wrong Way
http://www.thewrongway.net
Ron2K

Post by Ron2K »

I have to wonder - why didn't he just use the pre-written blocks?
Post Reply