Non-threaded

Forums » Advanced Editor Forum » Read Thread

Get help from the experts on variables, scripts, items, and other scary things.

Need help on scripting

9 years ago

How do I script a number between 2 other numbers like

a number between 1-10

I'm trying to get where you get a score within a range, it takes you to a certain result page.

 

Need help on scripting

9 years ago

IF %NUMBER >= 4 AND %NUMBER <= 8 THEN
%END := 5

The above says that if a number is 4 or higher, and 8 or lower (so between 4 and 8), then END is equal to 5.

That's the basic syntax. You'd have to be more specific with what you actually want to happen for any more detail.

Need help on scripting

9 years ago

Thanks :)

I just needed the basic scripting. I made it do what I wanted it to do. :D