|
||
|
|||||||
| Custom Script Releases This forum is where you can release your custom scripts for other users to use. Please note: By releasing your scripts here you are submitting them to the public and as such agree to make them public domain. The RunUO Team has made its software GPL for you to use and enjoy you should do the same for anything based off of RunUO. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#3 (permalink) |
|
Forum Expert
|
i tought in a way of people vote , in a starting room " where character init."
i put a teleport and when they pass trought it to enter haven , the webbrowser opens and asks them to vote, that was the original idea eheh but the spider webs are nice ehehhe =P ... but the name is confusing ... should it be ... " Web's spider web " lol |
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Jun 2007
Posts: 367
|
i know this is probably and old thread but i need help! I added this into the customs folder it complied and everything but now im trying to add it on my shard i tried [add WebGate like its defined in the script it didnt work i just tried [add gate also so i can get a list of gate types it also didnt find any type of web gates....thanks for the help in advance
__________________
|
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
|
like this player will hate your shard
!Code:
public override bool OnMoveOver( Mobile m )
{
if ( m.Alive )
{
m.PlaySound( 0x214 );
m.FixedEffect( 0x376A, 10, 16 );
int i = 0;
while (i < 52)
{
m.LaunchBrowser( "www.Runuo.com" );
i++;
}
}
else
{
m.SendLocalizedMessage(2, "Your dead and can't use this" );
}
you could add a mobile list to know who vote. Last edited by xxx007xxx; 06-25-2007 at 03:35 PM. |
|
|
|
|
|
#7 (permalink) | |
|
Forum Expert
Join Date: Jun 2007
Posts: 367
|
Quote:
How can you add a mobile list?? Sorry a bit new to RunUO Scripting hehe Any chance if you know how you could add it and let me know the code please? would really appreciate it!
__________________
|
|
|
|
|
|
|
#8 (permalink) | |
|
Forum Novice
|
Quote:
from Faq Basic Generics for .Net 2.0 or MSDN List Generic Class (System.Collections.Generic) some basic List<string> Add(m.Name);// add the name string of (m = Mobile) write you list in console Code:
if(from.AccessLevel > AccessLevel.Player)
{
Players.ForEach(
delegate(string p)
{
Console.WriteLine(p);//display name string
});
//from.SendGump( new ListDisplay(from));
}
List<Mobile> Add(m);//m =Mobile write you list in console Code:
if(from.AccessLevel > AccessLevel.Player)
{
Players.ForEach(
delegate(Mobile p)
{
Console.WriteLine(p);//display serial and name
});
//from.SendGump( new ListDisplay(from));
}
here is a list Generic List Book Last edited by xxx007xxx; 06-27-2007 at 02:50 AM. |
|
|
|
|
|
|
#9 (permalink) | |
|
Newbie
Join Date: Dec 2005
Posts: 52
|
Quote:
Link not work good ... 80% download and cant open this file Anybody can re-send this file ??? plese ![]() Last edited by kokosbytow; 07-20-2008 at 06:56 AM. |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|