can anyone tell me what's wrong with this script? it says unknown syntax
gm_room,154,136,5 script Guild Master Changer 866,{
if(!getcharid(2)) // [b][color=#ff0000]ERROR LINE[/color][/b]
{
mes "[ ^336699Leo^000000 ]";
mes "Are you Kidding me?";
mes "You're not a member of any guild";
close;
}
if(getguildmaster(getcharid(2)) != strcharinfo(0))
{
mes "[ ^336699Leo^000000 ]";
mes "You're not the Guild Master of your guild";
close;
}
if(agitcheck())
{
mes "[ ^336699Leo^000000 ]";
mes "War is currently in progress";
close;
}
mes "[ ^336699Leo^000000 ]";
mes "OK Please Input the name of the character";
mes "The player mus be online!";
next;
input @input$;
set @success, guildchangegm(getcharid(2), @input$);
if(!@success)
{
mes "[ ^336699Leo^000000 ]";
mes "Something's wrong, maybe the player doesn't exist.";
close;
}
mes "Done!";
close;
}
Question
cozzy09
can anyone tell me what's wrong with this script? it says unknown syntax
Link to comment
Share on other sites
1 answer 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.