Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #This code is made with https://www.sololearn.com/
- #This was made by DigitalIsaax
- isOnline = true
- isOffline = false
- userIsAdmin = false
- Minutes = 0
- ID = 9077828729
- #Insert any ID
- puts ("Hello user, take a look... your ID is #{ID}")
- #If you are new you will any ID you want
- IP = 19228843
- #Don't worry, this is random and not actually logging your location and data, because I don't know how to. :) no worries
- userIsAdmin = 90
- #Changing IP will produce an error
- Admin = 6
- Access = 8
- #To be honest, I don't know
- #Changing Access will cause a warning
- puts ("Also, reminding you that the IP variable is fake.\n Just added for detail")
- #P.S if you want to show the IP, you can.
- if userIsAdmin == true
- puts "True"
- # outputs "True"
- end
- if userIsAdmin == false
- puts "False"
- # outputs "False"
- end
- if isOffline == false
- # outputs "false"
- end
- if isOffline == true
- # outputs "true"
- end
- if isOnline == false
- # outputs "false"
- end
- if isOnline == true
- # outputs "true"
- end
- if Access > Admin
- # outputs "false"
- end
- if Admin < Access
- # outputs "false"
- end
- case Admin when 6,5
- Admin + Access
- # outputs "14"
- end
- AdminAccess = false
- #AdminAcces cannot be changed to true.
- if AdminAccess == false
- # outputs "false"
- if AdminAccess == true
- # outputs "error"
- end
- end
- AdminPanel = false
- UserPanel = true
- a = [2,4,6,8,10,12]
- b = [8,16]
- res = a+b
- puts ("Arrays are intact")
- # Arrays are for stuff that i need
- AllAdmins = false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement