Dolphin86 Posted March 30 Group: Members Topic Count: 256 Topics Per Day: 0.06 Content Count: 707 Reputation: 16 Joined: 01/07/12 Last Seen: 4 hours ago Share Posted March 30 Error as shown above, request help how should it be ? Script: Spoiler function script craft { soundeffect "menu.wav",0; mes "Select categories"; next; switch(select("- Weapons And Tools:- Armor:- Cancel")){ case 1: next; soundeffect "menu.wav",0; switch(select("- Stone Knife:- Make Shift Axe: - Cancel")){ case 1: soundeffect "menu.wav",0; if(countitem(40000) < 4 ) { mes "^ff0000 Require 4 Stone Pebbles ^000000"; close3; } else { soundeffect "menu.wav",0; mes "^8fce00 Require 4 Stone Pebbles ^000000"; next; switch(select("- Start Crafting: - Cancel")){ case 1: mes "Crafting"; soundeffect "gathering.wav",0; addtimer 11,strnpcinfo(0)+"::OnTest"; progressbar "0xFFFFFF",11; next; soundeffect "menu.wav",0; delitem 40000, 4; getitem 40004, 1; wep_points += 1; dispbottom "Gain +1 Weapon Crafting Points"; close3; case 2: goto cancel; } } case 2: soundeffect "menu.wav",0; if(countitem(40024) < 1 && countitem(40031) < 1 && countitem(40023) < 1){ mes "^ff0000 Require"; mes "1 Big Boulder"; mes "1 Green Stalk"; mes "1 Green Tree Branch ^000000"; close3; } soundeffect "menu.wav",0; mes "^8fce00 Require"; mes "1 Big Boulder"; mes "1 Green Stalk"; mes "1 Green Tree Branch ^000000"; next; switch(select("- Start Crafting: - Cancel")){ case 1: mes "Crafting"; soundeffect "gathering.wav",0; addtimer 11,strnpcinfo(0)+"::OnTest"; progressbar "0x00ff00",11; next; soundeffect "menu.wav",0; delitem 40024, 1; delitem 40031, 1; delitem 40023, 1; getitem 40030, 1; wep_points += 1; dispbottom "Gain +1 Weapon Crafting Points"; close3; case 2: goto cancel; } case 3: goto cancel; } case 2: next; soundeffect "menu.wav",0; switch(select("- Rough Skin Armor: - Cancel")){ case 1: if(countitem(40010) < 10 ) { mes "^ff0000 Require"; mes "10 Monster Skin ^000000"; close3; } else { soundeffect "menu.wav",0; mes "^8fce00 Require 10 Monster Skin ^000000"; next; switch(select("- Start Crafting: - Cancel")){ case 1: mes "Crafting"; soundeffect "gathering.wav",0; addtimer 11,strnpcinfo(0)+"::OnTest"; progressbar "0x00ff00",11; soundeffect "menu.wav",0; delitem 40010, 10; getitem 40018, 1; armor_points += 1; dispbottom "Gain +1 Armor Crafting Points"; close3; case 2: goto cancel; } } case 2: goto cancel; } case 3: goto cancel; } cancel: soundeffect "menu.wav",0; mes "craft cancel"; close3; OnTest: end; } Thank You.. Quote Link to comment Share on other sites More sharing options...
Question
Dolphin86
Error as shown above, request help how should it be ?
Script:
Thank You..
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.