mIRC Home    About    Download    Register    News    Help

Print Thread
Know of a Halloween Script #134390 31/10/05 09:52 PM
Joined: Mar 2004
Posts: 96
G
Gremel Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Mar 2004
Posts: 96
Was jsut curious if anyone here had/knows of a decent halloween script?

Re: Know of a Halloween Script #134391 31/10/05 10:10 PM
Joined: Aug 2005
Posts: 1,052
L
Lpfix5 Offline
Hoopy frood
Offline
Hoopy frood
L
Joined: Aug 2005
Posts: 1,052
heres one

on *:TEXT:*:#:{
if (boo isin $1-) {
quit Ahhhhhhhhhhhhhhhhhhhhhhh theres a ghost around
}
}

jk...

checkout mircscripts i suppose


Code:
if $reality > $fiction { set %sanity Sane }
Else { echo -a *voices* }
Re: Know of a Halloween Script #134392 01/11/05 09:19 AM
Joined: Oct 2005
Posts: 75
C
Confuzzled Offline
Babel fish
Offline
Babel fish
C
Joined: Oct 2005
Posts: 75
you can try that http://www.colorteam.net/colorteam_dl.htm i suppose, not sure if it's outdated but they made pretty colorful stuffs for special occasions

Re: Know of a Halloween Script #134393 01/11/05 02:04 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
Define "a decent Halloween script"... what would you want it to do? Of course, now it's a bit late for Halloween scripts.


Invision Support
#Invision on irc.irchighway.net
Re: Know of a Halloween Script #134394 01/11/05 10:09 PM
Joined: Mar 2004
Posts: 96
G
Gremel Offline OP
Babel fish
OP Offline
Babel fish
G
Joined: Mar 2004
Posts: 96
Well, what I was thinking of doing, though I never got around to it, was make something that would 'post' spooky things every now and then. I was then thinking of doing something that would allow me to switch themes, for example have spooky things happen during halloween, christmasy things during x-mas, random gifts during b-day's, etc.

But kinda got lost in how to do such a thing. frown

Re: Know of a Halloween Script #134395 02/11/05 02:21 PM
Joined: Oct 2004
Posts: 8,327
Riamus2 Offline
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,327
That wouldn't be too difficult to do.

A very simple way would be to have each "theme" as a text file where each line is randomly read. There are more advanced ways, such as using hash tables or adding a dialog to make adding/changing themes easy. Here is an example of the simple way...

Code:
alias StartTheme {
  .timerTheme 0 [color:red]600[/color] msg $1 $read($2 $+ .txt)
}
alias StopTheme {
  .timerTheme off
}

Feel free to change the alias names... I couldn't think of anything good for them. smile

Use:
/StartTheme channel/nick themename
/StopTheme

Example:
/StartTheme #help Thanksgiving

(You type that from the bot itself)

Change the red to set the time between the text... 600 is 10 minutes (600 seconds). For this to work, the "themename" needs to have a text file in the main mirc folder called the same thing with a .txt extension. So, for the example above to work, you need a text file named Thanksgiving.txt with the lines in it.

Just as a note... the way this is set up right now, it will only message one channel or nick at a time.

Again, this is just a really simple example of how to do it.


Invision Support
#Invision on irc.irchighway.net