fixed..
but i have a problem.. when your relogin many times, you can get those freebies ea. login.. please fix.
and how to put 1st message.
ex. Hello there, welcome to My Ragnarok Online,. our goal is to give you a fair and balanced server.
all newbies can get freebies to choose from....
i want to put that msg. on the 1st. thank you sir emistry.
here's the fix code. thanks.
- script Freebies -1,{
OnPCLoginEvent:
// 1st: Announce login
if(getgmlevel() > 20) end;
Announce(StrCharInfo(0) + " has logged in.", bc_all);
// 2nd: Check freebies
if(!#FREEBIES)
{
switch( select( "Solar God Helm","Bapho Horns","Lord Kaho" ) ){
Case 1:
getitem 5022,1;
getitem2 2137,1,1,10,0,0,0,0,0;
getitem2 2357,1,1,10,0,0,0,0,0;
getitem2 2421,1,1,10,0,0,0,0,0;
getitem2 2524,1,1,10,0,0,0,0,0;
break;
Case 2:
getitem 5374,1;
getitem2 2137,1,1,10,0,0,0,0,0;
getitem2 2357,1,1,10,0,0,0,0,0;
getitem2 2421,1,1,10,0,0,0,0,0;
getitem2 2524,1,1,10,0,0,0,0,0;
break;
Case 3:
getitem 5013,1;
getitem2 2137,1,1,10,0,0,0,0,0;
getitem2 2357,1,1,10,0,0,0,0,0;
getitem2 2421,1,1,10,0,0,0,0,0;
getitem2 2524,1,1,10,0,0,0,0,0;
default: break;
}
close2;
Set(#FREEBIES, 1);
}
// Event ends
End();
}
sir, got a problem again, when i finish to choose i can't move... i mean the char. can't move, you can solved it when you @go 0 but those newbie does not know @go 0 please fix thanks..