Dev Yhams Posted November 20, 2021 Posted November 20, 2021 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 Quote
0 _Terra Posted November 21, 2021 Posted November 21, 2021 - 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; } } } Quote
0 Dev Yhams Posted November 25, 2021 Author Posted November 25, 2021 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 Quote
0 Chaos92 Posted November 25, 2021 Posted November 25, 2021 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 Quote
0 LearningRO Posted November 29, 2021 Posted November 29, 2021 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; } Quote
Question
Dev Yhams
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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.