Righto, I'll get to the point.
Someone who's not a OP or higher comes into your channel and needs help, no active ops are arround.
The user simply types !assist (or whatever you wish to edit it to) and it will send a notice to all op's and higher telling them they are needed in that particlar channel.
You could additionally add things to this snippet, such as
.oNotice $chan You are needed in $chan $+
.oNotice $chan $nick said the following message: $1-
Idk, whatever floats your boats :)
Not like it's really useful, But it could be useful to some people.
on *:TEXT:!assist:#: { /msg $chan Please wait, Finding an available Op. | /onotice $chan You are needed in $chan $+ . }
a fair bit simpler than my own assistance script http://www.hawkee.com/snippet/4441/
bit the idea is the same and it works. i agree with EL that it needs flood protection and limitation also. otherwise not bad. gets a 3 from me
yeah i would go with what EL told you to do.. maybe somthing like this to get you started
on @*:TEXT:!assist:#: {
if (!$($+(%,assist,$chan,$nick),2)) {
msg $chan Please wait, Finding an available Op.
onotice $chan You are needed in $chan By user $+($nick,$chr(46))
set -u300 $+(%,assist,$chan,$nick) on
}
}
Should checkif the bot or who ever is usin the script is op in the chan - add @ on @*:TEXT:!assist:#: { and add flood protection as well dont need ppl that use yur snippet bein exploited cause you didnt protect them.Also maybe a loggin system if there are no OPS to logg the persons request and then OPs can look at them wen they return and delete them also have to supprt nick,part,quit events.This can be expanded on alot.And its only usefull if it doesnt put the bot in jeopardy and works correctly.`-.-´