Jump to content
  • 0

Warp to the GM


Question

Posted

Hello, i would like to know if it's possible to make a npc that when the player click it the npc opens a menus where the player can choose to see the cords of the postion of the gm or select to warp to where the gm is instead o:

 

thank you so much in advance o:!

 

example lol

Hello, i can tell you where the GM is, or instead i can teleport you right to the where the GM is. What would you like to do?
-1Know where the GM is
-2Go to where the GM is
1 Allright, the GM is here:
map,cord X, cord Y
have a nice day
2 Allright, i will teleport you right to where the GM is
teleports to where the GM is
end

thanks again o:!

9 answers to this question

Recommended Posts

Posted

prontera,150,150,1	script	GM Tracker	101,{

.@gm_name$ = "GM Untrustworthy";

mes "Tracking: " + .@gm_name$;

next;

.@i = select("Get coordinates.:Warp to GM.");

if (!getcharid(0,.@gm_name$)) {

mes .@gm_name$ + " is not online.";

close;

}

getmapxy(.@map$,.@x,.@y,0,.@gm_name$);

if (.@i == 1)

mes sprintf("%s is at %s (%d,%d).",.@gm_name$,.@map$,.@x,.@y);

else

warp .@map$,.@x,.@y;

close;

}

  • Upvote 1
Posted
prontera,150,150,1	script	GM Tracker	101,{
	.@gm_name$ = "GM Untrustworthy";

	mes "Tracking: " + .@gm_name$;
	next;
	.@i = select("Get coordinates.:Warp to GM.");
	if (!getcharid(0,.@gm_name$)) {
		mes .@gm_name$ + " is not online.";
		close;
	}
	getmapxy(.@map$,.@x,.@y,0,.@gm_name$);
	if (.@i == 1)
		mes sprintf("%s is at %s (%d,%d).",.@gm_name$,.@map$,.@x,.@y);
	else
		warp .@map$,.@x,.@y;
	close;
}

 

woa thank you so much Euphy it totally works o: !

Posted

@kido...  don't get mad on me :( i was gonna ask for some gm menu adder on that script ^^

 

@euphy.. what if theres a menu on disabling that gm finder.. for gm menu only.. so that when theres an event.. they can't use it (E.G Hide and Seek Event)^^

Posted

lol yea i would also use @unloadnpc GM Tracker

 

it shouldn't be a problem to deal with o:

 

@DwGen why i would get mad? to start with, we should be really thankful to all ppl here answering our questions, it's not a problem for me to share or something else :) feel free to

Posted

@euphy.. yea ur ryt T_T (why did i never think of that)

@kido thx ^^

 

what about hmmm, addning specific acct id on it? i min i want to add E.G my helper on there. so the players can ask even without us GM's.. my helper is only a normal player ^^

Posted

@euphy.. yea ur ryt T_T (why did i never think of that)

@kido thx ^^

 

what about hmmm, addning specific acct id on it? i min i want to add E.G my helper on there. so the players can ask even without us GM's.. my helper is only a normal player ^^

lol np

 

then you just replace the "test1" for the name of your helper

 

i also made some copies of it for different gm's that i may have :)

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...