Okay, i reached a new step which offers too many questions.

Here they go:
- After declaring a alias, i can use it by using its name like this:
var %totalNumberOfGuesses = lookUpNbrOfGuesses (lookUpNbrOfGuesses is an alias)
Is this correct or do i have to use $lookUp...?

- All read and writeini commands need a $ in front, correct?

- This: "/timer 1 300 endbetting " will start a timer, which executes the "endbetting" alias after 300 seconds, correct?

- This code will return Number saved as currentCount in the section Guesscounter in the file Guesses.ini:
Code:
alias -l lookUpNbrOfGuesses {
  return $readini(Guesses.ini, Guesscounter, currentCount)
}


- There is no debugger or any comparable help with writing those scripts, right? Not even a Syntax Checker.



Those were my main questions. In addition, if there's anyone who got 5-15 minutes of time, i would appreciate any help, because it seems like my code is filled with mistakes.
If you want to point out errors to me, here it is in it's full glory:
Full Guessing Script

best regards
Squirrelthroat