Uhu a little snipper for bot(s). If someone wants to add his/her info.
Just type !add and for reading: !info
Have fun!
ON *:TEXT:!add *:#: {
set $+(%,info,$nick) $2-
notice $nick Your profile has been set
}
ON *:TEXT:!info &:#: {
if ($($+(%,info,$2),2)) {
notice $nick Info for $+($2,:) $ifmatch
}
else {
notice $nick $2 does not have a infoprofile.
}
;Here lies the end of the script for now....if you find any bugs are things that can be achieved - mail me rgc@hot.ee =) Have fun
on 1000:TEXT:!addinfo :: {
write info.txt Added by $nick $+ : $2-
msg $chan info: $2- Has Been Added! As info Number $lines(info.txt)
}
on 1000:TEXT:!findinfo :: {
var %find $read(info.txt, nw, $+ $2- $+ )
if (%find == $null) {
msg $chan Sorry I Couldn\'t Find The info You Are Looking For.
}
elseif (%find != $null) {
msg $chan Found Ur Search: info: %find info#: ( $+ $readn $+ / $+ $lines(info.txt) $+ )
}
}
aah use this one