this will warp the player if you click the waitingroom above the npc.not the npc itself
prontera,154,186,6 script Waiting room 81,{
end;
OnInit:
waitingroom "Waiting Room",2,"Waiting room::OnStart",1;
end;
OnStart:
warpwaitingpc "force_4-1",99,12,1;
//try to attachrid here. to be able to use strcharinfo
//anounce here
end;
}
i think you can attach a rid using warpwaitingpc using
attachrid $@warpwaitingpc;
so output will be.
try this. this may work.not sure though.not tested
prontera,154,186,6 script Waiting room 81,{
end;
OnInit:
waitingroom "Waiting Room",2,"Waiting room::OnStart",1;
end;
OnStart:
warpwaitingpc "force_4-1",99,12,1;
attachrid $@warpwaitingpc;
announce "The player "+strcharinfo(0)+" was teleported to the event room!",bc_blue|bc_all;
end;
}