Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Global Variables
- // Do Not Have a Static Limit
- // Limitted By HDD Space & RAM
- prontera,152,96,8 script Global Set 88,{
- //NPC commands here
- // Perm Global String
- Set $Var1$, "String One";
- // Temp Global String
- Set $@Var2$, "String Two";
- //Perm Global Integer
- Set $Var3, 123;
- //Temp Global Integer
- Set $@Var4, 456;
- mes "Variables Have Been set";
- close;
- }
- prontera,152,94,8 script Global Read 88,{
- //NPC commands here
- mes "$Var1$ - " + $Var1$;
- mes "$@Var2$ - " + $@Var2$;
- mes "$Var3 - " + $Var3;
- mes "$@Var4 - " + $@Var4;
- close;
- }
Add Comment
Please, Sign In to add comment