• Outside of punishment appeals, these forums have been archived.
    We hope to see you on our Discord instead!
    Discord has a minimum age, found here. You may need to wait, or ask a parent to handle tickets for you.
  • Hey! Register here to create your account, engage with the community, and talk about what is new!

How do you set a string to / without running a command?

DingusWaffle

New member
Joined
Dec 1, 2024
Messages
5
Reaction score
1
I'm making a system in DF that has to do with drop chances, the idea is that in the function you put a fraction for the drop chance of the item, such as 1/3 or 4/10. The issue is that in the code I can't set the splitter string to /, because it runs a command instead and gives me an error message, is there a way I can avoid this?
 
Top Bottom