home *** CD-ROM | disk | FTP | other *** search
- string _Word = AskInput("Hang - Man TurboIRC Game","Enter the hidden word :","")
- if (_Word == "")
- return
- endif
-
- if (FindStringPos(_Word," ") != -1)
- /message No spaces please !
- return
- endif
-
-
-
- staticstring GuessWord = strupr(_Word)
- staticint HangTries = 0
-
- int L = strlen(GuessWord)
- string S = sprintf("%i",L)
- DeleteFile(".\\HGWORD.INI")
- SetString("Word","Size",S,".\\HGWORD.INI")
-
-
-
- /display $channel ***WELCOME To TurboIRC Hang-Man Game !!***
- /display $channel ***you have 10 tries to guess the hidden word!!***
- /display $channel ***enter !letter and a letter to try to complete the word !!***
- /display $channel ***Example : !letter B***
- /display $channel ***enter !word and a word to try to guess the word !!***
- /display $channel ***Example : !word funny***
- /display $channel ***Total Letters in word : %L%***
- /_event HANGMANGAME 5 0 0 *
-
-