Hello, these are the commads for Bot's master for to use in the channel.
First Your need to have a level 100
Just paste the following code at your mIRC Remote: ALT+R
How use it:
Examples:
!mode +c
!unban <nick | address | mask >
!topic "Welcome To #LaTiNo"
To change of server:
!Reconect irc.newserver.net
!devoice
!kick
!greet to
!ban <nick | address | mask>
Don't forget put the bot name in the command "!ban" for that the banned don't affects to the bot
Please post your Comments
Enjoy!
;####################### MASTER'S COMANDS #######################
;######################## By LaTiNo ###########################
on 100:text:!mode*:#:/mode # -k 6Changing.Modes | /mode # $2
on 100:text:!unban*:#:/mode # -b $2
on 100:text:!topic*:#:/topic # $2-
on 100:text:*join*:?:/join #$2
on 100:text:!part*:#:/part $chan IRC-Ma§Te®
on 100:text:!Disconect:#:/quit 4Disconnected: * Bot <namebot> by <bot owner> *
On 100:text:!reconect*:#:/server $2-
on 100:text:!op* :#:/mode $chan +ok $2 you.are.an.operator
on 100:text:!op me:#:/mode $chan +ok $nick you.are.the.MASTER
on 100:text:!devoice*:#:/mode # -v-k $2 6IDLE.User
on 100:text:!kick *:#:/kick $chan $2 $3-
on 100:text:!greet to *:#:/msg # Greetins $3 , Thx for to be my friend :)
on 100:text:!ban *:#:{
if ("namebot" !== $2) {
.ban -u1900 # $2 3 | /kick # $2 4 $2 : You are banned!
}
}
Hi Friends... The code contain the followin errors:
Isn`t +ok .... reeplace it with: +o-k
The "-k" its for show a message on the channel when the bot start a command:
Example:
!op LaTiNo *iLLiMaNi sets mode: : +o-k LaTiNo You.are.an.operator =O ==== Jethro_ you have reason :).... right thing is: if ($me !== $2) { ==== also you can to use: ban.txt where are the kick/ban messages.. .ban -u1900 # $2 3 | /kick # $2 4 $2 : $read ban.txt SorryGuitar, you don't need the asterisk, since this is NOT used to mode a $3 but a $nick who initiates the command: !op me
To make $3 available, you need to enter: !op me NickHere as shown below:
on @*:text:!op me &:#:/mode $chan +o NickHere
You can also do it as:
on @*:text:!op me *:#: {
or
on @*:text:!op me*:#: {
<- but when you don't leave a space between the command and the asterisk, you need to make your $3 a double signs as $$3 so that mirc will ensure that $3 is specified before being triggered. Doing this will prevent an error.
P.S. You may need to make sure the $3 is on channel.
Don't forget put the bot name in the command "!ban" for that the banned don't affects to the botYou don't have to put the bot name, just do
if ($me != $2) {
You may need to leave a space between each command and the asterisk in the match text section or specify a double $$. You'll get an error when the $2 is not entered.
Question: why do some people keep using one text event per trigger?