_Teen_ commented on a Page, Gage's Bot Script  -  Oct 11, 2010

Soubi, in this case of send memoserv no need this

look, if we use on this command

on *:load: { 
  set %botmaster $$?="Enter the bot owner's nick. This can be manually changed in users.ini."
  auser 1000 %botmaster
}

lets supose now, that the founder is level 1000 on bot userlist

so doing this

on *:text:*:#:{ 
 if ($level($nick) == 1000) { msg memoserv send $nick command } 
  else { msg $nick you dont have enough access to do this }
}

or

on 1000:text:*:#:{
 if (~pass == %striped) { msg memoserv send $nick command }
}

so script will check if the person has access to this, like only level 1000 can do this, so dont need to set a var for $nick

Nice Job

 Respond  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.