Jump to content
  • 0

Help please with guild check script


TiMz

Question


  • Group:  Members
  • Topic Count:  51
  • Topics Per Day:  0.01
  • Content Count:  192
  • Reputation:   9
  • Joined:  05/08/13
  • Last Seen:  

izlude,168,64,0	script	gcheck#1	-1,{

OnPCLoadMapEvent:
	getmapxy .@m$,.@x,.@y,0;
	if(.@m$ == "izlude")
	{
		if(getcharid(2) != "1005")
		{
			warp "prontera",155,182;
			Save "prontera",155,182;
		}
	}
}

izlude	mapflag	loadevent

Can't seem to make it work. Players from another guild should be automatically warped to prontera except for those in guild id=1005. But currently nothing happens when you warp to izlude,

Up.

Edited by Isaiah
Link to comment
Share on other sites

1 answer to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  104
  • Reputation:   4
  • Joined:  06/23/12
  • Last Seen:  

change "1005" to 1005 , erase the quote " " :)

izlude,168,64,0	script	gcheck#1	-1,{

OnPCLoadMapEvent:
	getmapxy .@m$,.@x,.@y,0;
	if(.@m$ == "izlude")
	{
		if(getcharid(2) != 1005)
		{
			warp "prontera",155,182;
			Save "prontera",155,182;
		}
	}
}

izlude	mapflag	loadevent
Edited by nostafu
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...