The leave command seems to be growing in popularity with bot owners so i have decided to write this up quick.
Instructions: To trigger the script use 1 of the following triggers !@`. followed by leave for Example !leave (Note: you must be oped in the channel to use this command)
Output is as follows:
[YourbotsNick] has left #Channel (Command used by NullNet from #Channel at 18:11:16)
#######################################
# Leave Script #
# Author: NullNet #
# Website: Http://www.mIRC.ms #
# Notes: To load this script simply #
# paste in to remotes #
#######################################
on $*:text:/^[!@`.]leave/Si:*: {
if ($nick isop $chan) {
/part $chan Command used by $nick from $chan at $time }
}
Yes but alot of bot owners especially on the swiftirc network like having a !leave command on there bots to allow operators of channels using the bot to simple type !leave to make the bot exit the channel.
An example of the reason for use would be if your bot auto rejoined channels it was kicked from it saves chan operators using the bot in their channel then deciding they dont want it anymore or at that particular time then kicking it only having it rejoining their channel then having to kb