font-size: 85%;
text-align: right;
}
+ .status {
+ color: #dd8;
+ }
+ .local.self {
+ color: #d8d;
+ }
+ .self {
+ color: #8d8;
+ }
+ .me {
+ color: #bbd;
+ }
.servercount {
margin-right: -0.5em;
font-size: 70%;
rcaddmessagetoUI({'Text': '-!- Your nick is already ' + rcnick(), 'ServerTimes': {}});
return;
}
- message = "*** " + rcnick() + " is now known as " + rest;
- rcsetnick(rest);
+ if (rest) {
+ message = "*** " + rcnick() + " is now known as " + rest;
+ rcsetnick(rest);
+ } else {
+ rcaddmessagetoUI({'Text': '-!- /nick requires an argument', 'ServerTimes': {}});
+ return;
+ }
} else {
rcaddmessagetoUI({'Text': '-!- No such command: ' + command, 'ServerTimes': {}});
return;