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