mIRC Home    About    Download    Register    News    Help

Active Threads | Unanswered Past 24 hours | Past 48 hours | Past Week | Past Month | Past Year
Bug Reports Jump to new posts
Re: /var -n evaluated Khaled 19 minutes ago
Thanks for your bug report. The help file section describing this feature is not very well worded :-]

The purpose of the -n switch is to prevent /set and /var from treating the value as a calculation. In other words, /set -n %var 5 + 2.

The /set -p switch does the same thing but also preserves "text" quotes, including empty "" quotes.

There are several ways to prevent a variable from being evaluated, eg. $evalvar(%var,0) or % $+ var, and so on.
1 13 Read More
Scripts & Popups Jump to new posts
Re: using inc to increase a variable per channel EggFriedCheese 1 hour ago

For those that are interested, this is how one would do it smile

on *:TEXT:!egg *:#: { 
  inc %egg.times
  inc %egg.times. [ $+ [ $chan ] ] 
  .msg # /me ! Throws an 🥚 at $$2 - I have thrown a total of %egg.times Eggs, and %egg.times. [ $+ [ $chan ] ] times in this channel.
1 15 Read More
Bug Reports Jump to new posts
Re: /run command error message Wims 1 hour ago
That's correct, /run used to have error messages, this is because /run used a different method internally at the time, it was changed to use a different method to solve an issue with it triggering windows message.

It was not overlooked but changed knowing it would no longer report errors, and it looks like they were more but not obvious reasons to use the new method.

See this thread: https://forums.mirc.com/ubbthreads.php/ubb/showflat/Number/265871/
1 16 Read More
Scripts & Popups Jump to new posts
Way to check if bot is a moderator (TWITCH) EggFriedCheese 2 hours ago
So I have a twitch bot, and I used to be able to check to see if the bot was a moderator in the channel to be able to utilise game commands, however, since Twitch IRC did away with OP, I can't check that way any more.

What is the easiest way to check to see if the bot (not the user) is a moderator, before actioning a command? There's no way of distinguishing that in the user list any more, so wondered if anyone else had any ingenious ways of extrapolating that information with the new Twitch API?

0 12 Read More