Santafe Posted May 28, 2015 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 325 Reputation: 35 Joined: 06/01/13 Last Seen: October 7, 2019 Share 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 Link to comment Share on other sites More sharing options...
Skorm Posted May 28, 2015 Group: Forum Moderator Topic Count: 33 Topics Per Day: 0.01 Content Count: 1282 Reputation: 393 Joined: 02/03/12 Last Seen: April 11 Share 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 Link to comment Share on other sites More sharing options...
rayn Posted May 28, 2015 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 164 Reputation: 55 Joined: 11/25/11 Last Seen: May 3, 2020 Share 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 Link to comment Share on other sites More sharing options...
Santafe Posted May 30, 2015 Group: Members Topic Count: 91 Topics Per Day: 0.02 Content Count: 325 Reputation: 35 Joined: 06/01/13 Last Seen: October 7, 2019 Author Share 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 Link to comment Share on other sites More sharing options...
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
Link to comment
Share on other sites
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.