Rage Guy Posted July 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Share Posted July 9, 2013 (edited) I Want a simple NPC When guild Master Talk to him Click Recall Guild He Recall Them on a map Example [ Prontera,63,85 ] Edited July 9, 2013 by SpongeBOB Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 9, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 9, 2013 - .@guild_id = getcharid(2); - : means 'delete the line' + set .@guild_id, getcharid(2); + : means 'add the line' prontera,150,150,5 script ihjbnik 56,{ .@guild_id = getcharid(2);// <---- REPLACE HERE if ( !.@guild_id ) { Like that prontera,150,150,5 script ihjbnik 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; end; } it's hard to help you 2 Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 9, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 9, 2013 This? prontera,150,150,5 script ihjbnik 56,{ .@guild_id = getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; end; } Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted July 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted July 9, 2013 its not working i got alot of map errors maybe cuz am using 3CeAM Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 9, 2013 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 9, 2013 - .@guild_id = getcharid(2); + set .@guild_id, getcharid(2); Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted July 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted July 9, 2013 where to put this on the script ?? - .@guild_id = getcharid(2); + set .@guild_id, getcharid(2); can any one pls help me Quote Link to comment Share on other sites More sharing options...
Rage Guy Posted July 9, 2013 Group: Members Topic Count: 113 Topics Per Day: 0.03 Content Count: 354 Reputation: 3 Joined: 02/17/13 Last Seen: August 14, 2016 Author Share Posted July 9, 2013 Its working now thanks Capuche Quote Link to comment Share on other sites More sharing options...
MukkiesftKies Posted April 2, 2014 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 123 Reputation: 7 Joined: 03/13/12 Last Seen: January 2, 2019 Share Posted April 2, 2014 Capuche can help to work like this after guild leader click npc 2 time, npc recall will hide then another npc will show. Quote Link to comment Share on other sites More sharing options...
Capuche Posted April 3, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted April 3, 2014 prontera,150,150,5 script ihjbnik 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "you are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "warp?"; next; if ( select( "yes", "no" ) -1 ) end; warpguild "prontera",161,181,.@guild_id; .click++; if ( .click%2 ) end; disablenpc strnpcinfo(3); enablenpc "your npc"; } Quote Link to comment Share on other sites More sharing options...
MukkiesftKies Posted April 6, 2014 Group: Members Topic Count: 39 Topics Per Day: 0.01 Content Count: 123 Reputation: 7 Joined: 03/13/12 Last Seen: January 2, 2019 Share Posted April 6, 2014 Thank You Capuche. Quote Link to comment Share on other sites More sharing options...
NeoGenesis Posted July 6, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 120 Reputation: 0 Joined: 01/03/12 Last Seen: August 26, 2017 Share Posted July 6, 2014 why i use this script get some error ? can help me Capuche ? see this pic > Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 6, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 6, 2014 you use eathena or sth replace .click++; by set .click, .click +1; Quote Link to comment Share on other sites More sharing options...
NeoGenesis Posted July 7, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 120 Reputation: 0 Joined: 01/03/12 Last Seen: August 26, 2017 Share Posted July 7, 2014 (edited) why me one click at npc then npc will hide ? not two click ? help me pls .. recall_script.txt Edited July 9, 2014 by NeoGenesis Quote Link to comment Share on other sites More sharing options...
NeoGenesis Posted July 11, 2014 Group: Members Topic Count: 40 Topics Per Day: 0.01 Content Count: 120 Reputation: 0 Joined: 01/03/12 Last Seen: August 26, 2017 Share Posted July 11, 2014 bump ~~~ Quote Link to comment Share on other sites More sharing options...
Capuche Posted July 11, 2014 Group: Developer Topic Count: 10 Topics Per Day: 0.00 Content Count: 2407 Reputation: 616 Joined: 07/05/12 Last Seen: March 20 Share Posted July 11, 2014 prontera,150,150,5 script Fokker 56,{ set .@guild_id, getcharid(2); if ( !.@guild_id ) { mes "You are not in a guild"; close; } else if ( getguildmasterid(.@guild_id) != getcharid(0) ) { mes "I only talk to the guild master"; close; } mes "Recall your guild now?"; next; if ( select( "Yes", "No" ) -1 ) end; warpguild "prontera",150,151,.@guild_id; set .click, .click +1; if ( .click % 2 ) end; disablenpc strnpcinfo(3); enablenpc "your npc"; } Quote Link to comment Share on other sites More sharing options...
Question
Rage Guy
I Want a simple NPC
When guild Master Talk to him Click Recall Guild
He Recall Them on a map Example [ Prontera,63,85 ]
Edited by SpongeBOBLink to comment
Share on other sites
14 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.