Recent content by patmo98

  1. P

    Trouble with structures

    Thanks. This was the root of my problems. Thanks for the help. I had found an old example. I'm assuming that it was probably pseudo code because changing struct to record fixed it.
  2. P

    Trouble with structures

    1) I found an example somewhere that implys this code should work. Anyone know what I'm doing wrong? struct MyStruct { int myInt; } void main() { MyClass test; test.myInt = 5; } I'm getting this error "Expected ;, found { (test.ash, line 2)" 2) Is there a way to ask mafia what a...
  3. P

    How do I access Session Results from an ash asript?

    Sorry for the double post. Couldn't the session data be accessible as "string [int] session_results"?
  4. P

    How do I access Session Results from an ash asript?

    I just wanted it so I could double check to see if I really was overkilling each time without more sever hits. Example: int part_count = get_count(); #Using the session result should be pretty safe as long as the user isn't changing things while the script runs. Even then it will just abort...
  5. P

    How do I access Session Results from an ash asript?

    I'm trying to write a script that auto-collects hobo parts. Mafia know when a hobo is overkiled because it can see that a hobo part wad dropped. I can see it appear in the Session Results tab. Is there any way to find out how many mafia thinks I have from inside an ash script?
Top