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
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