Commands

From OnlineGamesNetWiki
Jump to: navigation, search

Introduction

The commands have to be entered with a / in front (standard). All these commands are basic IRC Commands. They are interpreted by the server and your client will get an answer to this command.

Basic IRC-Commands

  • JOIN [channel,channel2,channel3,...] [password,password2,password3,...]
    • This is one of the commands most used on IRC. You can use it to join a channel and you'll get all messages which are sent into those channels. You can also speak to the people who are in these channels. Most of the clients open a new window for this room. If a password is set for the channel (mode +k), you also have to enter the password. You see in the syntax that password2 is for channel2 etc.
  • PART [channel,channel2,channel3,...] [reason]
    • This command is also used most often but with most of the IRC-clients you don't notice it. With this command you can leave a channel. If you close a channel on a client, the client sends a PART-message to the server. If you are going to leave more than one channel you CAN'T give different reasons. The reason will always be the same.
  • QUIT [reason]
    • With this command you are leaving an IRC-network. Your reason will be shown in the IRC. From that moment on no more messages can be received or sent. If you close your client, a QUIT-message will automatically be sent to the server.
@nick (nick@Account.user.OnlineGamesNet) Quit (Quit: Here is my Quit-msg)
  • NICK [newnick]
    • With this command you change your nick to "newnick". You can't change it as often as you want in a short time. After a short break it's possible again.

User concerning Commands

  • PRIVMSG [target,target2,target3,...] [message]
    • With this command you send a normal message to a target. The target can be a nick or a #channel.
  • NOTICE [target,target2,target3,...] [message]
    • With this command you send a notice to a target. With most of the clients the one who gets the notice will hear a sound. WARNING: If the message didn´t reach the target, unlike with PRIVMSG, you will NOT GET ANY information about it. The target can be a nick or a #channel.
  • WHOIS [server] [nickmask]
    • With this command you'll get more information about a nick. The nickmask can be a nick or a mask (with wildcards). In case of the 2nd example you'll get the information about all nicks, which apply to the given mask. If you add the server you'll get further information, for example the idle-time. Instead of server you can also add a nick. (/whois nick nick). The IRCd will take as server the server, on which the given nick is. (the 1st nick)
  • WHOWAS [nick]
    • With this command you will get further information about a nick, who left the network a short time before. This information only contains the nick, the ident, the host, the realname, and if applicable the server.

Channel concerning Commands

  • MODE #channel [modes] [limit] | user [user...]] [banmask ][banmask...]]
    • This is the command to change modes of a channel. Without any parameters the actual modes will be shown. For this you don't need to be an OP but you have to be in the channel. To change modes you have to be an OP. With this command you are able to change your usermodes as well. For your current usermodes just enter /mode [yournick]. To change it /MODE [yournick] [modes]. You are only able to change your own usermodes.
  • TOPIC [channel] [topic]
    • This command changes the topic of a channel. Without any parameters the current topic will be shown. You don't need to be an OP to see the current topic. But usually you have to be an OP to change a topic, because usually OnlyOpsSetTopic (mode +t) is set. With parameters the topic of a channel can be changed.
  • KICK [channel] [nick]
    • This command kicks a user out of a channel. You have to be OP to use it. But many clients have an AutoRejoin-function. For this reason a short ban (mode +b) is the safest way in most of the cases.
  • INVITE [nick] [channel]
    • With this command you can invite someone to your channel. The invited nick can override bans, the limit and the InviteOnly. You have to be OP to use this command.
  • LIST [search term]
    • With this command you get a list of all channels on the server, which are not secret (mode +s). You can also add a specified word and a wildcard.
  • NAMES [channel]
    • This command shows all users who are currently in a channel. If you're not in this channel you will see only users, who are not invisible (usermode +i). In addition it will be shown, if a user has OP(@) or voice(+).