mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Dec 2002
Posts: 2
K
kpg Offline OP
Bowl of petunias
OP Offline
Bowl of petunias
K
Joined: Dec 2002
Posts: 2
hello.

I searched the forums and couldn't find this so I wan't to ask how do you make a quote system with an addquote funciton that allows other members to type "!addquote-text" to add a quote?

thank you

edit:Oops! wrong forum. Sorry.

Last edited by kpg; 22/12/02 07:42 PM.

Joined: Dec 2002
Posts: 144
D
Vogon poet
Offline
Vogon poet
D
Joined: Dec 2002
Posts: 144
Try something along the lines of ...

Code:
On *:TEXT:!addquote*:*:{
  if ($2-) { 
    .write quotes.txt $2- 
    .notice $nick Quote ( $+ $2- $+ ) has been added.
  }
}
On *:TEXT:!quote:*: .msg $target Quote: $read(quotes.txt)



"Any sufficiently advanced technology is indistinguishable from magic." - Arthur C. Clarke

Link Copied to Clipboard