Can any write script for private commands.
I mean weh i write msg to my bot !op <user>, then my bot give @ on that user.
i dont want all users see ho control the bot.
The easiest, simplest way to do this, is to log into your bot via either DCC or telnet, and issue the command(s) there... in the partyline.ZzozZ wrote: ...
i dont want all users see ho control the bot.
Here is an example.ZzozZ wrote:thanx, but i need code. i want to edit and write my commands, not only op, deop and etc.
i need just one ecxample how can i do that
Code: Select all
#set your channel here
set mychan "#channelname"
bind msg n "!op" give_op
proc give_op {nick uhost handle text} {
global mychan
set nick_to_op "[lindex [split $text] 0]"
pushmode $mychan +o $nick_to_op
}