kitty14 Posted May 23, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Share Posted May 23, 2014 Hi i would like to request a script like this6 Stone NPC 1st stone npc: if you insert an item on this stone ex, red potion. the stone will be gone/like Onnpcdisable 2nd stone : orange potion 3rd stone: green potion 4th stone: white potion 5th stone: yellow potion and soon all stone will be gone a SPECIAL MVP monster will be summon , EX. DARK IFRITand if they kill dark ifrit all stone will be back or enable again Thank you.... Quote Link to comment Share on other sites More sharing options...
Skorm Posted May 25, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted May 25, 2014 Uhmmm Like. if player don't have the item in inventory so player would know what type on stone spirit they will insert? event_map,100,100,5 script Stone 1#501 406,{ .@item = atoi(strnpcinfo(2)); switch ( .@item ) { case 501: .@color$ = "^CC0000"; .@name$ = "Red Spirit"; break; case 502: .@color$ = "^3333FF"; .@name$ = "Blue Spirit"; break; case 503: .@color$ = "^FFFF00"; .@name$ = "Yellow Spirit"; break; case 504: .@color$ = "^009900"; .@name$ = "Green Spirit"; break; case 506: .@color$ = "^9900FF"; .@name$ = "Violet Spirit"; } mes "[ "+.@color$+"Ancient Stone of "+.@name$+"^000000 ]"; mes "Will you insert the "+.@color$+getitemname(.@item)+"^000000 and release the "+.@color$+.@name$+"^000000."; next; if( select("Insert!:Back down...") ) { if( !countitem(.@item) ) { mes "You insert a random rock found lying on the ground..."; sleep2(100); mes "..."; sleep2(100); mes "..."; sleep2(100); mes .@color$+"Foolish mortal!!!"; atcommand "@nuke "+strcharinfo(0)+""; close; } hideonnpc strnpcinfo(0); delitem .@item,1; .active++; if( .active >= .npc ) { mapannounce strnpcinfo(4),"Dark Infrit has been summoned",bc_map|bc_blue; monster "event_map",50,50,"Dark Infrit",2001,1,strnpcinfo(0)+"::OnMobDeath",2; } mes "( "+strnpcinfo(1)+" activated! )"; close; } mes .@color$+"You're not worthy!!!"; close; OnMobDeath: donpcevent("::OnStonesReactivate"); end; OnInit: .npc++; end; OnStonesReactivate: hideoffnpc strnpcinfo(0); .active = 0; } event_map,101,101,5 duplicate(Stone 1#501) Stone 2#502 406 event_map,102,102,5 duplicate(Stone 1#501) Stone 3#503 406 event_map,103,103,5 duplicate(Stone 1#501) Stone 4#504 406 event_map,104,104,5 duplicate(Stone 1#501) Stone 5#505 406 event_map,105,105,5 duplicate(Stone 1#501) Stone 6#506 406 1 Quote Link to comment Share on other sites More sharing options...
Skorm Posted May 23, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted May 23, 2014 event_map,100,100,5 script Stone 1#501 406,{ .@item = atoi(strnpcinfo(2)); if( !countitem(.@item) ) end; npctalk "GRAAAAHHHH!!!"; hideonnpc strnpcinfo(0); delitem .@item,1; .active++; if( .active >= .npc ) monster "event_map",50,50,"Dark Infrit",2001,1,strnpcinfo(0)+"::OnMobDeath",2; end; OnMobDeath: donpcevent("::OnStonesReactivate"); end; OnInit: .npc++; end; OnStonesReactivate: hideoffnpc strnpcinfo(0); .active = 0; } event_map,101,101,5 duplicate(Stone 1#501) Stone 2#502 406 event_map,102,102,5 duplicate(Stone 1#501) Stone 3#503 406 event_map,103,103,5 duplicate(Stone 1#501) Stone 4#504 406 event_map,104,104,5 duplicate(Stone 1#501) Stone 5#505 406 event_map,105,105,5 duplicate(Stone 1#501) Stone 6#506 406 1 Quote Link to comment Share on other sites More sharing options...
kitty14 Posted May 24, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted May 24, 2014 (edited) Thanks for a very fast response Skorm. where can i edit the item for the first stonecuz its a custom etc item item 19208 should be inserted in NPC stone 1 item 19209 should be inserted in NPC stone 2 item 19210 should be inserted in NPC stone 3 item 19211 should be inserted in NPC stone 4item 19212 should be inserted in NPC stone 5 item 19213 should be inserted in NPC stone 6 then summon Edited May 24, 2014 by kitty14 Quote Link to comment Share on other sites More sharing options...
Skorm Posted May 24, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted May 24, 2014 Thanks for a very fast response Skorm. where can i edit the item for the first stone cuz its a custom etc item item 19208 should be inserted in NPC stone 1 item 19209 should be inserted in NPC stone 2 item 19210 should be inserted in NPC stone 3 item 19211 should be inserted in NPC stone 4 item 19212 should be inserted in NPC stone 5 item 19213 should be inserted in NPC stone 6 then summon In the name Stone 2#502 number is the itemid. If you switch the first npc's name make sure you also modify the "duplicate(Stone 1#501)" to reflect that change. 1 Quote Link to comment Share on other sites More sharing options...
kitty14 Posted May 24, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted May 24, 2014 THANKS!one last thing..how can i Add message on every stone ? Quote Link to comment Share on other sites More sharing options...
Skorm Posted May 24, 2014 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share Posted May 24, 2014 THANKS! one last thing.. how can i Add message on every stone ? What kind of message like a dialogue box, npc talk, or waiting room? Quote Link to comment Share on other sites More sharing options...
kitty14 Posted May 24, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted May 24, 2014 Uhmmm Like. if player don't have the item in inventoryso player would know what type on stone spirit they will insert? EX . Stone 1Ancient Stone of Red Spirit Insert red stone to release the Red Spirit menu; insert,-, no; Stone 2Ancient Stone of Blue Spirit Insert red stone to release the Blue Spirit menu; insert,-, no; Stone 3Ancient Stone of yellow Spirit Insert red stone to release the yellow Spirit menu; insert,-, no; Stone 4 Ancient Stone of Green Spirit Insert red stone to release the Green Spirit menu; insert,-, no; Stone 5 Ancient Stone of Violet Spirit Insert red stone to release the Violet Spirit menu; insert,-, no; Stone 6 Ancient Stone of Pink Spirit Insert red stone to release the Pink Spirit menu; insert,-, no;then Map announce, Dark Ifrit Has been Summoned Quote Link to comment Share on other sites More sharing options...
kitty14 Posted May 26, 2014 Group: Members Topic Count: 103 Topics Per Day: 0.02 Content Count: 323 Reputation: 4 Joined: 12/09/13 Last Seen: May 9, 2023 Author Share Posted May 26, 2014 Thank you SKORM!!! Quote Link to comment Share on other sites More sharing options...
Question
kitty14
Hi i would like to request a script like this
6 Stone NPC
1st stone npc:
if you insert an item on this stone ex, red potion. the stone will be gone/
like Onnpcdisable
2nd stone
: orange potion
3rd stone:
green potion
4th stone:
white potion
5th stone:
yellow potion
and soon all stone will be gone a SPECIAL MVP monster will be summon , EX. DARK IFRIT
and if they kill dark ifrit
all stone will be back or enable again
Thank you....
Link to comment
Share on other sites
8 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.