-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChatChannels_ChatRecieve
92 lines (91 loc) · 3.9 KB
/
ChatChannels_ChatRecieve
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
if(Channel==1){
if(dsClk("Chat1")){
printColor(vec(0,255,0),"[Channel 1] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==2){
if(dsClk("Chat2")){
printColor(vec(0,255,0),"[Channel 2] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==3){
if(dsClk("Chat3")){
printColor(vec(0,255,0),"[Channel 3] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==4){
if(dsClk("Chat4")){
printColor(vec(0,255,0),"[Channel 4] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==5){
if(dsClk("Chat5")){
printColor(vec(0,255,0),"[Channel 5] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==6){
if(dsClk("Chat1")){
printColor(vec(0,255,0),"[Channel 1] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("Chat2")){
printColor(vec(0,255,0),"[Channel 2] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("Chat3")){
printColor(vec(0,255,0),"[Channel 3] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("Chat4")){
printColor(vec(0,255,0),"[Channel 4] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("Chat5")){
printColor(vec(0,255,0),"[Channel 5] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")) {
printColor(vec(255,0,0),"[ChatAdmin] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==7){
if(dsClk("PChat1")){
printColor(vec(0,255,0),"[Private Channel 1] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==8){
if(dsClk("PChat2")){
printColor(vec(0,255,0),"[Private Channel 2] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==9){
if(dsClk("PChat3")){
printColor(vec(0,255,0),"[Private Channel 3] ",vec(0,0,255),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==10){
if(dsClk("RChat")){
printColor(vec(255,0,0),"[Red] ",vec(0,255,0),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(255,0,0),"[RVB Moderator] ",vec(0,255,0),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}
if(Channel==11){
if(dsClk("BChat")){
printColor(vec(0,0,255),"[Blue] ",vec(0,255,0),""+dsGetSender():owner():name()+": ",vec(255,255,255),””+dsGetString())
}
if(dsClk("ChatAdmin")){
printColor(vec(0,0,255),"[RVB Moderator] ",vec(0,255,0),""+dsGetSender():owner():name()+": ",vec(255,255,255),""+dsGetString())
}
}