Hello all, I've started to learn scripting recently, as it will fill a huge gap in my potential and let me start considering myself a 'hacker'. I've been reading HackMew's guide, the one attached to XSE (which is pretty nice, and I wonder why there are several tutorials out there, since that guide covers up several contents better than them), and so far I've reached the variable stage (not very advanced, and a slow reader, am I...), and that last part made me wonder: would variables be better in scripts than flags?
Let's leave out all the flags that are necessarily used (gym badges, etc), and have unused flags as well as unused variables in a debate.
Now, flags are more like a yes/no texbox, not shown of course, afaik.
Variables, on the other hand, have more functions that allow them to be more like an invisible multibox, but seem more complicated as well, mostly for a script that has only two options.
this debate now is about, which one do you use more? [provided there is a fixed amount of scripts]
Mm, I guess I still need to learn a few things before I state my personal opinion. But I guess more advanced people can state their own, since I'm so curious as to whether flags or variables are more useful in a script.
Cheers.
Let's leave out all the flags that are necessarily used (gym badges, etc), and have unused flags as well as unused variables in a debate.
Now, flags are more like a yes/no texbox, not shown of course, afaik.
Variables, on the other hand, have more functions that allow them to be more like an invisible multibox, but seem more complicated as well, mostly for a script that has only two options.
this debate now is about, which one do you use more? [provided there is a fixed amount of scripts]
Mm, I guess I still need to learn a few things before I state my personal opinion. But I guess more advanced people can state their own, since I'm so curious as to whether flags or variables are more useful in a script.
Cheers.