mirror of
https://github.com/danbulant/flying-squid
synced 2026-06-24 17:21:43 +00:00
ping!
This commit is contained in:
parent
0f5ce49610
commit
75f974ecc8
1 changed files with 14 additions and 0 deletions
|
|
@ -288,6 +288,20 @@ base.add({
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
base.add({
|
||||||
|
base: 'ping',
|
||||||
|
info: 'for pong!',
|
||||||
|
usage: '/ping [number]',
|
||||||
|
action(params, serv, player) {
|
||||||
|
var num = params[0] * 1 + 1;
|
||||||
|
|
||||||
|
var str = 'pong';
|
||||||
|
if(!isNaN(num)) str += ' [' + num + ']';
|
||||||
|
|
||||||
|
player.chat(str + '!');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
base.add({
|
base.add({
|
||||||
base: 'night',
|
base: 'night',
|
||||||
info: 'for change a time to night',
|
info: 'for change a time to night',
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue