I have the following code:

Code:
ON *:TEXT:*tip gamebot*:#:{ 
  if ($mnick != gamebot) { return } 
  set %chan $chan
  set %game $4
}
ON *:TEXT:*tipped gamebot*:#: { 
  if ($mnick != gamebot) { return } 
  if ($1 == gamebot) { halt }
  if ($nick == pointsbot) {
    set %player $1
    set %bet $4
    if ($4 > 500) { 
      if (%game == donate ) {
        /msg %chan Thank you %player for your donation!
        halt
      }
      msg $chan !tip %player %bet Sorry! I only accept 500 at a time MAX!
      halt 
    }
    %game
  }
}


note: at the %game area at bottom it goes to specified alias

But my problem is this works fantasticly BUT when two people try and play the games, it seems to bork and do whatever the last person chose....

Example:
Quote:

[19:48] <@happyfappy> !tip gamebot 83 dice
[19:48] <Player2> !tip gamebot 2 slots
[19:49] <+pointsbot> happyfappy tipped gamebot 83 points
[19:49] <@gamebot> happyfappy Your spin: ( BAR ) ( BAR ) ( BAR )
[19:49] <@gamebot> !tip happyfappy 249 WINNER WINNER!
[19:49] <+pointsbot> Player2 tipped gamebot 2 points
[19:49] <@gamebot> Player2 Your spin: ( Cherry ) ( Cherry ) ( FREE )
[19:49] <@gamebot> Player2 1 FREE PLAY credits added! (use !freespin)


how can I prevent this issue?

i've tried with .ini's but it seems to refuse to read them (i've checked they all match and they do but still wont read)

is there another way?