Code: Select all
bind pub m|m vhost /ns set $2 $3- | /notice $nick vhost of $2 changed to $3-
bind pub m|m fjoin { if ( [ $chan isin %m.rooms ] ) && ( [ $3 isin %m.rooms ] ) { /sajoin $2 $3 | /notice $nick $2 forced to join $3 }
elseif ( [ $chan !isin %m.rooms ] ) { /halt }
elseif ( [ $3 !isin %m.rooms ] ) { /notice $nick sorry but due to abuse only main channels can be forced to }
bind pub m|m !move { if ( [ $chan isin %m.rooms ] ) && ( [ $3 isin %m.rooms ] ) && ( [ $chan != #admins ] ) { /sajoin $2 $3 | /timer 1 5 /sapart $2 $chan | /notice $nick $2 forced to $3 $+ , $2 will be parted from here in 5 seconds }
elseif ( [ $chan !isin %m.rooms ] ) { /halt }
elseif ( [ $3 !isin %m.rooms ] ) { /notice $nick sorry but due to abuse only main channels can be forced to }
#main rooms set in variable %m.rooms