GlobalAnomaly commented on a Page, Admin script  -  Aug 20, 2009

This is almost so horribly written that i want to comment back with a better..working version of it. Matter of fact i might edit this comment later...

-edit-

Oh nevermind. Too horribly written. I did get this before I got bored though...

;Most of this is pointless, I just feel like being a dick and besting a newb.
;Aliases
alias admin {
 auser $1 500
}
alias n {
 .notice $strip($1) $2-
}
alias m {
 msg $strip($1) $2-
}
;The works
on *:load: {
 if (!%AC) { set %AC $$?="What is the channel you want to run this in?" }
 if (!%BAdmin) { set %BAdmin $$?="What's your nick?" }
 echo -s You have to set this one little step up..
 Type /admin [Admin nick Here]
}
on 500:join:%AC: {
 if ($nick == %BAdmin) { n $nick Welcome, owner. You can view commands with .Commands (will PRIVMSG you with the list). | halt }
}
 Respond  
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.