Vegito commented on a Page, pokeball script (Basic)  -  Apr 11, 2014

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.

Akumu  -  Apr 11, 2014

Thanks, I removed the unset part. Not sure how to make it without the set %pokemon $read(pokeball.txt) though.

Vegito  -  Apr 11, 2014

You can use var.

Nos  -  Apr 11, 2014

@Vegito : so how do you think is best :D

Arigateaux  -  Apr 11, 2014

/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.

Vegito  -  Apr 15, 2014

@Nos cause in his script there is no need for set only for %time he needs it.

Sign in to comment

Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.