mIRC Home    About    Download    Register    News    Help

Print Thread
Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
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?

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Here's a simple one

Code:
on *:TEXT:!calc *:#: msg $chan $nick $+ : The answer is $calc($2-)  


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
Now.. I'm well a newb at scripting.. I'm fairly sure that goes in remotes... is there anything else I need to do?

Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
Thanks for the help BTW ^_^

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Yes, to the remotes section. smile


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
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

Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
Tried closing and opening again tooo

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
Are you typing !calc <operation>? Also this is meant to be used on a bot.


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
Yea.. and Not on my bot.. So I will try that :P

Joined: Mar 2005
Posts: 420
X
Fjord artisan
Offline
Fjord artisan
X
Joined: Mar 2005
Posts: 420
That's why. You didn't specify before & I just assumed that you want it on a bot. wink


If you have a plastic floor runner over your tiles, then you're one Hella Pinoy!
Joined: Jun 2005
Posts: 14
X
Xiad Offline OP
Pikka bird
OP Offline
Pikka bird
X
Joined: Jun 2005
Posts: 14
Working, thanks for the help lol :P


Link Copied to Clipboard