Code: https://github.com/IceKirby/po-server-goodies/blob/patch-36/scripts/safari.js It uses the Hangman script as a base, so other than loading the plugin it only requires a 'safaribot' (I use Tauros) and it's good to go. A server plugin I made with the idea "making a script that uses the Pokémon sprites built in the client". A contest starts every 30 minutes. During a contest, wild Pokémon may suddenly appear in the channel's chat, and players can use a Safari Ball to catch it. It's basically a game about catching Pokémon and forming your own collection. There are also other mechanics like being able to sell a Pokémon you caught, buying more Poké Balls, trading Pokémon with another player and gaining a small amount of money and balls for logging in daily (kind of a resource management game). Obviously, I would like to see this on the main server, but even if it's not used I still accept suggestions and feedback.
I thought I had to just add safaribot to the config in the main script. Got it working after seeing the errors in Indigo Plateau. Just place this near top of script if others struggle to use it. Code (JavaScript): var safaribot = { sendMessage: function (src, message, channelId) { sys.sendMessage(src, "±SafariBot: " + message, channelId); return; }, sendAll: function (message, channelId) { sys.sendAll("±SafariBot: " + message, channelId); return; } }; I think best method would be just using Config.safaribot for bot name though. This maybe a fun to have on main. Maybe for improvement add the number of balls that the player has got left after using a certain type of that ball and add the delay in seconds left till they can throw again. I gotta say great work, mate. Edit: Maybe add how much money the player has when viewing /buy too.
You can also just Ctrl+F for hangbot in script.js and use the same method :x EDIT: Suggestions implemented.
Shop wasn't implemented until later. If you're using the link up there then it's outdated, use the current Safari script running on the server.