Jump to content
  • 0
Dev Yhams

DISABLE COMMANDS

Question

HOW DISABLE @QUEST @DONATES @MALL ON PVP MAPS THANK YOU ! PLEASE HELP ME 
AND 

HOW TO SCRIPT HIT +10 . PERFECT DODGE +20 FOR 10MINS [FOODS]

THANK YOU

 

Link to comment
Share on other sites

6 answers to this question

Recommended Posts

  • 0
-	script	NOWARPCOMMAND	-1,{

OnInit:

bindatcmd "quest", strnpcinfo(0)+"::OnQuestCommand";

function OnQuestCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your quest map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND1	-1,{

OnInit:

bindatcmd "mall", strnpcinfo(0)+"::OnMallCommand";

function OnMallCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your mall map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND2	-1,{

OnInit:

bindatcmd "donate", strnpcinfo(0)+"::OnDonateCommand";

function OnDonateCommand {
	[email protected]map$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your donate map",x,x;
		end;
		}
	}	
}

 

Link to comment
Share on other sites

  • 0
On 11/22/2021 at 1:53 AM, EIysium said:
-	script	NOWARPCOMMAND	-1,{

OnInit:

bindatcmd "quest", strnpcinfo(0)+"::OnQuestCommand";

function OnQuestCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your quest map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND1	-1,{

OnInit:

bindatcmd "mall", strnpcinfo(0)+"::OnMallCommand";

function OnMallCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your mall map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND2	-1,{

OnInit:

bindatcmd "donate", strnpcinfo(0)+"::OnDonateCommand";

function OnDonateCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your donate map",x,x;
		end;
		}
	}	
}

 

i need to avail only prontera map

Link to comment
Share on other sites

  • 0
On 11/22/2021 at 1:53 AM, EIysium said:
-	script	NOWARPCOMMAND	-1,{

OnInit:

bindatcmd "quest", strnpcinfo(0)+"::OnQuestCommand";

function OnQuestCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your quest map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND1	-1,{

OnInit:

bindatcmd "mall", strnpcinfo(0)+"::OnMallCommand";

function OnMallCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your mall map",x,x;
		end;
		}
	}	
}

-	script	NOWARPCOMMAND2	-1,{

OnInit:

bindatcmd "donate", strnpcinfo(0)+"::OnDonateCommand";

function OnDonateCommand {
	[email protected]$ = strcharinfo(3);
	if ( getmapflag( [email protected]$,mf_pvp ) ) || getmapflag( [email protected]$,mf_gvg ) || getmapflag( [email protected]$,mf_nowarp ) || getmapflag( [email protected]$,mf_nowarpto ) || getmapflag( [email protected]$,mf_noteleport ) {
		dispbottom [email protected]_command$+" Not available in PvP / WoE Zones or zones that will not allow you to teleport.";
		end;
	}else{
		warp "your donate map",x,x;
		end;
		}
	}	
}

 

ser ! this is working on pvp map but i use on prontera no command or not working

Link to comment
Share on other sites

  • 0
2 hours ago, Dev Yhams said:

HOW DISABLE COMMAND ON PVP MAP  THIS COMMANDS @QUEST @MALL @DONATES @FREEBIES ! THANK YOU FOR HELPING ! RA 2015

use nocommands mapflag if u want to disable all commands.

if certain commands, this idea might helps

 

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

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.