Everyone who has never used our Bots before, can test each one for 2 days without any limitation.
The trial is given automatically when you login on the Bot, but in some cases it wouldn't work (security reasons).
If this happens, send me a private message and i will be checking the failed trials manually and adding it for those who didn't get it.
We are looking for resellers who may accept payment methods different from ours, including classictibia's cash, realesta's cash, mastercores' cash, etc. Interested? Click here at anytime.



Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Simple Cast spell
#1
Probably a basic one i could figure out eventually but easier to ask. 
Im chasing a simple script to make runes (the server doesnt require blanks in hand to make) 

If mppc >= 95 
then cast 'Adori Gran'
end

The above doesnt work... cant figure out why. 

Thanks
Reply

#2
Hello

mppc is function, not variable.
if mppc() >= 95 then
     cast('adori gran')
end
Reply

#3
22:13:57 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Tongue" title="Tongue" class="smilie smilie_5" />ersistent01: 1: 'then' expected near 'theen'
02:55:41 - LUA command sent.
02:55:41 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString:Console: 1: 'then' expected near 'theen'


???????????

Where can use this script?
Reply

#4
Hello.

There was a small mistake in code, which I just fixed.

Depends on you and how you gonna use it.
If you wanna run from time to time then on Persistents.
Reply

#5
17:01:47 - Core:Lua:ExecuteScript
|Only Registered members can see download links. | Click here to buy subscription or here to register.
|Only Registered members can see download links. | Click here to buy subscription or here to register.alt="Big Grin" title="Big Grin" class="smilie smilie_4" />oString:Runemaker: 2: '<name>' expected near 'if'

doesnt seem to be working

got it
Reply



Forum Jump:



Forum software by © MyBB Theme © iAndrew 2016