Type ::pickup 4835 999999999 into chat. Frugooscape is a private RuneScape server, so this is a server command rather than a cheat in any official sense.
Expect it to be patched eventually — private servers tighten these up regularly — and remember that the risk of playing on one falls on your account and your PC, not the server operator.