Skip to content
MSN

adveritse

A TG007 community discussion started by oosho.

Discussion 8 posts
Page 1 of 1
Open
Topic #6633 · 8 published posts · 796 views

hey guyz,

well i am sorry for my poor english, but i will try to explain as much as i can.

I want the script to advertise a quote in the room on periods that are adjustable.

and it chooses the quotes randomly from a text file that i will put in the mirc directory.

 

I hope you got what i mean

hrm ...

 

alias advertise {

timer 0 60 msg $chan $read(messages.txt)

}

 

menu channel {

Messages:/advertise

}

 

-

 

i think that's right ... but if its not .. someone will come along and fix it ;\

 

it should read a random line from messages.txt every 60 seconds.. so just change the "60" to the time you wish .. and "messages.txt" to the file that you have the info you want read from

Edited May 14, 2006 8:58 AM by fahad_aka_hitman

Ignorance Is Bliss

it says:

 

* Timer 1 activated

 

then after 60 seonds:

 

* /msg: insufficient parameters

 

?? :(

Try msg # instead of msg $chan

$!chr(37) $!+ $right($chan,-1)

nope not workin fusion, it gives the same error

 

sorry Zantetsuken i am a newbie i don't understand where to put that

$!chr(37) $!+ $right($chan,-1)

 

would you type the whole code for me please?

 

use that for $chan

 

 

alias advertise {
timer 0 60 msg $!chr(37) $!+ $right($chan,-1) $read(messages.txt)
}

GREAT,, thanx Zantetsuken it is working properly (Y)(Y)