mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2015
Posts: 84
F
Babel fish
OP Offline
Babel fish
F
Joined: Jun 2015
Posts: 84
I'm not asking for a script to be wrote, but I was wondering how possible it is that when I write out a commands script. (add/remove/edit commands) is it possible to assign user levels to said commands.

Say a mod wants to add a command for social media or stuff of that like and only for those commands to be called by mod level or higher, is it possible to make it write it like that?

Joined: Feb 2003
Posts: 3,432
S
Hoopy frood
Offline
Hoopy frood
S
Joined: Feb 2003
Posts: 3,432
You can use user levels, /help levels and /help $ulevel

if ($ulevel(level) == level) { do stuff }


if ($me != tired) { return } | else { echo -a Get a pot of coffee now $+($me,.) }

Link Copied to Clipboard