Hay was wondering if anyone could show/explain how to add a channel halt to a global/local aop.. i know it is probably something simple but it has got me really stumped and i use ini just incase anyone is wondering,
thank's in advance
Entox|cated
A TG007 community discussion started by Entox|cated.
Hay was wondering if anyone could show/explain how to add a channel halt to a global/local aop.. i know it is probably something simple but it has got me really stumped and i use ini just incase anyone is wondering,
thank's in advance
Entox|cated
Hey if you are using the Aop I know , so it already halts channels , when u add a local host in an exact room so it means it will halt all other rooms and just host it in the one u added it and u will see it in the ini file local host nick + gate and room and even welcome msg , same goes for owner ..if its not wat you requested please be more specfic so I or we all can help !!
EDIT:
OR if you mean that you wants to disable all of the code in an exact room you can use this in ur Aop remote code , just change this
on *:JOIN:*:{
if ($gettok($readini(tAop.ini,laop,$address($nick,1)),2,32) isin $chan) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +q $nick
}
elseif ($gettok($readini(tAop.ini,aop,$address($nick,1)),2,32)) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +q $nick
}
if ($gettok($readini(tAop.ini,hlaop,$address($nick,1)),2,32) isin $chan) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +o $nick
}
elseif ($gettok($readini(tAop.ini,haop,$address($nick,1)),2,32)) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +o $nick
}
}
TO This
on *:JOIN:*:{
if ($nick == $me) halt
if (Roomname isin $chan) halt
if ($gettok($readini(tAop.ini,laop,$address($nick,1)),2,32) isin $chan) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +q $nick
}
elseif ($gettok($readini(tAop.ini,aop,$address($nick,1)),2,32)) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +q $nick
}
if ($gettok($readini(tAop.ini,hlaop,$address($nick,1)),2,32) isin $chan) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +o $nick
}
elseif ($gettok($readini(tAop.ini,haop,$address($nick,1)),2,32)) {
sockwrite -tn msn.server. $+ $cid mode $msn.get($cid,fullroom) +o $nick
}
}
Hope that helps you
if that didnt work or you have somthing else
post your code so I 'll see what can I do !!
hmmmmmmmmmmmmmmm
Sign in to reply or start a new topic where your account has permission.