Morfin   -  Aug 18, 2014

Hi, we're not great on scripting (yet) and could use some help. We want channel OPs to have sajoin/sapart functionality without giving them netadmin status. We have a BOT which has netadmin status and thought it would be possible to use this to perform joins & parts for channel OPs. I know the script for OPs would be something like this:-

.Force Join / Part
..Join
... #Help { ctcp BOT sajoin $1 #Help }
..Part
... #Help { ctcp BOT sapart $1 #Help }

But we have no idea what script is needed on the BOT. We will be grateful for any help you guys can provide.

Many Thanks
Morf

blackvenomm666  -  Aug 19, 2014

on ^:text::#:{ if ($nick == putnickhere) || ($nick == ) || ($nick ==) <<can add as many as needed {
if ($1 == !sajoin) && ($2) && ($3) {
.sajoin $2 $3
}
}
elseif ($1 == !sapart) && ($2) && ($3) {
.sapart $2 $3
}

so they would do !sajoin nickhere channelhere ex !sajoin morfin #help
and then !sapart nickhere channelhere !sapart morhin #help

Morfin  -  Aug 20, 2014

Thanks blackvenomm666 I think I can work it out from there, you a star thank you :-)

M

Sign in to comment

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.