i have this !find script and it searches the database and returns the information about it
but it lags up andgets eccess flood when too many people are searching so i would like to only have 1 person to be able to search at any 1 time
hers the search part
on *:TEXT:!find*:#Channel: {
if ($2 == $null) {
notice $nick Syntax: !find Item
notice $nick Example: !find Barry
halt
}
if (%ds.remotesearch == 1) {
set %timersec 0
/dosearch $nick $2-
/close -m $nick
}
}
i was wondering if anyone could tell me how i could make this work
the script
searches through a hash table
gets the results
and sets timers for how it says at the moment
so even if u know how i can make it if a timers active halt and message wait till the current search finishes
but it would be even better
cuz there are alot of timers with this script so i would prefer an alternative way
thanks alot