Old problem fixed, new problem has appeared -> I updated the first post with the new problem.
*EDIT*
Seriously guys, I need some help with this.
*Update*
The problem is that if "Iris" is 1 and I type /Close (Same if I would have typed /Dial ******), close Activates, but the Iris ouput goes to zero. Same if "Close" is one and I type either /Iris or /Dial ******Code:@name Dialer @inputs @outputs Dial:string Close Iris @persist runOnChat(1) O=owner() LS=O:lastSaid() if(LS:find("/Dial")) {Dial=LS:sub(7,12)} if(LS:find("/Iris")) {Iris=1} else{Iris=0} if(LS:find("/Close")) {Close=1} else{Close=0} if (Dial:length() < 6) {Dial="" print("Sorry, too short Address")}
Last edited by Phillypos; 04-25-2009 at 03:47 PM.
Old problem fixed, new problem has appeared -> I updated the first post with the new problem.
*EDIT*
Seriously guys, I need some help with this.
Last edited by Phillypos; 04-25-2009 at 04:58 PM.
Didnt think stargate took strings...
I have one wich dials, disables and closes and thats about it. Could probebly be simplified but it works.
hmm, I know its simple but try using elseif?
Try elseif anyway.
Bookmarks