# Rolo

Joined
Nov 26, 2009
Occupation
Freelance programmer
Interests
Software, Open Source, Programming, Scripting, IRC

# Activity Stream

Rolo created a Page  -  Dec 14, 2009

This is ideally for a help channel on UnrealIRCd/(Anope|Atheme) networks. Load it into a bot, load the commented snippet into your client.

Respond   mIRC
Rolo commented on a Page, Scripting Identifiers  -  Dec 06, 2009

Rolo commented on a Page, Color Spammer  -  Dec 05, 2009

@Ghost-writer
Seems pretty fail to me. Mine is faster, and it actually works.

Rolo created a Page  -  Dec 05, 2009

An alias I made in the space of 40-ish seconds from the brief need to spam a channel. It will repeat a phrase (whatever \$1- is) in sequence of mIRC colors from dark blue to light gray (2-15).

Rolo commented on a Page, Temperature Converter  -  Nov 29, 2009

@^Neptune
It's a function prototype, telling the compiler Temperatures() is defined after its first usage (which is in main)

Rolo commented on a Page, Temperature Converter  -  Nov 28, 2009

Nah, you're right (outside the limitations of the exercise)
I would either use #define's or your example. Macros are win.

Rolo commented on a Page, Temperature Converter  -  Nov 28, 2009

Probably should've commented with this when I posted the snippet, here's the guidelines for the programming exercise:

8)
Write a program that requests the user to enter a Fahrenheit temperature. The program should read the temperature as a type double number and pass it as an argument to a user-supplied function called Temperatures(). This function should calculate the Celsius equivalent and the Kelvin equivalent and display all three temperatures with a precision of two places to the right of the decimal. It should identify each value with the temperature scale it represents. Here is the formula for converting Fahrenheit to Celsius:

Celsius = 1.8 * Fahrenheit + 32.0

The Kelvin scale, commonly used in science, is a scale in which 0 represents absolute zero, the lower limit to possible temperatures. Here is the formula for converting Celsius to Kelvin:

Kelvin = Celsius + 273.16

The Temperatures() function should use const to create symbolic representations of the three constants that appear in the conversions. The main() function should use a loop to allow the user to enter temperatures repeatedly, stopping when a q or other nonnumeric value is entered.

Rolo commented on a Page, Scripting Identifiers  -  Nov 27, 2009

@Master-Of-Death
I don't see how either of your examples would make \$rnick better.

@gooshie
Thanks for pointing that out, I'll change it.

Rolo commented on a Page, Scripting Identifiers  -  Nov 27, 2009

Just tested, my \$rnick doesn't clash with the undocumented \$rnick function, as mine doesn't take parameters. Why'd you bring the undocumented \$rnick up if they don't clash?

(By undocumented I mean not in the help file)

Rolo commented on a Page, Scripting Identifiers  -  Nov 27, 2009

/help \$rnick
Doesn't exist in the help file, and if it doesn't exist in the help file, why would I take it into account in practical scripting?

Rolo commented on a Page, Scripting Identifiers  -  Nov 27, 2009

I see, you think \$rnick is for regular users. It's short for "Random Nickname".

Rolo commented on a Page, Temperature Converter  -  Nov 26, 2009

When you're right, you're right :(

Rolo   -  Nov 26, 2009

I'm on ur hawkee, reading ur commentz.

Rolo liked a Page, Color Changer  -  Nov 26, 2009
Rolo liked a Page, Altered Amsg/Ame  -  Nov 26, 2009
Rolo liked a Page, Unban script for a bot  -  Nov 26, 2009
Rolo liked a Page, Multi-Network Channel Linker Bot  -  Nov 26, 2009
Rolo liked a Page, Welcome Script  -  Nov 26, 2009
Rolo liked a Page, Help Channel Relay Script  -  Nov 26, 2009
Rolo liked a Page, PM Redirector/Blocker  -  Nov 26, 2009
Rolo liked a Page, Auto identify Multi-network  -  Nov 26, 2009
Rolo liked a Page, Nicklist Popups  -  Nov 26, 2009
Rolo liked a Page, Nick Alert  -  Nov 26, 2009
Rolo commented on a Page, Unset and Replace Something (Variables)  -  Nov 26, 2009

.... wait wut

Rolo created a Page  -  Nov 26, 2009

This is my solution to Chapter 5 exercise 8 of "C Primer Plus: 5th Edition" Aside from that, it's a handy program to have around, as temperature conversions always annoy me for some reason.

Rolo created a Page  -  Nov 26, 2009

This is an easy way to get information on a command on the EFNet network. It uses EFnet's server-side command /help and parses the feedback using raws. This is ideally for a bot, but can also be loaded by a non-bot client.

Respond   mIRC
Rolo created a Page  -  Nov 26, 2009

Some identifiers to make scripting a bit easier.

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.