Jump to content
  • 0

HELP > clif_scriptmenu(sd, sd->bl.id, "yes:no");


namerpus18

Question


  • Group:  Members
  • Topic Count:  40
  • Topics Per Day:  0.07
  • Content Count:  102
  • Reputation:   5
  • Joined:  11/15/22
  • Last Seen:  

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:

 

Edited by namerpus18
  • Like 1
Link to comment
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...