Why are using set for %pokemon and %chance also you don't need * in the event. and you can remove the halt and unset at lines 9 and 10.
Thanks, I removed the unset part. Not sure how to make it without the set %pokemon $read(pokeball.txt) though.
You can use var.
@Vegito : so how do you think is best :D
/set is the same as /var -g, making the variable global and allowing access to it by all scripts. Sometimes this is necessary, like with %time. /var, however, is used only be the script being called.
@Nos cause in his script there is no need for set only for %time he needs it.
Thanks, I removed the unset part. Not sure how to make it without the set %pokemon $read(pokeball.txt) though.