Now, I know this command would be very useful to many people so that they don't have to get out of the game every time they want to add or remove money from an account. I think I might have the general idea of a script like this, but I need some help...
Don't flame me if I'm being a complete idiot with this attempt, I just started mIRC scripting two days ago
What I need help with in the code below is two things. I need to know how to make it so that only administrators can use this code, and I need to know how to make it add or subtract cash from the current total of the account in rpg.ini. The two commands would look something like:
!givecash
!remcash
The code below is probably horrible, but this is what I would think the !givecash script should look like (without the coding so that it can only be used by administrators).
on *:SIGNAL:mta.command:{
if ($3 == !givecash) {
!writeini -n rpg.ini **NOT SURE HOW TO ADD MONEY TO THE CURRENT AMOUNT**
}
No disses please