Jump to content

Solicitud de script


Chywoner

Recommended Posts


  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/09/17
  • Last Seen:  

Buenas tardes, quisiera saber si hay alguna forma de hacer un script o una forma de hacer ue durante las woes, no se pueda logear con ninguna cuenta de GM. será esto posible? y si es así como sería. de ante mano gracias. :D

Link to comment
Share on other sites

  • 1 month later...

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


-	script	sample	-1,{
	
	OnPCLoginEvent:
		if (getgmlevel() >= 90 && (gettime(DT_HOUR) >= 10 && gettime(DT_HOUR) <= 20)) { // 10am ~ 8pm
			atcommand "@kick "+strcharinfo(0);
		}
		end;

}

 

  • Upvote 2
Link to comment
Share on other sites

  • 4 weeks later...

  • Group:  Members
  • Topic Count:  16
  • Topics Per Day:  0.01
  • Content Count:  31
  • Reputation:   0
  • Joined:  08/09/17
  • Last Seen:  

Muchas gracias Emistry ❤️

Link to comment
Share on other sites

  • 1 month later...

  • Group:  Members
  • Topic Count:  1
  • Topics Per Day:  0.00
  • Content Count:  15
  • Reputation:   0
  • Joined:  09/02/17
  • Last Seen:  

En caso de que lo actives con comando sería más viable 

-	script	ONKICKGMWOE	-1,{
OnPCLoginEvent:
	if (getgmlevel() >= 90 && (agitcheck() || agitcheck2()))
		atcommand "@kick "+strcharinfo(0);
	end;
}

Así no importa la hora, si se encuentra activa WoE no dejará entrar al GM.

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
Reply to this topic...

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