Santafe Posted May 28, 2015 Posted May 28, 2015 Hey everyone, Was just wondering if its possible for trans jobs to NOT use a certain command? just like class restriction is there a way to restrict a command for them? thanks in advance Quote
Skorm Posted May 28, 2015 Posted May 28, 2015 - script tran_res_cmd -1,{ OnCMD: if( eaclass() & EAJL_UPPER ) message strcharinfo(0), "Transcendent jobs are not allowed this command."; else atcommand "@command"; end; OnInit: bindatcmd "command","tran_res_cmd::OnCMD"; } 1 Quote
rayn Posted May 28, 2015 Posted May 28, 2015 You would have to modify the source for that. Maybe you can get creative with script command bindatcmd which does a class check before executing the requested atcommand. Quote
Santafe Posted May 30, 2015 Author Posted May 30, 2015 - script tran_res_cmd -1,{ OnCMD: if( eaclass() & EAJL_UPPER ) message strcharinfo(0), "Transcendent jobs are not allowed this command."; else atcommand "@command"; end; OnInit: bindatcmd "command","tran_res_cmd::OnCMD"; } THANKS ALOT SKORM <3 Quote
Question
Santafe
Hey everyone,
Was just wondering if its possible for trans jobs to NOT use a certain command? just like class restriction is there a way to restrict a command for them? thanks in advance
3 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.