@Stewie1k94
@Jethro
while $calc($2 $3 $4)
works fine
idont have to change it :P
but if ppl want to use them they can simply change it
@Stewie1k94
becauz i think if i use $calc($2-)
this maybe not work :P
if ($2 isnum) && ($4 isnum) && ($3 == +) || ($3 == -) || ($3 == *) || ($3 == /)
@Sorasyn I noticed your if statements are empty.
its empty becauz if someone join the channel ( your channel )
it will not send $chan : $nick has joined $chan
but in other channels it will send to your channel that that person just join with the name of the channel he join
and like i said
its a simple and short
and also easy so other ppl can learn some things from it :)
updated :
you can use [ !calc on ] and [ !calc off ]
and you can use it on private msg to
@Sorasyn I wouldn't have bothered sharing 4 lines of code
its 16 line
@sunslayer There should be some sort of validation on $3 making sure its an operator
what do you mean ?!
@Sorasyn
P.S. You're sporting an opening bracket on line 4, rather than a closing bracket.
updated
@MoshMage and @blackvenomm666 ... there are many servers don't have memoserv and the most famous irc server dont have memoserv :P