Jump to content
  • 0

DISABLE COMMANDS


Dev Yhams

Question


  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  08/10/20
  • Last Seen:  

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

4 answers to this question

Recommended Posts

  • 0

  • Group:  Members
  • Topic Count:  12
  • Topics Per Day:  0.00
  • Content Count:  155
  • Reputation:   51
  • Joined:  07/15/13
  • Last Seen:  

-	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;
		}
	}	
}

 

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  17
  • Topics Per Day:  0.01
  • Content Count:  54
  • Reputation:   0
  • Joined:  08/10/20
  • Last Seen:  

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

Link to comment
Share on other sites

  • 0

  • Group:  Members
  • Topic Count:  49
  • Topics Per Day:  0.01
  • Content Count:  1530
  • Reputation:   234
  • Joined:  08/03/12
  • Last Seen:  

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

  • 0

  • Group:  Members
  • Topic Count:  107
  • Topics Per Day:  0.02
  • Content Count:  770
  • Reputation:   69
  • Joined:  02/10/12
  • Last Seen:  

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;

}

 

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