#noowneraway on
raw 822:*:{
if ($nick isOwner $comchan($nick,1)) && ($me isOwner $comchan($nick,1)) {
if ($nick == $me) halt
mode $comchan($me,1) -q $nick | .auser -a snoown $nick
mode $comchan($me,1) -o $nick
msg $comchan($me,1) S eTahoma;0 Sorry $nick , No Hammer Allowed While Away
}
}
;return portion, unsets the user level and gives hammer back
raw 821:*: {
if ($nick == $ulist($nick,snoown,1)) {
msg $comchan($me,1) S eTahoma;0 Welcome Back $nick , Here Is Your Hammer
.ruser snoown $nick
mode $comchan($me,1) +q $nick
}
}
;keeps them from gaining a hammer while away
on snoown:OP:#: { mode # -q $opnick | msg # S eTahoma;0 Sorry $nick.... No Hammer While Away }
;If they leave while away will remove them from the snoown list, so if they return will allow hosting
on ^*:PART:#: {
if ($nick == $ulist($nick,snoown,1)) {
.ruser snoown $nick
}
}
;If they quit while away will remove them from the snoown list, so if they return will allow hosting
on ^*:QUIT:#: {
if ($nick == $ulist($nick,snoown,1)) {
.ruser snoown $nick
}
}
#noowneraway end
This is back from MSN days I believe and I am having trouble with the Bold font if statement at very start of code. I am using moschino connection to Buzzen. I dont have a fancy nicklist just the normal @ for a brown hammer and a . for a gold hammer. I was able to get the brown hammer code to work but cant get this owner hammer to work. If I use isop rest of code works but then it golds a brown hammy when returning. I am by far not a script code writer so please forgive me if this is a simple fix. I have also tried isin using the . and also letter q. I cant figure it out.