prontera,150,150,5 script Testing01 100,{
mes "Some text here...";
next;
switch( select( "Show current list", "Create/Add menu", "Cancel" ) ) {
case 1:
mes "This show current list of menu";
/* In this part of script will be switch( select( LIST OF CURRENT MENU )) */
close;
case 2:
mes "Please, input name of your menu";
input .@input_name$;
set .@my_menu$, .@input_name$;
/* Store .@input_name$ in NPC Memory */
close;
case 3:
close;
}
}
/* So, when player create .@input_menu$, its store in NPC memory. Then, when he click on "Show current list" he see just created menu .@input_name$. Another player also can see menu .@input_name$ in list what was created by another player. */
Dear Scripting Community, i need you help in unrelesed script.
I will try to explane what my script must do:
1. Player start speaking with NPC, example Testing01
2. Player shows menu: "Current Menu List", "Create/Add Menu", "Cancel"
3. Player click on "Current Menu List", its empty because no one create menu
4. Then player click on "Create/Add Menu" and create one menu (only one menu player can create), for example "Test", maximum 10 custom menus
5. Then player click on "Current Menu List" and see only 1 created menu "Test"
6. Another player start speak with this NPC and he also see in "Current Menu List" menu "Test"
Question
Phenomena
Dear Scripting Community, i need you help in unrelesed script.
I will try to explane what my script must do:
1. Player start speaking with NPC, example Testing01
2. Player shows menu: "Current Menu List", "Create/Add Menu", "Cancel"
3. Player click on "Current Menu List", its empty because no one create menu
4. Then player click on "Create/Add Menu" and create one menu (only one menu player can create), for example "Test", maximum 10 custom menus
5. Then player click on "Current Menu List" and see only 1 created menu "Test"
6. Another player start speak with this NPC and he also see in "Current Menu List" menu "Test"
In script like this:
Link to comment
Share on other sites
3 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.