mIRC Home    About    Download    Register    News    Help

Print Thread
Need someone to help me please #252056 18/03/15 01:07 AM
Joined: Mar 2015
Posts: 7
R
revolutecbx Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Mar 2015
Posts: 7
Hi! I was wondering if someone could make me a question of the day script, where if you type !question, it says Question of the day: (Question goes here), and a command to set the question to go along with it, something like !qset (question), only usable by me, thanks in advance!

Re: Need someone to help me please [Re: revolutecbx] #252057 18/03/15 01:26 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Code:
on *:text:!qset &:#: if ($nick == YOURNICK) { set %qotd $2- }
on *:text:!question:#: msg # %qotd


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Need someone to help me please [Re: Nillen] #252058 18/03/15 01:33 AM
Joined: Mar 2015
Posts: 7
R
revolutecbx Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Mar 2015
Posts: 7
Thanks! You're a really cool dude!
One little problem, it appears to only work if the question is one word, do you think you could maybe fix that please? Thanks!

Last edited by revolutecbx; 18/03/15 01:38 AM.
Re: Need someone to help me please [Re: revolutecbx] #252059 18/03/15 01:43 AM
Joined: Dec 2013
Posts: 779
N
Nillen Offline
Hoopy frood
Offline
Hoopy frood
N
Joined: Dec 2013
Posts: 779
Ah, yes.
My bad..

Change the & to a * instead.


Nillens @ irc.twitch.tv
Nillen @ irc.rizon.net
Re: Need someone to help me please [Re: Nillen] #252060 18/03/15 01:44 AM
Joined: Mar 2015
Posts: 7
R
revolutecbx Offline OP
Nutrimatic drinks dispenser
OP Offline
Nutrimatic drinks dispenser
R
Joined: Mar 2015
Posts: 7
Sweet, thanks!