JayPee Posted March 24, 2012 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 633 Reputation: 78 Joined: 11/14/11 Last Seen: September 20, 2017 Share Posted March 24, 2012 Script Name:Speed Pots Minigame Description: A simple speed pots minigame where each NPC will required you to talk to the other npc's and also the fourth NPC you will be talking to will give you the reward. For Example: I talked to Speed Gonzales and then it wants me to talk to Speedy Gonzalvo, Speedy Gonzalvo it wants me to talk to Speedy Gonzaga, Speedy Gonzaga itwants me to talk to Speedy Gambatte, since Speedy Gambatte is the fourth NPC, it will give you the speed pots. (Note: The NPC you will be talking to will assign to the following NPC's: Speedy Gonzaga/Gonzalvo/Gonzales/Gambatter randomly but not itself.) Version:1.0 Others Message: Sorry if the names sound stupid and my english too. //==================================================================================== //Script Name: Speed Pots Minigames //SVN: Tested in rAthena r156513 //Developed By: JayPee Mateo //Version: 1.0 //Description: Just a simple Speed Pots Minigame //==================================================================================== lighthalzen,235,313,4 script Speedy Gonzales 48,{ set .npcname$,"[speedy Gonzales]"; setarray .npclist$[0],"Speedy Gonzalvo","Speedy Gonzaga","Speedy Gambatte"; if(@speedpotstart == 0) set @speedpotstart,1; else if(@assignNPC$ == "Speedy Gonzales" ) set @speedpotstart,@speedpotstart+1; mes .npcname$; if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzales") { set @signedNPC$,"Speedy Gonzales"; set @assignNPC$,.npclist$[rand(0,2)]; mes "Go and see "+@assignNPC$; } else if(@speedpotstart>=4) { mes "Here you go!"; set @speedpotstart,0; set @signedNPC$,""; set @assignNPC$,""; getitem 12016,1; } else mes "Go and see "+@assignNPC$; close; } lighthalzen,260,129,3 script Speedy Gonzaga 69,{ set .npcname$,"[speedy Gonzaga]"; setarray .npclist$[0],"Speedy Gonzalvo","Speedy Gonzales","Speedy Gambatte"; if(@speedpotstart == 0) set @speedpotstart,1; else if(@assignNPC$ == "Speedy Gonzaga" )set @speedpotstart,@speedpotstart+1; mes .npcname$; if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzaga") { set @signedNPC$,"Speedy Gonzaga"; set @assignNPC$,.npclist$[rand(0,2)]; mes "Go and see "+@assignNPC$; } else if(@speedpotstart>=4) { mes "Here you go!"; set @speedpotstart,0; set @signedNPC$,""; set @assignNPC$,""; getitem 12016,1; } else mes "Go and see "+@assignNPC$; close; } lighthalzen,234,117,2 script Speedy Gonzalvo 50,{ set .npcname$,"[speedy Gonzalvo]"; setarray .npclist$[0],"Speedy Gonzaga","Speedy Gonzales","Speedy Gambatte"; if(@speedpotstart == 0) set @speedpotstart,1; else if(@assignNPC$ == "Speedy Gonzalvo" )set @speedpotstart,@speedpotstart+1; mes .npcname$; if(@speedpotstart<4 && @signedNPC$ != "Speedy Gonzalvo") { set @signedNPC$,"Speedy Gonzalvo"; set @assignNPC$,.npclist$[rand(0,2)]; mes "Go and see "+@assignNPC$; } else if(@speedpotstart>=4) { mes "Here you go!"; set @speedpotstart,0; set @signedNPC$,""; set @assignNPC$,""; getitem 12016,1; } else mes "Go and see "+@assignNPC$; close; } lighthalzen,35,282,1 script Speedy Gambatte 51,{ set .npcname$,"[speedy Gambatte]"; setarray .npclist$[0],"Speedy Gonzaga","Speedy Gonzales","Speedy Gonzalvo"; if(@speedpotstart == 0) set @speedpotstart,1; else if(@assignNPC$ == "Speedy Gambatte" )set @speedpotstart,@speedpotstart+1; mes .npcname$; if(@speedpotstart<4 && @signedNPC$ != "Speedy Gambatte") { set @signedNPC$,"Speedy Gambatte"; set @assignNPC$,.npclist$[rand(0,2)]; mes "Go and see "+@assignNPC$; } else if(@speedpotstart>=4) { mes "Here you go!"; set @speedpotstart,0; set @signedNPC$,""; set @assignNPC$,""; getitem 12016,1; } else mes "Go and see "+@assignNPC$; close; } 1 Quote Link to comment Share on other sites More sharing options...
Yummy Posted March 24, 2012 Group: Members Topic Count: 38 Topics Per Day: 0.01 Content Count: 236 Reputation: 12 Joined: 03/07/12 Last Seen: March 6 Share Posted March 24, 2012 Oh I know this Quote Link to comment Share on other sites More sharing options...
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.