-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathirc.dms
More file actions
127 lines (90 loc) · 3.47 KB
/
irc.dms
File metadata and controls
127 lines (90 loc) · 3.47 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*IRC command aliases
author: Dan of Dantom
email: dantom@dantom.com
date: 4-May-2000
This script is automatically executed when connecting to an IRC world
unless you are using another script already. You can include this script
in another one by inserting #include<irc.dms> at the top of your file.
*/
//TODO: define a default URL
//define the terminal style
<STYLE>
.irc {color: aqua}
</STYLE>
alias
admin(server as null)
set desc = "([server]) Prints administrative information about an IRC server."
away(message as null|text)
set desc = "(message) Mark yourself as being away (or inform of your return)."
return "AWAY :[message]"
bye()
set desc = "Logout from the IRC server."
return "QUIT"
channel(channel)
set desc = "(channel) Join a channel."
return "JOIN [channel]"
date(server as null)
set desc = "([server]) Print the date and time local to the server."
return "TIME"
exit()
set desc = "Logout from the IRC server."
return "QUIT"
info()
set desc = "Print some information about IRC."
invite(channel,nickname)
set desc = "Invite a user to join your channel."
join(channel)
set desc = "(channel) Join a channel."
JOIN(channel)
set desc = "(channel) Join a channel."
set hidden = 1
kick(channel,user,comment as null|text)
set desc = "(channel,user,[comment]) Kick a user off your channel."
return "KICK [channel] [user] :[comment]"
links(pattern as null,server as null)
set desc = "([pattern],[server]) List all active links matching a patter."
list()
set desc = "List all active channels and their topics."
lusers()
set desc = "Show the number of people and servers connected to the IRC network."
//The MSG command is translated by the BYOND client into PRIVMSG <channel_list> :message
msg(message as text)
MSG(message as text)
set hidden = 1
privmsg(nicknames,message as text)
set desc = "(nicknames,message) Send a private message."
return "PRIVMSG [nicknames] :[message]"
mode(channel,flags,maxusers as null)
set desc = "(channel,flags,maximum users) Flags begin with + (on) or - (off) and any of (m)oderated, (s)ecret, (p)rivate, (l)imited, (t)opiclimited, (a)nonymous (o)per, (i)nviteonly."
motd(server as null)
set desc = "([server]) Get message-of-today from a server."
names(channel as null)
set desc = "([channel]) List nicknames of users on a channel."
nick(nickname)
set desc = "(nickname) Change your nickname."
NICK(nickname)
set hidden = 1
set desc = "(nickname) Change your nickname."
quit()
set desc = "Logout from the IRC server."
signoff()
set desc = "Logout"
stats(line as null)
set desc = "(c|h|i|k|l|m|n|o|q|y) Shows various IRC server statistics."
summon(user,server as null)
set desc = "(user,[server]) Ask a user to enter IRC. They must be on a machine running a server."
time()
set desc = "([server]) Print the date and time local to the server."
topic(channel,topic as text|null)
set desc = "(channel,[topic]) Sets the topic for a channel."
return "TOPIC [channel] :[topic]"
users(host as null)
set desc = "([host]) List all users logged into a host (which must be running an IRC server)."
version(server as null)
set desc = "([server]) Prints the version number of an IRC server."
who(channel as null)
set desc = "([channel]) List all users on a channel."
whois(nickname)
set desc = "(nickname) Prints information about a user."
whowas(nickname,count as null,server as null)
set desc = "(nickname,[count],[server]) Print nickname history information."