mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-04 00:38:11 +00:00
Various changes.
This commit is contained in:
@@ -1,7 +1,14 @@
|
||||
require 'java'
|
||||
java_import 'org.apollo.game.model.Animation'
|
||||
java_import 'org.apollo.game.model.World'
|
||||
|
||||
SERVER_RELEASE = World.world.release_number
|
||||
|
||||
on :command, :hello do |player, command|
|
||||
player.play_animation Animation::WAVE
|
||||
player.send_message "Hello, World!"
|
||||
player.send_message("Hello, World!")
|
||||
end
|
||||
|
||||
on :command, :release do |player, command|
|
||||
player.send_message("This server is currently running the #{SERVER_RELEASE} release.")
|
||||
end
|
||||
Reference in New Issue
Block a user