So that means no one else can use the stargate? muHAHAHAHA << thats an evil laugh, btw
that also means anything near the gate gets repeatedly fried, right?
Okay forgive me if my code is a bit messy with EXP2. Im new to this, and this is something I just recently wrote up out of boredom for a Stargate RP-Like-Setting.
The point of it is to "spam" a target stargate so that there is always an incomming wormhole like seen in a few episodes of stargate SG-1.
Yeah I guess my code is messy, but thats because of the years of playing GraalOnline with the old GScript. Its what im used to. >.< (Cept to comment then we could use // or /*Code:##Created By JonLeon in ##Another random 2:00AM(EST) Morning. ##Wire SG to Stargate -> Cheveron (my choice) ##Wire Button to a Button (I used a toggled one >=] ) ##Wire from Stargate -> Dial to output Dial on Exp2 ##Enjoy =] @name Gate Dialer @inputs Button SG @outputs Dial @persist C if (Button == 1) {On = 1} if (On == 1 & SG == 0 ) { interval(10) #Initial pause between Addresses C = C+1 #Dials next Chev. if (C == 1) { Dial = 119 } #W if (C == 2) { Dial = 97 } #A if (C == 3) { Dial = 116 } #T if (C == 4) { Dial = 101 } #E if (C == 5) { Dial = 114 } #R if (C == 6) { Dial = 115 } #S if (C == 7) { Dial = 13} #<ENTER>Dont Change if (C == 8) {Dial = 0, C = 0, interval(1000) } #Added an interval at 8 so that it can take a pause #For the wormhole to establish before running #The Circuit Again. } #Here is the alphabet by Letter:Number #These are really lowercase but stargate loves them # A:97 B:98 C:99 D:100 E:101 # F:102 G:103 H:104 I:105 J:106 # K:107 L:108 M:109 N:110 O:111 # P:112 Q:113 R:114 S:115 T:116 # U:117 V:118 W:119 X:120 # Y:121 Z:122 <ENTER>:13
have multi
lines here
*/ )
Any Feedback would be nice. I just thought I would share this.
zearm.bounceme.net
Join in my server some time. =] Teach and possibly be taught.
GCOMBAT08, Stargate, Spacebuild Model Pack, PHX3 SVN. Recommended.
I have given up on stargate. Stupid spammers and stupid ability to randomly lag the place.
zearm.bounceme.net
Join in my server some time. =] Teach and possibly be taught.
GCOMBAT08, Stargate, Spacebuild Model Pack, PHX3 SVN. Recommended.
put the alphabet in the @persist and at the bottom replace the : with = and move it up so people can just write the actual address. And put numbers in it too.
Im not to sure but would this work?
@name Gate Dialer
@inputs Button SG
@outputs Dial
@persist C
if (Button) {On}
if (On & !SG) {
interval(10)
C += 1
if (C == 1) { Dial = toByte("") }
if (C == 2) { Dial = toByte("") }
if (C == 3) { Dial = toByte("") }
if (C == 4) { Dial = toByte("") }
if (C == 5) { Dial = toByte("") }
if (C == 6) { Dial = toByte("") }
if (C == 7) { Dial = 13}
if (C == 8) {Dial = 0, C = 0, interval(1000)}
}
@name
@inputs Stargate:wirelink
@outputs
@persist X Y
@trigger all
runOnChat(1)
chatClk(owner())
interval(10)
if(lastSaid():explode(" "):string(1):upper() == "DIAL" & Y == 1) {
Lastsaid=owner():lastSaid()
S1 = toByte(Lastsaid,6)
S2 = toByte(Lastsaid,7)
S3 = toByte(Lastsaid,8)
S4 = toByte(Lastsaid,9)
S5 = toByte(Lastsaid,10)
S6 = toByte(Lastsaid,11)
if (X <= 7) {X += 1}
}
if (X == 1) {Stargate:setNumber("Dial Address",S1)}
if (X == 2) {Stargate:setNumber("Dial Address",S2)}
if (X == 3) {Stargate:setNumber("Dial Address",S3)}
if (X == 4) {Stargate:setNumber("Dial Address",S4)}
if (X == 5) {Stargate:setNumber("Dial Address",S5)}
if (X == 6) {Stargate:setNumber("Dial Address",S6)}
if (X == 7) {Stargate:setNumber("Dial Address",13)}
if (X == 8) {X = -1 Y = 0}
if (chatClk()) {Y = 1 Stargate:setNumber("Close",0)}
if (Stargate:number("Active") == 1 & owner():lastSaid():upper() == "CLOSE") {Stargate:setNumber("Close",1)}
^my code for chat activated dialing. uses wirelink, and for some reason, if you say somthing after 'Dial ADRESS', it randomly closes.


Instead of apamming it you can just wire disable autoclose to one.
LOL good point there.
sorry for the bump but do you guys know what the bye code is for the numbers for example, my address "GATE01" the 01 needs a byte code.
Bookmarks