Jump to content
SubSpace Forum Network

Recommended Posts

Posted

There is an error on MERVBot's wikipedia (Link) It loads the page just like normal but when you try to look at the codes it used to show you oly see this:

 

Player Commands - (command.cpp)
This section describes how to implement player commands into your plugin. Commands are sent to the botInfo::gotCommand function in command.cpp. 

Example (makes bot reply to !test with "hi"): 
NaodW29-pre3ce77d56355b754c00000004

How to have commands with numerical parameters
Example (!test #): 
NaodW29-pre3ce77d56355b754c00000005 

How to have player name as input
Example (!rank player): 
NaodW29-pre3ce77d56355b754c00000006

How to have multi-parameter input
Use the CRT function sscanf() to scan the string for the values. 

Example (!squads squadA vs squadB or !squads teamA:squadA:teamB:squadB): 
NaodW29-pre3ce77d56355b754c00000007 

Help Menu
When a player sends !help to the bot, MERVBot calls botInfo::gotHelp() in each plugin loaded. 
NaodW29-pre3ce77d56355b754c00000008

 

NaodW29-pre3ce77d56355b754c0000000#

should be the code which it normaly used to display.....

 

is this me or is it the site?

(other people got the same problem to, so i guess its wiki)

Posted
First, that's not wikipedia. Second there's a notice on the wiki's front page explaining this. Only MGB never figured out how to automatically place messages at the top of every page (probably done by editing the theme).
Guest
This topic is now closed to further replies.
×
×
  • Create New...