Jump to content
  • 0
Kido

Warp to the GM

Question

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:!

Link to comment
Share on other sites

9 answers to this question

Recommended Posts

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

[email protected]_name$ = "GM Untrustworthy";

mes "Tracking: " + [email protected]_name$;

next;

[email protected] = select("Get coordinates.:Warp to GM.");

if (!getcharid(0,[email protected]_name$)) {

mes [email protected]_name$ + " is not online.";

close;

}

getmapxy([email protected]$,[email protected],[email protected],0,[email protected]_name$);

if ([email protected] == 1)

mes sprintf("%s is at %s (%d,%d).",[email protected]_name$,[email protected]$,[email protected],[email protected]);

else

warp [email protected]$,[email protected],[email protected];

close;

}

  • Upvote 1
Link to comment
Share on other sites

prontera,150,150,1	script	GM Tracker	101,{
	[email protected]_name$ = "GM Untrustworthy";

	mes "Tracking: " + [email protected]_name$;
	next;
	[email protected] = select("Get coordinates.:Warp to GM.");
	if (!getcharid(0,[email protected]_name$)) {
		mes [email protected]_name$ + " is not online.";
		close;
	}
	getmapxy([email protected]$,[email protected],[email protected],0,[email protected]_name$);
	if ([email protected] == 1)
		mes sprintf("%s is at %s (%d,%d).",[email protected]_name$,[email protected]$,[email protected],[email protected]);
	else
		warp [email protected]$,[email protected],[email protected];
	close;
}

 

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

Link to comment
Share on other sites

@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)^^

Link to comment
Share on other sites

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

Link to comment
Share on other sites

@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 ^^

Link to comment
Share on other sites

@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 :)

Link to comment
Share on other sites

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.



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.