Why that's actually a very good idea. Thank you.
Updated:
alias characters {
if (!$1) {
echo Not enough parameters.
}
if ($1) && ($2) && ($1 isnum) && ($2 isnum) && ($1 <= $2) {
var %x = $1
while (%x <= $2) {
echo -a Character: $chr(%x) = $+($chr(36),$chr(99),$chr(104),$chr(114),$chr(40),%x,$chr(41))
inc %x
}
}
if ($1) && ($2) && ($1 !isnum) && ($2 !isnum) {
echo -a $1 and $2 aren't numbers.
}
if ($1) && ($1 isnum) && ($2) && ($2 !isnum) {
echo -a $2 isn't a number, but $1 is.
}
if ($1) && ($1 !isnum) && ($2) && ($2 isnum) {
echo -a $1 isn't a number, but $2 is.
}
if ($1) && (!$2) {
echo Not enough parameters.
}
if ($1) && ($2) && ($1 isnum) && ($2 isnum) && ($1 >= $2) {
echo -a Sorry, $2 is smaller than $+($1,.)
}
}
Well I had made this because I had wanted to look at mIRC's ascii table, but didn't want to manually /echo everything, so I made this. I haven't actually got to look at it yet because every time I try, my mIRC freezes. Oh well, probably should've expected that when you're /echoing 9 hundred million characters. If you can actually run this script without mIRC freezing, well, you've got a VERY good computer...
@Jethro: Thanks for your advice, hopefully I'll take it and become better. As you can see, I don't know very much about mSL.
@Dani|11: I don't know/use/understand $regsubex,$regex,$regsub, etc, as I've never used them. Even regexp is a little confusing for me.
@Thir: Why is it showing that? What are you doing exactly? Are you on that channel? And who's are you using? Try Jethro_'s, mine might not work so well.
Well, this was just a little timed ban alias I made. I tried using else's, that didn't work out so well. So I feel amazed I got this alias using only if's. Oh, and just to point this out, I wouldn't add if ($me isop $chan), because, well, you wouldn't be using the alias if you weren't an op, would you? :P I had to snoop around here a bit to figure out how /ban worked, Since previously I had just done..
Type /copyhelp to see the copy script's help If you'd like someone else to use it, have them do /notice YourNick copyhelp True, I probably should've added an elseif to check if $2 == $null, and if $2 == $null msg the nickname to specify a nick but I've had trouble with elseif's before, So I decided not to. (Yes I know there are already a bunch of copy scripts.But they don't exactly work...well.So I..