Guest User

Untitled

a guest
May 26th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.58 KB | None | 0 0
  1. // Global Variables
  2.  
  3. // Do Not Have a Static Limit
  4. // Limitted By HDD Space & RAM
  5.  
  6. prontera,152,96,8 script Global Set 88,{
  7.  
  8. //NPC commands here
  9.  
  10. // Perm Global String
  11. Set $Var1$, "String One";
  12.  
  13. // Temp Global String
  14. Set $@Var2$, "String Two";
  15.  
  16. //Perm Global Integer
  17. Set $Var3, 123;
  18.  
  19. //Temp Global Integer
  20. Set $@Var4, 456;
  21.  
  22. mes "Variables Have Been set";
  23. close;
  24. }
  25.  
  26. prontera,152,94,8 script Global Read 88,{
  27.  
  28. //NPC commands here
  29.  
  30. mes "$Var1$ - " + $Var1$;
  31. mes "$@Var2$ - " + $@Var2$;
  32. mes "$Var3 - " + $Var3;
  33. mes "$@Var4 - " + $@Var4;
  34.  
  35. close;
  36.  
  37. }
Add Comment
Please, Sign In to add comment