heres the script but dont know how to use the if (class == things to make it work
warcraft,199,186,5 script Unknown Thief 4_F_JOB_ASSASSIN,{
if(agitcheck() || agitcheck2()){
mes "[ Unknown Thief ]";
mes "Sorry, You cannot Enter during ^00CC00War of Emperium^000000";
mes "Come back later, Thank You";
close;
}
else{
if(Class == Job_Assassin){
mes "[ Unknown Thief ]";
mes "You must be a ^00CC00Assassin Cross^000000 to enter this arena.";
mes "Which one you wanna enter?";
next;
menu "Legggoo! ["+getmapusers("guild_vs3")+"]:",rass;
rass:
announce "[ Unknown Thief ] "+strcharinfo(0)+" has entered in SinX Battle Arena!!",0,0x00CC99;
warp "guild_vs3",0,0;
end;
} else {
mes "[ Unknown Thief ]";
mes "Sorry, You cannot Enter the arena";
mes "You must be an assassin to enter this arena, Thank You";
close;
}
OnInit:
waitingroom "Battle Arena",0;
end;
}
}
guild_vs3 mapflag pvp
guild_vs3 mapflag nowarp
guild_vs3 mapflag nowarpto
guild_vs3 mapflag noreturn
guild_vs3 mapflag nosave
guild_vs3 mapflag pvp_noguild
guild_vs3 mapflag pvp_noparty
guild_vs3 mapflag nobranch
guild_vs3 mapflag noicewall
heres the script but dont know how to use the if (class == things to make it work
warcraft,199,186,5 script Unknown Thief 4_F_JOB_ASSASSIN,{ if(agitcheck() || agitcheck2()){ mes "[ Unknown Thief ]"; mes "Sorry, You cannot Enter during ^00CC00War of Emperium^000000"; mes "Come back later, Thank You"; close; } else{ if(Class == Job_Assassin){ mes "[ Unknown Thief ]"; mes "You must be a ^00CC00Assassin Cross^000000 to enter this arena."; mes "Which one you wanna enter?"; next; menu "Legggoo! ["+getmapusers("guild_vs3")+"]:",rass; rass: announce "[ Unknown Thief ] "+strcharinfo(0)+" has entered in SinX Battle Arena!!",0,0x00CC99; warp "guild_vs3",0,0; end; } else { mes "[ Unknown Thief ]"; mes "Sorry, You cannot Enter the arena"; mes "You must be an assassin to enter this arena, Thank You"; close; } OnInit: waitingroom "Battle Arena",0; end; } } guild_vs3 mapflag pvp guild_vs3 mapflag nowarp guild_vs3 mapflag nowarpto guild_vs3 mapflag noreturn guild_vs3 mapflag nosave guild_vs3 mapflag pvp_noguild guild_vs3 mapflag pvp_noparty guild_vs3 mapflag nobranch guild_vs3 mapflag noicewallShare this post
Link to post
Share on other sites