RMRK is retiring.
Registration is disabled. The site will remain online, but eventually become a read-only archive. More information.

RMRK.net has nothing to do with Blockchains, Cryptocurrency or NFTs. We have been around since the early 2000s, but there is a new group using the RMRK name that deals with those things. We have nothing to do with them.
NFTs are a scam, and if somebody is trying to persuade you to buy or invest in crypto/blockchain/NFT content, please turn them down and save your money. See this video for more information.
need correct syntax for script

0 Members and 1 Guest are viewing this topic.

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
I need the correct syntax for a ruby script. i need the correct syntax for:

Code: [Select]
if event [map_id:1][event_id:4] touches event [map_id:1][event_id:5]: change value of variable[id:7] -=5

or something like that, basicly, i need a script that makes it so: when a spesific event touches a differant spesific event, a spesific variable changes value (-5). but i dont know the correct ruby syntax for all of that. can someone give my the syntax, or just the script?

just so everyone knows, im 15 years old.

****
Banned
Rep:
Level 88
I'm basically Yoda's brother
does anyone know how to do this?

just so everyone knows, im 15 years old.

pokeball WcWOfflineMale
***
Rep:
Level 87
2 + 2 is a math problem, NOT 4.
You need to go fool around with it, or go to scripts to do this. K?
If you are reading this, the government of the U.S.A. is currently planting a chip in your brain.
People like decreasing my Rep. In fact, people like decreasing most others people's rep.