Heilos

Heilos

Joined
May 28, 2005

Activity Stream

Heilos created a Page  -  May 29, 2005
1,333 

This script will kick and ban any user who says a word in the text file swear.txt Just add each word on a new line of the text file and you're all set ^_^

Heilos commented on a Page, Simple !8ball script.  -  May 29, 2005

8ball on

on :TEXT:!8ball :%chan: {
if (%8ballg == on) {
msg $chan $+(,04,8Ball:) $read(future.txt)
}
}

8ball end

Then put all the replies into a file called future.txt. It keeps the script file cleaner and replies dont have to be numbered =)

 Respond  
Heilos commented on a Page, Random colors  -  May 28, 2005

Wouldnt it be easier to use something like:

on :INPUT::{
if ($1 == !off) { %text = off | echo Text formatting is off | halt }
if ($1 == !random) { %text = rand | echo Text color is now random | halt }
if ((%text == rand) && (/ !iswm $1) && (! !iswm $1)) { say $random($1-) | halt }
}
alias random {
var %i = $len($1),%o
while (%i) {
%o = $+(,$gettok(02 03 04 05 06 07 10 12 13 14,$r(1,10),32),$mid($1,%i,1),%o)
dec %i
}
return %o
}

That way the user can edit the colors used by changing:
$gettok(02 03 04 05 06 07 10 12 13 14,$r(1,10),32)

 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.