Jump to content
  • 0

Map close only for GM


Question

7 answers to this question

Recommended Posts

  • 0
Posted

Here try this, i used this for a while and i edited the coordinates to respawn each the GM and the player into chairs you should check it out

prontera,164,172,4	script	GM Warper	899,{

//Settings
   set .@map$, "sec_in01"; // Change to wherever your gm post is
   set .@mapx, 18; // X coords
   set .@mapy, 92; // Y coords
   set .@gmitem, 6101; // Item required to enter
   set .@mapgm$, "sec_in01"; // Change to wherever your gm post is
   set .@mapgmx, 18; // X coords
   set .@mapgmy, 97; // Y coords
   set .@gmamt, 1; // Ammount required
   if (getgmlevel() < 20) && (countitem(.@gmitem) >= .@gmamt) { goto requested; end; }
   if (getgmlevel() < 20) { goto nongm; end; }
   else { goto gmwarp; end; }

OnInit:
   //waitingroom "GM Outpost",0; // Uncomment to enable a waiting room
   end;

gmwarp:
   warp .@mapgm$,.@mapgmx,.@mapgmy;
   end;

nongm:
   mes "[^0000FFGM Warper^000000]";
   mes "I'm sorry but I can't help you unless you have an Attendance Card.";
   close;
   end;

requested:
   mes "[^0000FFGM Warper^000000]";
   mes "I see you have an Attendance card..";
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "You may go in now.";
   menu "Go in.",goin,"Not now.",notnow;

goin:
   warp .@map$,.@mapx,.@mapy;
   delitem .@gmitem,.@gmamt;
   mapannounce .@map$,strcharinfo(0)+" has entered the GM Outpost upon request.",0;
   end;

notnow:
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "See you next time!";
   close;
   end;

}
  • 0
Posted
11 minutes ago, Ciel Phantomhive said:

Here try this, i used this for a while and i edited the coordinates to respawn each the GM and the player into chairs you should check it out


prontera,164,172,4	script	GM Warper	899,{

//Settings
   set .@map$, "sec_in01"; // Change to wherever your gm post is
   set .@mapx, 18; // X coords
   set .@mapy, 92; // Y coords
   set .@gmitem, 6101; // Item required to enter
   set .@mapgm$, "sec_in01"; // Change to wherever your gm post is
   set .@mapgmx, 18; // X coords
   set .@mapgmy, 97; // Y coords
   set .@gmamt, 1; // Ammount required
   if (getgmlevel() < 20) && (countitem(.@gmitem) >= .@gmamt) { goto requested; end; }
   if (getgmlevel() < 20) { goto nongm; end; }
   else { goto gmwarp; end; }

OnInit:
   //waitingroom "GM Outpost",0; // Uncomment to enable a waiting room
   end;

gmwarp:
   warp .@mapgm$,.@mapgmx,.@mapgmy;
   end;

nongm:
   mes "[^0000FFGM Warper^000000]";
   mes "I'm sorry but I can't help you unless you have an Attendance Card.";
   close;
   end;

requested:
   mes "[^0000FFGM Warper^000000]";
   mes "I see you have an Attendance card..";
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "You may go in now.";
   menu "Go in.",goin,"Not now.",notnow;

goin:
   warp .@map$,.@mapx,.@mapy;
   delitem .@gmitem,.@gmamt;
   mapannounce .@map$,strcharinfo(0)+" has entered the GM Outpost upon request.",0;
   end;

notnow:
   next;
   mes "[^0000FFGM Warper^000000]";
   mes "See you next time!";
   close;
   end;

}

Why using item for warp that map?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...