Arigateaux

Arigateaux

Joined
Dec 31, 2009

Activity Stream

Arigateaux commented on a Page, $cleanEquation()  -  Jun 05, 2017

So, a problem I see is this:
$cleanEquation(2+16/4%3+2^4) - Output: ((2 + (16 / (4 % 3))) + (2 ^ 4))
This gives two completely different answers. This should probably be fixed.

Note: order of operations dictates that % is on the same level as * and /

 Respond  
Arigateaux created a Page  -  Feb 14, 2017
2 112 

Returns a value in Base-64, since mIRC $base() only goes up to 36.

Arigateaux created a Page  -  Feb 13, 2017
100 

$average(N N N ...).[id]

 Respond   mIRC  
Arigateaux created a Page  -  Feb 09, 2017
77 

From a recommendation by Jamie on LunarIRC.net, I created /hswap. It's a little weird how I have it set up for a part of it, but the rest works like it should. Feedback is encouraged, since I don't know if I want to keep the optional swap info. It basically works one of two ways:

Arigateaux created a Page  -  Feb 09, 2017
53 

Needed a way to move one item over from a different table so I created this. Pretty self-explanatory.

 Respond  
Arigateaux commented on a Page, mIRC Simple Basketball script  -  Apr 19, 2016

This is a pretty good start. There are better ways of doing this without having to resort to copy/pasting the same type of information to add new content. One way I'd recommend is to think about it logically and make things that repeat themselves put on a single line, such as msg $chan $nick. Since these lines all share this trait in common, making it so it only has to use it once will save a lot of space when it's used a bunch of times.

Another thing that you can do is to set the new sentences to a single variable and just return the variable. This will also save space. The best way is to use tokens or a file for something as simple as this. Files can sometimes be a pain in the butt, since you have to edit a separate thing, but in the long run, it's a lot more manageable and makes your code a lot cleaner. If you don't want to attach a file with your script, which many people opt not to do, you could use tokens. Check out the Token Identifiers file in the help.

Arigateaux commented on a Page, Spin the Bottle Script  -  Apr 19, 2016

There's an easier way to achieve this. Since your responses all have the same prefix "has to", you can just toss that into the response itself and create a list of items you want to add using tokens. Then you wouldn't need to keep track of how many tokens you have, since you can just use $numtok(text, C) to get the number of tokens and comparing it to %r. After doing this, you just append the returned token to your response and it makes the script much more usable. You can also use a text file and allow people to add their own responses via a command if you'd like.

 Respond  
Arigateaux commented on a Page, The Guessing Bot! v0.5  -  Apr 19, 2016

It's good to see people still writing scripts and posting them to Hawkee.

Arigateaux commented on a Page, Text Conversions  -  Nov 02, 2014

/bin This is an example returns:
010101000110100001101001011100110010000001101001011100110010000001100001011011100010000001100101011110000110000101101101011100000110110001100101

/bin 010101000110100001101001011100110010000001101001011100110010000001100001011011100010000001100101011110000110000101101101011100000110110001100101 returns:
This is an example

/txt2hex This is an example returns:
5468697320697320616E206578616D706C65

/hex2txt 5468697320697320616E206578616D706C65 returns:
This is an example

I actually am working on an RGB HEX converter like Hawkee mentioned using some of the stuff already available with mIRC.

Arigateaux created a Page  -  Oct 30, 2014
326 

This is just a simple little setup that allows you to do conversions from binary <--> text and hex <--> text.

Arigateaux created a Page  -  Sep 04, 2014
393 

Based on Ayon's script, since it hasn't been worked on in a long time and it's the newest one available. Same commands still apply.

Arigateaux commented on a Page, Help with copy chat bot  -  Sep 01, 2014

A few things to note here:

  • Make sure the nick you're trying to annoy is actually present in the channel.
if ($2 ison $chan)
  • Make sure you have a check for !annoy and !stop being used.
if (%me. $+ $2)
  • On execution, you only need one *****.
on *:text:*:#:{
  • You don't need an else if your check passes.
if (%me. $+ $nick) msg $chan $1-
 Respond  
Arigateaux commented on a Page, Steam Game Information  -  Aug 25, 2014

I've updated the script. Please feel free to play with it and test it for bugs. :)

 Respond  
Arigateaux created a Page  -  Aug 20, 2014
1 998 
Arigateaux commented on a Page, [Help] - with timed token allocation  -  Jun 24, 2014

This isn't the place to ask questions regarding scripting help, however, try using a /timer to globally add points to a user every x seconds.

 Respond  
Arigateaux commented on a Page, TextGangsters  -  Apr 24, 2014

if /jerkupdate needs to be run when it is first installed, just create an

on *:load:

event to do it automatically.

Arigateaux commented on a Page, pokeball script (Basic)  -  Apr 11, 2014

You need to close your script. It won't work as is. You can also use elseif and else instead of halting. I personally think halting looks ugly. Also, you should create a table that keeps track of player usage of the command instead of timing out the command globally.

 Respond  
Arigateaux commented on a Page, $_read Hybrid  -  Apr 06, 2014

If anyone has use for this, post a snippet of its use. :D

 Respond  
Arigateaux commented on a Page, Locate IP with info on Country, City and ISP  -  Mar 12, 2014

The popular $noHTML, as used on zigwap.com

alias noHTML return $regsubex($1, /<[^>]+(?:>|$)|^[^<>]+>/g, $null)
 Respond  
Arigateaux commented on a Page, Diamond of Astriks  -  Mar 02, 2014

It needs a default value.

Arigateaux created a Page  -  Feb 27, 2014
1 195 

This works just like $shufftok(), except it adds a third element to it by request from Vegito on LucidChat.

 Respond   mIRC  
Arigateaux created a Page  -  Feb 27, 2014
112 

Added $shufftok() for use with other token identifiers. It allows you to basically shuffle your tokens around with the character delimiter you choose.

 Respond   mIRC  
Arigateaux created a Page  -  Feb 25, 2014
1 145 

This is a hybrid between $readini(), $read(), and $play(); whereas you can use the same file structure as an INI file without having to define items with variables. It was something that I was working on to use for something I'm working on myself, allowing for easier use.

Arigateaux commented on a Page, !ability  -  Feb 23, 2014

As it has been stated in other scripts, just use a text file and save yourself a bunch of lines. The $read function defaults to a random line, so you'd just need your flood protection plus a single

.msg # $read(file.txt)
Arigateaux commented on a Page, Mass PM/INVITE Snippet  -  Dec 01, 2013

Couple things you can add is making a default channel and a channel list for the same message.

/massPM This is a mass message
This would make it send a message to all the people in the channel you're already in

/massPM #chan1,#chan2,#chan3 This is a mass message
This would make it send a message to all the people in these channels, as long as you're in them.

Arigateaux commented on a Page, Monty Hall Game  -  Nov 01, 2013

You need to get rid of lines 6, 12, and 19 since they're your debug lines. There's also a bug where it will sometimes open a door you pick.

Image
Image

Arigateaux created a Page  -  Oct 31, 2013
1 325 

"A cryptogram is a type of puzzle that consists of a short piece of encrypted text. Generally the cipher used to encrypt the text is simple enough that cryptogram can be solved by hand. Frequently used are substitution ciphers where each letter is replaced by a different letter or number. To solve the puzzle, one must recover the original lettering. Though once used in more serious applications, they..

Arigateaux created a Page  -  Jul 09, 2012
783 

This was requested by iObsession on SwiftIRC.

Arigateaux   -  May 02, 2012

Everything looks good so far. :)

 Respond  
Arigateaux created a Page  -  Apr 26, 2012
398 

Just type /dtime in the command bar and it will change your titlebar to a countdown timer for the release of Diablo 3.

 Respond   mIRC  
Are you sure you want to unfollow this person?
Are you sure you want to delete this?
Click "Unsubscribe" to stop receiving notices pertaining to this post.
Click "Subscribe" to resume notices pertaining to this post.