Jump to content
  • 0

DISABLE COMMANDS


Question

Posted

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

 

4 answers to this question

Recommended Posts

  • 0
Posted
-	script	NOWARPCOMMAND	-1,{

OnInit:

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

function OnQuestCommand {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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 {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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 {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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;
		}
	}	
}

 

  • 0
Posted

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

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

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

OnInit:

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

function OnQuestCommand {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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 {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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 {
	.@map$ = strcharinfo(3);
	if ( getmapflag( .@map$,mf_pvp ) ) || getmapflag( .@map$,mf_gvg ) || getmapflag( .@map$,mf_nowarp ) || getmapflag( .@map$,mf_nowarpto ) || getmapflag( .@map$,mf_noteleport ) {
		dispbottom .@atcmd_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

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

  • 0
Posted
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

 

  • 0
Posted

if you want only available at prontera try this

-	script	OneCommand	-1,{

OnQuestCommand:
	if (strcharinfo(3) == "prontera") {
		warp "your quest map",x,x;
		end;
	}
	dispbottom .@atcmd_command$+" This Command only available at prontera town!";
	end;

OnMallCommand:
	if (strcharinfo(3) == "prontera") {
		warp "your quest map",x,x;
		end;
	}
	dispbottom .@atcmd_command$+" This Command only available at prontera town!";
	end;

OnDonateCommand:
	if (strcharinfo(3) == "prontera") {
		warp "your quest map",x,x;
		end;
	}
	dispbottom .@atcmd_command$+" This Command only available at prontera town!";
	end;

OnInit:
	bindatcmd "quest", strnpcinfo(0)+"::OnQuestCommand";
	bindatcmd "mall", strnpcinfo(0)+"::OnMallCommand";
	bindatcmd "donate", strnpcinfo(0)+"::OnDonateCommand";
	end;

}

 

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