Here's my current teleporter script
prontera,142,179,6 script Teleporter Vip Room 984,{
mes "[ ^0065DFHueRO Vip Room Warper^000000 ]";
mes "Would you like to enter";
mes "the HueRO Vip Room?";
next;
if (select("Yes!","No thanks.") == 2) close;
if(vip_status(1)){
warp "vip_room",360,61;
}else{
mes "";
mes "You are not vip, please get your vip in the npc ^0065DFHueRO Vip System^000000";
}
close;
}
- script kickmap_vip -1,{
OnPCLoadMapEvent:
if ( strcharinfo(3) == "vip_room" && !vip_status(1) && getgmlevel()==0) {
warp "SavePoint",0,0;
}
}
vip_room mapflag loadevent
That way it works but only when loading a map, but if the vip expires inside the map he can stay in there until you logout
How would I get your idea from this script?