Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function set_storage_ip(ip, value)
- mountip = ""
- for i in string.gmatch(ip, "%d") do
- mountip = mountip .. i
- end
- setGlobalStorageValue(mountip, value)
- end
- function get_storage_ip(ip)
- mountip = ""
- for i in string.gmatch(ip, "%d") do
- mountip = mountip .. i
- end
- return getGlobalStorageValue(mountip)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement