tux3/LoE-PrivateServer — pull request #33 by Silvea12 (2014-04-01 01:56:54+00:00)
Title: Added a "tele" command

Added a "tele" server command, that takes 2 arguments, both of which are pony ids.
Syntax: tele [Pony ID to move] [Pony ID to move to]
If the destination pony is on a different map, the map will be loaded on the source peer, and will be teleported there.

Extra note: C++ isn't my native programming language, so if there are any optimizations that can be done here, feel free to modify them, and let me know. I am only just learning C++ myself! I usually use javascript (Node.JS is great), so I don't really work with pointers, fixed size and type variables, etc. This code here works great though.