Advertisement
dani72092

Verify Variables Script

Feb 19th, 2021
129
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. (0:31) When someone says {!verify},
  2. (5:350) set variable %pos to the X,Y position the triggering player (moved from/is standing at).
  3. (5:381) set variable %item to the object type at (%pos).
  4. (5:380) set variable %floor to the floor type at (%pos).
  5. (5:330) set variable %effect to the effect value at (%pos).
  6. (5:331) set variable %light to the lighting type at (%pos).
  7. (5:332) set variable %ambience to the ambience type at (%pos).
  8. (5:320) set variable %reg to the region number (%pos) is part of.
  9. (5:350) set variable %posWall to the X,Y position the triggering player (moved from/is standing at).
  10. (5:314) set variable %said to the number the triggering player just said or emoted.
  11. (5:250) set message ~cmd to {<[CMD]>}.
  12.  
  13. (0:31) When someone says {!verify},
  14. (1:14) and the triggering player is facing southeast (down and right),
  15. (5:353) move the position in variable %posWall southeast (down and right) 1 step(s).
  16. (0:31) When someone says {!verify},
  17. (1:15) and the triggering player is facing southwest (down and left),
  18. (5:354) move the position in variable %posWall southwest (down and left) 1 step(s).
  19. (0:31) When someone says {!verify},
  20. (1:116) and the triggering player is not facing northwest (up and left),
  21. (1:114) and the triggering player is not facing southeast (down and right),
  22. (5:302) take variable %posWall.x and add 1 to it.
  23.  
  24. (0:31) When someone says {!verify},
  25. (5:382) set variable %wshape to the wall shape at (%posWall).
  26. (5:383) set variable %wtext to the wall texture at (%posWall).
  27.  
  28. (0:31) When someone says {!verify},
  29. (5:200) emit message {Current Position: %pos.x, %pos.y Region: %reg } to the triggering player.
  30. (5:200) emit message {Item: %item Floor: %floor Effect: %effect Ambience: %ambience Light: %light} to the triggering player.
  31. (5:200) emit message {Wall Position: %posWall.x, %posWall.y Shape: %wshape Texture: %wtext} to the triggering player.
  32.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement