mIRC Home    About    Download    Register    News    Help

Print Thread
[Twitch] User Levels with Scripts #253888 11/07/15 10:43 AM
Joined: Jun 2015
Posts: 84
F
Fonic_Artes Offline OP
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?

Re: [Twitch] User Levels with Scripts [Re: Fonic_Artes] #253889 11/07/15 12:59 PM
Joined: Feb 2003
Posts: 3,432
S
sparta Offline
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,.) }