Power Script

By Cazz
Published  Dec 25, 2007
0  0


This allows you to type /power and it will message the channel about how much power you have over users.


805 B
Dec 25, 2007


Sort by 
 2.0 stars
This script will show your "power" on all your networks.
It works as intended, but I found several scripting flaws.
You aren't using a while loop, you're using goto's instead.
You use "/set" when "/var" would work just as fine. And it doesn't unset the global variables. Then you should use $comchan($me,0) instead of $chan(0), as $chan(0) will include channel windows that are open even if you are not on them. Then when the script is done collecting information, it messages the channel with this information. It doesn't work in queries and it doesn't check if active is a channel or not..

This script needs plenty of work, could be posted as a simple snippet as well. Good luck in the future though!
0 comment(s)    Posted Dec 25, 2007 by Lindrian


Sign in to comment.
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.