prontera,156,180,6 script GuildBaseWarper 100,{
.@npcname$ = strnpcinfo(1);
mes .@npcname$;
mes "Hi "+strcharinfo(0)+",";
mes "Do you want to go in your Guild Base?";
next;
if ( select( "Blueprint's Base", "Yakuza's Base", "No" ) == 3 ) close;
.@s = @menu;
mes .@npcname$;
mes "Hi "+strcharinfo(0)+",";
mes "Please enter your guild password";
next;
if ( input( .@tmp$, 2, 70 ) ) close;
if ( .@tmp$ != .password$[.@s] ) {
mes .@npcname$;
mes "Invalid password. Try again.";
close;
}
announce strcharinfo(0) +": "+ strcharinfo(0), 0; // LOL ? I'm just replicating -> atcommand "@broadcast "+strcharinfo(0);
warp getd( ".guildbase"+ .@s +"$[0]" ), atoi( getd( ".guildbase"+ .@s +"$[1]" ) ), atoi( getd( ".guildbase"+ .@s +"$[2]" ) );
close;
OnInit:
setarray .password$[1], "OMFG", "LMAO";
setarray .guildbase1$, "lou_fild01", "180", "180";
setarray .guildbase2$, "prt_fild08", "50", "50" ;
end;
}
sometimes ... need a little bit spoon feed ...
and your script is far too off ....
that's why script request section exist ...