No that is the easy way. useing 1 300 and 400 just makes the script check the users list to see if the person has the level of 1 300 or 400. which is so much easier then making variables because with variables you would have to make a new one each time someone advertises. Which would need a bunch of cross reference checks.
it could use work but this was posted last year so idk it might have been posted many more times with more improvments
i would say that you need to remove the user when they leave the channel
you might want to make it a trigger script for bots as well
on *:text:!spy*:#: {
/spy $1 $2
}
on *:text:!unspy*:#: {
/unspy
}
maybe make a yes no dialog to ask you if you want to set mode to +p
Instant message me snape about the dialog i know of a program that helps make dialogs ok i think i have givben all i can give i dont know if i even helped any i'm just a simple mIRC scripter and am just now getting back into IRC and mIRC
alias spy {
if (%spychat == $null) {
join $1
join $2
set %spychan $1
set %spyreport $2
enable #spybot
echo SpyBot can only work in one channel at a time.
mode $me +p
}
so when it does activate it makes itself +p
alias unspy {
echo No longer spying on %spychan
mode $me -p
unset %spychan
unset %spyreport
disable #spybot
}
maybe add a CTCP section so it replies to a certain ctcp if it is in remote mode
maybe something like
ctcp *:status:?:{
ctcpreply $nick I am currently spying on %spychan and reporting to %spyreport
}
the above might be useless but i[m known tfor making useless stuff
i was going to Reply to this with a theory but my theory was flawed..
i thought if you used a @window you could have it report to the window but i thought if you were using it as a remotely hidden bot then you really wouldn't be able to see it but there might be a way to relay everything through dcc if you wanted to. Alot like manicks php bot using the monitor #channel command in DCC
yea i know it was my FIRST and i do mean FIRST dialog script i was just doing it for kicks and decided to post it here
i actually don't use this script anymore... it got in the way... but i thought it interesting enough to post... i am still new at scripting and some of the stuff i don't know how to do still.. anyways thank you for the comments
dialog Query {
title \"Query\"
size 300 300 170 40
option dbu
text \"Accept Query?\", 987, 1 1 100 6, right
button \"Yes\", 5, 2 17 50 11, ok,
button \"No\", 10, 59 17 50 11, cancel
button \"View\", 11, 117 17 50 11, default
}
i had problems clicking the button to close the dialog so replace it with this
i edited the menu alittle bit and added a nicklist here i\'ll post it for you
menu Menubar,Channel {
-=Mimic Nick=-
.$iif(%n == On,$style(1)) [On] :set %nk $$?\"Enter Mimic Nick\" | set %n On | echo -a 8Your Mimic Nick is On and The Nick is %nk
.$iif(%n == Off,$style(1)) [Off] :unset %nk | set %n Off | echo -a 8Your Mimic Nick is Now Off
}
menu Nicklist {
-=Mimic Nick=-
.$iif(%n == On,$style(1)) [On] :set %nk $$1 | set %n On | echo -a 8Your Mimic Nick is On and The Nick is %nk
.$iif(%n == Off,$style(1)) [Off] :unset %nk | set %n Off | echo -a 8Your Mimic Nick is Now Off
}
yea i know it got bad after i while in one channel i was in. they started blaming the person with the autovoicer. i just wrote it and thought i\'d post it here for some people that like to annoy people.
it\'s one of my newer scripts but have a look at my Deop Dialog it\'s probably my best script yet
Have you ever been in a room and someone deoped you??? and you where just to lazy to type /cs op #channel . Well this script will probably be your companion especially if you are so lazy that you type /hop just to get your op back.... ok sorry .... ok how it works: When you get DEOPed in a room a dialog pops up on top of all windows and in the taskbar and tells you "You have been DEOPed in a room do..