Jump to content
  • 0

@go (Rework)


Question

Posted

I need someone with high knowledge on sourcing D:

Basically, what I need is a @go rework.. meaning, I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

11 answers to this question

Recommended Posts

Posted

It means towns are removed? so what will be left is nothing I thought @go is for town warping

Isn't there a way where you can make a different menu for players gm level below 1 and another menu for gms above 40? Or I'm guessing it'll take to much sourcing lol
Posted

It means towns are removed? so what will be left is nothing I thought @go is for town warping

Isn't there a way where you can make a different menu for players gm level below 1 and another menu for gms above 40? Or I'm guessing it'll take to much sourcing lol

this is possible with SRC <-- efficient

but you can do it too with scripting <- -easier

Posted
but you can do it too with scripting <- -easier

yeah...same opinion as you..xD

i think it is easier with npc scripting

since i have a way to do it..( cant confirm it work well )

but i had some issue with your requests....:P

I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

If Players do @go ---> No Town ??? :( i though @go usually warp to Town ??

Posted
I would like it if a PLAYER were to use @go, they will have a separate MENU (No towns) but if a GM were to do @go, they well get all towns + the player menu.

If Players do @go ---> No Town ??? :( i though @go usually warp to Town ??

actually @go = already define the x and y including map by the owner or dev

@warp map x y = you have to define it

Posted
actually @go = already define the x and y including map by the owner or dev

@warp map x y = you have to define it

erm..ya i know..but...seem that he is requesting a Menu type...i guess it would be a bit different ? not sure...

however, i just cant understand......

coz.. he say..when players use @go...no town.... ..LOL ?? i mean ...we use @go to warp to town right usually...

but in his case...he dont want it warp to town ? but gm is okay with the town warp...

and this is inside the Warp Menu...

so, i was thinking to build a simple npc with menu to choose the warp place...

and use @command to call the script perhap this might fit what he want...but of course not using @go unless he really decide to remove the original one..

Posted

Well if you could explain well, I'm pretty sure we could help.

So what you mean is...that the command @go shows/pops-up a MENU? like the scripting one?

atcommand.c

ACMD_FUNC(gocmd)
{
if (pc_isGM(sd) >= 40 && pc_isGM(sd) <= 99) {
	//IF GM LEVEL IS IN THE RANGE WITHIN 40-99
	npc_event(sd,"NPC_NAME::OnLABEL",0);
	return 0;
} else {
	//IF GM LEVEL IS IN THE RANGE WITHIN 0-39
	npc_event(sd,"NPC_NAME::OnLABEL2",0);
	return 0;
}
}

script/npc.txt

-	script	NPC_NAME	-1,{

OnLABEL:
	//MENU FUNC if gm level is (40-99)


OnLABEL2:
	//MENU FUNC2 if gm level is (0-39)


}

Something like that?

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