I need the correct syntax for a ruby script. i need the correct syntax for:
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?