mIRC Homepage
Posted By: Xiad Calculator bot\script (!calc 1+5) - 20/06/05 07:01 AM
I've seen a few people with basic calcs.. A user on a chanel will type '!calc 1+5' etc and the bot will process an answer and tell the user.. I've looked for such a script and not had any luck.. anyone know of one or how to make one?
Posted By: xDaeMoN Re: Calculator bot\script (!calc 1+5) - 20/06/05 07:24 AM
Here's a simple one

Code:
on *:TEXT:!calc *:#: msg $chan $nick $+ : The answer is $calc($2-)  
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:18 AM
Now.. I'm well a newb at scripting.. I'm fairly sure that goes in remotes... is there anything else I need to do?
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:19 AM
Thanks for the help BTW ^_^
Posted By: xDaeMoN Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:24 AM
Yes, to the remotes section. smile
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:26 AM
I've made a new .mrc.. then just copy and pasted, saved as calc.mrc and loaded it.. is that all? Because not workin lol
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:34 AM
Tried closing and opening again tooo
Posted By: xDaeMoN Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:50 AM
Are you typing !calc <operation>? Also this is meant to be used on a bot.
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:52 AM
Yea.. and Not on my bot.. So I will try that :P
Posted By: xDaeMoN Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:56 AM
That's why. You didn't specify before & I just assumed that you want it on a bot. wink
Posted By: Xiad Re: Calculator bot\script (!calc 1+5) - 20/06/05 09:59 AM
Working, thanks for the help lol :P
© mIRC Discussion Forums