/******* INSTALLATION *******/
Drag and drop hangman.php to the MBot console... Restart Miranda IM... That's it!
You may edit the words file:
mbotgames_hangman_sys_words.txt
This file must be copied to mbot directory!
You can add as much words as you want.
You can also add senteces.
You must extract files like this:
mbotscriptsautoloadhangman.php
mbotgames_hangman_sys_words.txt
The STATS are saved to:
mbotgames_hangman_sys_stats.txt
/******* HOW TO PLAY *******/
The default commands are listed below. You can change these commands on the configuration in hangman.php
This must be typed and sent to the contact you want to start the game with.
This message WILL NOT be really sent to the contact. It will just be sent to MBot.
From version 0.3, commands and characters are case insensitive.
Also, these characters are considered the same:
a == Ã*,á,â,ã,ä,Ã¥
e == è,é,ê,ë
i == ì,Ã*,î,ï
o == ò,ó,ô,õ,ö,ø
u == ù,ú,û,ü
From version 0.3.1 both Windows (\r\n) and UNIX (\n) type wordlists are suported.
##############################
These can only be sent by you:
##############################
To quit all games in progress, type in any message window:
quit hangman all
To start a new game with a custom word, type:
play hangman write down your custom word or phrase
###############################################
These can be either be sent or received by you:
###############################################
To start a new game with a random word from the words file, type:
play hangman
##################################
These can only be received by you:
##################################
To guess a letter type:
letter x
(where 'x' is the letter you'd like to guess)
If you think you've guessed the word, type:
word caca
(where 'caca' is the word you'd like to guess)
To quit the game, type:
quit hangman
To start a new game while already been in a game, type:
play hangman new
/******* CONFIGURATION *******/
These are the only lines you should edit.
Change these values to either "true" or "false".
You may change these lines on hangman.php file, not here!
//Save outgoing Hangman's messages on history.
define("save_outgoing_message",false);
//Save incoming Hangman's messages on history.
define("save_incoming_message",true);
//This can only be set to true if the save_incoming_message is also set to true.
//This will mark the message as read so you won't see the blinking message icon on your contact list and the message window won't popup.
define("mark_message_as_read",false);
//Show PopUp's when someone is playing.
define("show_popup",true);
//Maximum number of times someone can miss a letter.
define("max_number_of_guesses",6);
/* THESE ARE THE GAME'S COMMANDS */
//The word before trying to guess letter
define("pre_letter","letter ");
//The word before trying to guess the whole word
define("pre_word","word ");
//The command to start a new game. You can either receive this message or send it to someone. The other person won't see when you send this.
//To send your own custom word (not from the words file), type (for example): play hangman Your Own Custom Word
define("start_game","play hangman");
//This has to be written after the start_game command when there is already a game in process, like this (for example): play hangman new
define("new_game"," new");
//The command to quit a game.
define("quit_game","quit hangman");
//The command to quit ALL games.
define("quit_game_all","quit hangman all");
--------------------
View this script in the File Listing
--------------------
Please post all your questions about MBot Hangman Game here.

Reply With Quote

Bookmarks