this one is a different take on a onotice via a non op command to a bot.
this was written for rooms where often you want to contact an op quietly for help or if it is a busy busy room using a method which all ops can see.
this loads into a new remote on a bot. please make sure the bot has at least AOP mode in room (+o) for this to work
the script is very very simple. it is set in motion via the trigger !assist followed by message. for example !assist i am being harrassed.
what will happen now is the bot will onotice all ops that the nick requires help.
BUT,,,,,,, if you look carefully... you will see in this case there is a second channel that this relays too in normal chat version. with my rooms i like to have a second room set to mode +s of course (secret) for my team of ops to sit in where we can talk about room issues without being seen as it happens real time) the relay will post the help call in normal chat in this room. it is done that way as the ops room is usually non active talking bar op to op chat.
that way any help will be seen and not lost in all the clutter of channel chat.
as per usual.. replace #channel with your channel name
and replace #channel2 with the second channel the bot is to relay too.
another unique script which is tested and fully working on mIRC
edited and upgraded now to include a 60 second anti-flood on each user attempting to access the command. a user can only access the command once, after which he/she has to wait 60 secs before it resets so they can use it again.
on *:TEXT:!assist *:*: {
if ( %test. [ $+ [ $nick ] ] == $null ) {
set %test. [ $+ [ $nick ] ] 1
.onotice #channel $nick : $2-
.msg #channel2 $nick : $2-
.timer 1 60 unset %test. [ $+ [ $nick ] ]
}
}
on *:NOTICE:!assist *:*: {
if ( %test. [ $+ [ $nick ] ] == $null ) {
set %test. [ $+ [ $nick ] ] 1
.onotice #channel $nick : $2-
.msg #channel2 $nick : $2-
.timer 1 60 unset %test. [ $+ [ $nick ] ]
}
}
lol aye i don\'t actually code fer mIRC in fact i don\'t even like it XD i\'m anti-windoze thus anti-mIRC h/e i do know how to fully script for this client. but i like to see people learning more about programming and script for mIRC is just as good a place to start as any so.. again gj Cheiron if ya ever have any questions i\'ll do my best help :P dun be afraid to ask mate! cheers
most likely yes, korvin. i am still at a foundation level of scripting though so my scripts will be simple from you more experienced types\' level of experience and understanding. still.. it gets the job done and more importantly... they all work. which is more than can be said for some script posters on this site posting incomplete or non working snippets. at least i have got that part rigth from word go lol..
right.. edited now to include a 60 second stop timer on each user attempting to access the command more than once. after each !assist (message) the script will stop it being activated again by that user for 60 secs.. they can type !assist (message) to their hearts content but nothing will happen untill after the 60 secs has elapsed.
Indeed mentalglitch flood pros would have to be used in this case and even NOT using the onotice an simply mass noting all ops this way you can add a method of NONHELPING ops that can just tell the bot that they are not helping atm or are away/brb/afk etc this way they dont get the message and maybe have the commands in PM so they dont flood the room with commands etc.Interesting concept tho Cherion and can be made better if you wanted jsut a few suggestions.`-.-´