Is there a way to make someone have access to the partyline but forbid them from using and bot command such as .dump or .kick or .+ban etc...
I just want them to be able to use the .op command only
Description: party line and file system users have their text sent
through filt before being processed. If the proc returns a blank
string, the text is considered parsed. Otherwise, the bot will use
the text returned from the proc and continue parsing that
So will the following code stop anyone from using .kick. If it doesn't then what would be the code to stop anyone from using a .kick from the partyline?
In the code I've previously posted just add your handle in the allowed variable. Doing this only the handles that are added in the allowd variable can do the dcc commands you've binded.
Once the game is over, the king and the pawn go back in the same box.
caesar, I was reviewing all eggdrop commands to see which ones I want to stop (using the code you showed me) and I found out this in the tricks file that ships with Eggdrop:
Tcl has a command 'info body <proc>' that will list the contents of a proc.
Now, if I get this right it means that someone who has access to my bot's partyline can somehow display the code inside a procedure that I wrote and then steal it ?
If yes, how to stop this ?
I tried the command .info body myprocname and to my surprise, it said "your info is now myprocname" ! I must be doing something wrong here or using the wrong command
you did .info ( see .help info )
the command you stated is a .tcl command
so they need +n to use it, if it is even binded ( its not by default) and depending on your must-be-owner setting they may even need to be perm owner in the conf to use it