Noctis Posted June 27, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Share Posted June 27, 2017 (edited) Whats the script that if its a guild member he say mes "I see that ur a guild member"; goto L_function if not mes "you dont have a guild"; close; Edited June 27, 2017 by Noctis Quote Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 27, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 27, 2017 36 minutes ago, Noctis said: Whats the script that if its a guild member he say mes "I see that ur a guild member"; goto L_function if not mes "you dont have a guild"; close; if( !getcharid(2) ) { mes "I'm sorry, but you are not in a Guild."; close; } mes "Hi! Your a Guild Member."; mes "How may i help you?"; next; do your function.......... 1 Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 27, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 27, 2017 (edited) 6 minutes ago, Kaze said: if( !getcharid(2) ) { mes "I'm sorry, but you are not in a Guild."; close; } mes "Hi! Your a Guild Member."; mes "How may i help you?"; next; do your function.......... Thx dude Edited June 27, 2017 by Noctis Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 27, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 27, 2017 (edited) 10 minutes ago, Kaze said: if( !getcharid(2) ) { mes "I'm sorry, but you are not in a Guild."; close; } mes "Hi! Your a Guild Member."; mes "How may i help you?"; next; do your function.......... Btw do you know the script that he say the guild name that Im in? like "mes "Hi! Your a Guild Member of the #guildname#."; (the guild name with color) @Kaze Edited June 27, 2017 by Noctis Quote Link to comment Share on other sites More sharing options...
0 valesti Posted June 27, 2017 Group: Members Topic Count: 5 Topics Per Day: 0.00 Content Count: 44 Reputation: 5 Joined: 10/07/14 Last Seen: Sunday at 04:03 AM Share Posted June 27, 2017 24 minutes ago, Noctis said: Btw do you know the script that he say the guild name that Im in? like "mes "Hi! Your a Guild Member of the #guildname#."; (the guild name with color) @Kaze https://github.com/rathena/rathena/blob/master/doc/script_commands.txt#L3122 Quote Link to comment Share on other sites More sharing options...
0 Deleted User Posted June 27, 2017 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 235 Reputation: 55 Joined: 12/02/11 Last Seen: February 26, 2021 Share Posted June 27, 2017 1 hour ago, Noctis said: Btw do you know the script that he say the guild name that Im in? like "mes "Hi! Your a Guild Member of the #guildname#."; (the guild name with color) @Kaze prontera.gat, 155, 182, 4 script Guild Information 4_F_KAFRA1,{ .@n$ = "[ Guild Information ]"; .@id = getcharid(2); if( .@id == 0 ) { mes .@n$; mes "Sorry, you are not in a guild."; close; } if( strcharinfo(0) != getguildmaster(.@id) ) { mes .@n$; mes "Sorry, you don't own the guild you are in."; close; } mes .@n$; mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000"; close; } 1 Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 27, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 27, 2017 8 hours ago, Kaze said: prontera.gat, 155, 182, 4 script Guild Information 4_F_KAFRA1,{ .@n$ = "[ Guild Information ]"; .@id = getcharid(2); if( .@id == 0 ) { mes .@n$; mes "Sorry, you are not in a guild."; close; } if( strcharinfo(0) != getguildmaster(.@id) ) { mes .@n$; mes "Sorry, you don't own the guild you are in."; close; } mes .@n$; mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000"; close; } thx! Quote Link to comment Share on other sites More sharing options...
0 Noctis Posted June 27, 2017 Group: Members Topic Count: 47 Topics Per Day: 0.01 Content Count: 226 Reputation: 13 Joined: 02/17/15 Last Seen: August 2, 2017 Author Share Posted June 27, 2017 (edited) 9 hours ago, Kaze said: prontera.gat, 155, 182, 4 script Guild Information 4_F_KAFRA1,{ .@n$ = "[ Guild Information ]"; .@id = getcharid(2); if( .@id == 0 ) { mes .@n$; mes "Sorry, you are not in a guild."; close; } if( strcharinfo(0) != getguildmaster(.@id) ) { mes .@n$; mes "Sorry, you don't own the guild you are in."; close; } mes .@n$; mes "Your the Guild Member of: ^00AA00"+ getguildname(.@id) +"^000000"; close; } It says "Your the guild member of NULL" instead of my guild name [EDIT] nvm is solved Edited June 27, 2017 by Noctis Quote Link to comment Share on other sites More sharing options...
Question
Noctis
Whats the script that if its a guild member he say
mes "I see that ur a guild member";
goto L_function
if not
mes "you dont have a guild";
close;
Edited by NoctisLink to comment
Share on other sites
7 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.