Jump to content
The forums will be going offline for an extended maintenance period at 1400hrs GMT on 19th June 2025. The number of hours for this downtime is intentionally not advertised due to the nature of these upgrades. ×
  • 0

OnTouch Problem


chatterboy

Question


  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  309
  • Reputation:   27
  • Joined:  11/26/12
  • Last Seen:  

Hello Guys please help about this script the OnTouch is not working... Is there something wrong or missing in my script?

prontera,237,313,4	script	Nun	915,{

OnTouch:
		set .@simbangGabi,.@simbangGabi-1;
		mes "[Security]";
		mes "Hey fellow midgards you leave the mass early you are no longer qualified to continue the MASS...";
		next;
		
		mes "[Security]";
		mes "Sorry our Church attendance is a must...";
		close;
		
OnInit:		
OnClock2355:
hideonnpc "Nun";
end;

OnClock2455:
hideoffnpc "Nun";
end;

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 2

  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10018
  • Reputation:   2373
  • Joined:  10/28/11
  • Last Seen:  

prontera,237,313,4	script	Nun	915,{

change to

prontera,237,313,4	script	Nun	915,10,10,{

10,10  = your area size to trigger the OnTouch event.

  • Upvote 2
Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  8
  • Topics Per Day:  0.00
  • Content Count:  309
  • Reputation:   27
  • Joined:  11/26/12
  • Last Seen:  

Thank you very very much... Appriciated... ;)

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