Hey there! im new, my names sammy and im an artist, i spent weeks looking for a script like this (im no phper!) and its just great! i can tweak it to my liking and im even learning some primitive php along the way! thanks to everyone who made the script and mods! im so excited about my new RPG project!
I was wondering however if there was a mod where i can add shops? i.e - food shop etc etc i cant seem to find one i may be overlooking it!
great work once again! ill be posting progress shots of my site!
if ($userrow["gold"] < 50){ $page .= "Sorry you don't have enough gold to buy this"; } else { $page .= "You bought a potion for 50 gold"; $updatequery = doquery("UPDATE {{table}} SET gold=gold-50 WHERE id='".$userrow["id"]."' LIMIT 1", "users");