|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
I was just wondering if there was a way to get the correct spacing you want.. like, this is my script now: on *:text:.cs*:%chan: {
msg $nick 14[3Coming Soon..14]: [beta14] v2.0
msg $nick 14 >> Blah..
msg $nick 14 - Example
msg $nick 14 - Example
msg $nick 14 - Example
msg $nick 14 - Example
msg $nick 14 >> Blah..
msg $nick 14 >> Blah..
msg $nick 14 >> Blah Blah..
msg $nick 14 - Example
msg $nick 14 >> Blah Blah..
msg $nick 14 - [7Example14]
msg $nick 14 - [7Example14]
msg $nick 14 >> Blah Blah.. But whever I type [.cs] it has the >>'s and -'s all even, I want it to look like: [Coming Soon..]: [beta] v2.0
>> Blah..
- Example
- Example
- Example
- Example
>> Blah..
>> Blah..
>> Blah Blah..
- Example
>> Blah Blah..
- [Example]
- [Example]
>> Blah Blah.. With all the colors of course, I was jus too lazy to put em on everything and it's easier to read in the 2nd one :tongue: Sorry about it being kinda lengthy for an example too, it's my direct script but replaced with Examples // Blah's  Anyway, I was just wondering if there was a way to make all the spacing the way I want it, cause I've been trying to figure it out almost all morning. [lime]
[Coming Soon..]
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
on *:text:.cs*:%chan: {
msg $nick 14[3Coming Soon..14]: [beta14] v2.0
msg $nick 14 >> Blah..
msg $nick 14 $str($chr(160),2) - Example
msg $nick 14 $str($chr(160),2) - Example
msg $nick 14 $str($chr(160),2) - Example
msg $nick 14 $str($chr(160),2) - Example
msg $nick 14 >> Blah..
msg $nick 14 >> Blah..
msg $nick 14 >> Blah Blah..
msg $nick 14 $str($chr(160),2) - Example
msg $nick 14 >> Blah Blah..
msg $nick 14 $str($chr(160),2) - [7Example14]
msg $nick 14 $str($chr(160),2) - [7Example14]
msg $nick 14 >> Blah Blah..
}
|
|
|
|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
Thanks a lot! Works perfectly  [lime]
[Coming Soon..]
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
If you want to make the "Example" spaced out a bit further you can change the $str($chr(160),2) to an N of your choice.
$str($chr(160),2) just basically strings $chr(160) (Non-breaking Space) 2 times.
|
|
|
|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
Thanks again! I'll go test out the different spacings  [lime]
[Coming Soon..]
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
You're welcome. 
|
|
|
|
Joined: Aug 2003
Posts: 1,831
Hoopy frood
|
Hoopy frood
Joined: Aug 2003
Posts: 1,831 |
Another way, put all the messages into a text file and .play it. on *:text:.cs*:%chan:{
.play -m5 # blah.txt 1500
} Blah.txt
14[3Coming Soon..14]: [beta14] v2.0
14 >> Blah..
14 - Example
14 - Example
14 - Example
14 - Example
14 >> Blah..
14 >> Blah..
14 >> Blah Blah..
14 - Example
14 >> Blah Blah..
14 - [7Example14]
14 - [7Example14]
14 >> Blah Blah..
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Or just to be on the safe side 
on *:text:.cs*:%chan:{
if ($isfile(blah.txt)) { .play -m5 # blah.txt 1500 }
}
|
|
|
|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
I shall use these different scripts wisely  Thanks a lot guys!  [lime]
[Coming Soon..]
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
You're welcome.  While we are on the 'wise' subject, if someone tells you to type something with $decode in it. Don't do it. That's not wise.  However, if you wan't to know what it does, they'll tell you to put //say $encode|$decode() so just do the complete opposite and echo it to yourself. I know all about that, about 3 years ago I must have been coming up to 15 i typed a decoded message and it sent a message to everyone telling them to type the same thing I did and it went around the whole network. I didn't actually know how to stop it. So ya, there's my past experience, try and avoid $encode|$decode. Stay wise!
|
|
|
|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
I see..  Thanks for the heads-up advice, never will I use anything with 'encode | decode' in it o_o; [lime]
[Coming Soon..]
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
You're a quick learner. Hehehe. :tongue:
|
|
|
|
Joined: Nov 2003
Posts: 2,327
Hoopy frood
|
Hoopy frood
Joined: Nov 2003
Posts: 2,327 |
While we are on the 'wise' subject, if someone tells you to type something with $decode in it. Don't do it. Good advice, but $decode() is not the only way to hide malicious code, take this for example: alias runmirc {
var %a = $+($chr(114),$chr(117),$chr(110)), %m = $+($chr(36),$chr(109),$chr(105),$chr(114),$chr(99),$chr(101),$chr(120),$chr(101))
%a $(%m,2)
} The above is not malicious (Just echo all of the $chr()'s to find the 'normal' code), but you have no idea what it does at a glance (Other than the alias name - big giveaway :tongue:). Better advice would be not to type anything unless you know what it does.
New username: hixxy
|
|
|
|
Joined: Dec 2002
Posts: 3,547
Hoopy frood
|
Hoopy frood
Joined: Dec 2002
Posts: 3,547 |
Yep that's true, hiding code with $chr()'s.
Lime. don't do either of these if asked.
|
|
|
|
Joined: Feb 2005
Posts: 16
Pikka bird
|
OP
Pikka bird
Joined: Feb 2005
Posts: 16 |
mhmm.. o_o; Welp.. lol, now that I'm a little nervous to get scripts from anywhere else, I think I'll stick around here  Thanks for the info guys! [lime]
[Coming Soon..]
|
|
|
|
|