hi,
I need some help with this.
The thing is this:

if botmasters query the bot and ask for help using the command .help it reads a peace of the txt file.
then when botmaster type .help game it plays the part of the game from the txt file
but when botmasters type .help game trivia it plays the game AND the trivia part.
That makes sense because $2 = game and $3 = trivia.
Because $2 and $3 is given in the command it plays both parts
But i want only the trivia part to play.
how do i do that still using the .help game trivia command?
here's the code
Code:
 on 1600:text:*help*:?:{
  if ($1 == %c $+ help) {
   if ($2 == game) { /play -tgame $nick txt\EigenaarHelp.txt 250 }
   if ($3 == trivia) { /play -ttrivia $nick txt\EigenaarHelp.txt 250 }
  else { /play -twelkom $nick txt\EigenaarHelp.txt 250 }
  else { /msg $nick onbekend commando }
}
}
 

Last edited by Bullseye; 13/12/05 08:51 PM.