mIRC Home    About    Download    Register    News    Help

Print Thread
#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?

Joined: Aug 2005
Posts: 1,052
L
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* }
Joined: Oct 2005
Posts: 75
C
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

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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
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

Joined: Oct 2004
Posts: 8,330
Hoopy frood
Offline
Hoopy frood
Joined: Oct 2004
Posts: 8,330
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

Link Copied to Clipboard