//Checks if character is in GUILD DUNGEON without a guild pass
//gld_dun01","gld_dun02","gld_dun03","gld_dun04","arug_dun01","schg_dun01");
- script guildmapchecker -1,{
OnPCLoginEvent:
OnPCLoadMapEvent:
getmapxy(@map$,@mapx,@mapy,0);
if(@map$ == "gld_dun01" || @map$ == "gld_dun02" || @map$ == "gld_dun03" || @map$ == "gld_dun04" || @map$ == "arug_dun01" || @map$ == "schg_dun01"){
if(countitem(32001) < 1) {
dispbottom "You do not have a guild dungeon pass on you. You need at least 1";
warp "SavePoint", 0, 0;
}
}
end;
}
Question
pandaplaygames
So What am I doing wrong?
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.