![]() |
Tip Jar Help.
Currently, on Unholy Nation, there is a restaraunt called "The Crab Shack", currently it looks great and has a lot of good qualities. However, the tip jar is broken.
I need a script that would allow money to go into the jar when someone says /tip #. This would be collected in a chest, now I would need to access this money for paying someone /pay account #. Only this /pay commands can only be used for someone wearing the tag (Crab Shack Manager). If anyone is not busy, or is looking for a challenge could you help me out please. |
Quote:
|
I am not a scripter, and currently this is a major part of the restaurant. All of Unholy Nations scripters are currently busy with projects and I need to complete this to implement money back into the economy. I am not saying someone has to do this, just if they have free time it would be a nice gesture.
|
Well.. Here's one piece of the puzzle!
PHP Code:
|
Ya I wish I knew what piece it was tho.
|
Quote:
It's in GS2 so you wouldn't be able to use it in the offline editor anyways. You should really just let the server staff do this since it would be better for them to just make some type of donation chest class and all you would have to do is join it with a level NPC. A system like this would require the use of some type of server. var or a database to store the amounts to prevent the tips from resetting each time the level is reset so you should really leave it to the staff. It's easy to make, it wouldn't take them much time. |
a tips to do offline GS2, GScript2 Syntax Highlighting for Notepad++
|
Actually, I'm going to have Lloyd make one base for all around UN instead.
However, for future reference that script asks if the player actually has the gralats ("rupees") to donate. If they do, it subtracts it from then, and adds it to the tip jar. |
1 Attachment(s)
Quote:
|
Quote:
|
I have gedit for windows installed. Can I get those syntax highlighting files please?
|
I have no idea if that's the only stuff required, but navigate to C:\Documents and Settings\USERNAMEHERE\.gnome2\gtksourceview-1.0\language-specs\. graal.lang looks convincing ;D
|
graal.lang is there, but Graal as a syntax type is not there.
|
Bleh, I tend to just browse over syntax hilighting anywas... I'm so impatient.
|
In my opinion the internal text editor for the remote control should have syntax highlighting because I usually use levels to test my scripts.
|
Quote:
can you use it in the notepad++? |
I am using Windows 7, and I found it.
The reason it was not working for me was because the new gedit uses gtksourceview-2.0, so I copied graal.lang to "C:\Program Files (x86)\gedit\share\gnome2\gtksourceview-2.0\language-specs\" or so :) |
Quote:
|
PHP Code:
Probably shouldn't be used on UN tho, since I am using serverr.vars, ;) |
Quote:
:p |
I think he just made a typo.
|
Quote:
|
that's a major mistake, sry, fixed rofl
|
| All times are GMT +2. The time now is 09:21 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.