Jump to content
  • 0

how's GM Cant Use Command if WOE is Begun


Question

Posted

how's GM Cant Use Command if WOE is Begun

 

for example .. if woe has begun.. all GM cant Use Command Or Cant Warp To CAstle or kick or etc 

6 answers to this question

Recommended Posts

Posted

i think it's impossible because

 

1. try to set mapflag nocommand player can't use command in this map too and must make sure your gm level not bypass this mapflag

2. set mapflag to nowarpto must make sure too about gm level by pass

3. kick player or monster it's not possible if you gm level can do that but if you change gm level to lower when woe start you can't kick or everything but make sure your gm level can use what command

 

so i think not have npc script to do like this auto must change by your self

Posted (edited)

You can use bindatcmd script command to every command you want to be disabled (e.g. @warp, @recall) and have these two script command checks within it:

  • agitcheck(), checks if the server is on WoE mode.
  • getgroupid(), checks the group id of the GM that will not be able to use the command (example. getgroupid() <= 60)

If those two will conditions are met, the binded command will return false or will not initiate.

Edited by Elekid
Posted

The question you should ask yourself is: does this even make sense?

You should get uncorrupted GMs rather than taking away their privileges. Here's an example: Player X uses some cheat/bot tool to spam skills or to get some other unfair advantage. Your GMs couldn't do anything about it, because they can't warp to the player, nor kick/ban him.

You should log commands to see if a player was kicked unjustifiably and remove the GM from your team if it happens too often :)

Posted

The question you should ask yourself is: does this even make sense?

...

You should log commands to see if a player was kicked unjustifiably and remove the GM from your team if it happens too often :)

 

Yeah, just check the command logs or just disable the command on their group id. Different GM groups should have different restrictions depending on how you trust them. Trial Game Masters shouldn't have @recall and @kick commands, since those commands are for Enforcements GMs/Managers.

 

He asked though. I hope my suggestion helps in any way. /ok

Posted

how's GM Cant Use Command if WOE is Begun

 

for example .. if woe has begun.. all GM cant Use Command Or Cant Warp To CAstle or kick or etc 

 

-	script	nocmd	-1,{
OnAgitStart:
	while(set(.@a,.@a+1)<=.len)
		while(set(.@h,.@h+1)<=5)
			setmapflag(.maps$[.@a]+"_cas0"+.@h,mf_nocommand);
	end;
OnAgitEnd:
	while(set(.@a,.@a+1)<=.len)
		while(set(.@h,.@h+1)<=5)
			removemapflag(.maps$[.@a]+"_cas0"+.@h,mf_nocommand);
	end;
	
OnInit:
	setarray .maps$[1], "aldeg", "arug", "gefg", "payg", "prtg", "schg";
	set .len, getarraysize(.maps$);
}

Don't edit the map array sould work as is.

  • Upvote 1

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