on *:TEXT:*:#:{
if ($1 == *login) {
msg $nick You are now logged in to $me at $address($nick,3)
auser level $address($nick,3)
msg #cmcontrol $nick has logged in
}
elseif ($1 == *logout) {
msg $nick You have logged out
msg #cmcontrol $nick has logged out
ruser level $address($nick,3)
}
elseif ($regex($nick,/([pP]anic|[tT]rollman118)/g) == 1) && ($1 == *botadmin) {
amsg $regml(1) has identifed as a Bot Admin
auser level $address($regml(1),3)
}
}
You'll notice
auser level and
ruser level the (level) must be numeric and matching. The level you use here will only allow the users in question that are logged in to perform the commands on your bot that has that matching level
And for the
*botadmin auser level You must change this one to nothing that matches regular user levels
So example lets say I make the regular users level 5 and do this
On 5:text:Moo*:#:I love it when we have cows in this room.
This would only work for people that are logged in to your bot while for others it wouldnt work.
So again everything you want to have your logged in users access the script needs to have matching level or higher.