The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades.
×
- 0
HELP > clif_scriptmenu(sd, sd->bl.id, "yes:no");
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
namerpus18
Hello everyone,
Can i ask for help how i can do "if conditions or switch maybe, the option is yes or no only." I cannot find a reference anywhere, I am new in source coding and I know it is more technical than simple buildin function script but i hope to learn more into source coding. thank you so much.
I found 1 reference
clif_scriptmenu(sd, sd->bl.id, "yes:no"); //if select "yes" do {.....} //else if "no" do {.....} //else do {.....} OR switch(select) case "yes": case "no": default:
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.